Re: Determining eth -> driver mapping

2003-09-29 Thread Sebastian Kapfer
On Sat, 27 Sep 2003 00:10:08 +0200, michf wrote: > I would rather try to detect which interface is mapped to the driver > instead of assuming the active one is always on eth0. Is there a way to > do that? Have a look the nameif utility. It assigns names by MAC addresses, i.e. it can recognize whi

Re: Determining eth -> driver mapping

2003-09-29 Thread Stephen Patterson
On Sun, 28 Sep 2003 02:20:08 +0200, Micha Feigin wrote: >> alias eth0 8139too >> alias eth1 3c509 >> > > My main question about this, in the case where 8139too is not load and > then I try to access eth1, this will load the 3c509 module, but will > that bring up eth1 with no eth0 due to the alias

Re: Determining eth -> driver mapping

2003-09-27 Thread Micha Feigin
On Sat, 2003-09-27 at 12:47, Stephen Patterson wrote: > On Sat, 27 Sep 2003 00:10:08 +0200, [EMAIL PROTECTED] wrote: > > I would rather try to detect which interface is mapped to the driver > > instead of assuming the active one is always on eth0. > > Is there a way to do that? > > AFAIK there isn

Re: Determining eth -> driver mapping

2003-09-27 Thread Stephen Patterson
On Sat, 27 Sep 2003 00:10:08 +0200, [EMAIL PROTECTED] wrote: > I would rather try to detect which interface is mapped to the driver > instead of assuming the active one is always on eth0. > Is there a way to do that? AFAIK there isn't a way to tell that, but if your network drivers are all modules

Determining eth -> driver mapping

2003-09-26 Thread michf
How can I tell which eth is mapped to which driver? I have several ethernet ports which are not all always present. I have an rtl 8139 onboard, an usb rtl 8150 and cable usb CDCEther. I only use one at any given time and I tried to unload the onboard card when I want to use the other ones to simpl