Re: Two identical usb networking cards problem
On Sat, 2007-03-03 at 14:54 +0100, Franck Joncourt wrote:
> On Sat, Mar 03, 2007 at 02:19:20PM +0100, David Fokkema wrote:
> > Hi group,
>
> Hi,
>
<snip>
>
> Take a look here :
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403706
Thanks! That was insightful.
> The following commands are your friends :
> # ip link
> or
> # ifconfig -a
I fail to see what the former can tell me other than what netstat -ie
can, for example...
> If you can see an interface names as ethX_rename or something like that,
> it means udev mess it up. You can fix it, by writing udev rules. This is
> the way I do to ensure my interfaces get the right name.
Nope, everythings ok there.
> By the way, you can see the name supply by udev :
>
> <<<<<<<<<<<
> sid:/var/lib# cat /etc/udev/rules.d/z25_persistent-net.rules
> # This file was automatically generated by the /lib/udev/write_net_rules
> # program, probably run by the persistent-net-generator.rules rules
> # file.
> #
> # You can modify it, as long as you keep each rule on a single line.
>
> # Firewire device 0011d80000b05f6c (ohci1394)
> SUBSYSTEM=="net", DRIVERS=="?*",
> ATTRS{address}=="00:11:d8:00:00:b0:5f:6c", NAME="eth0"
>
> # PCI device 0x10de:0x0373 (forcedeth)
> #SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:17:31:a4:0b:4e",
> NAME="eth1"
>
> # PCI device 0x10de:0x0373 (forcedeth)
> #SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:17:31:a3:ff:31",
> NAME="eth2"
>
> # PCI device 0x1113:0x1211 (8139too)
> #SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:10:b5:e1:5c:e5",
> NAME="eth3"
>
> # PCI device 0x10ec:0x8139 (8139too)
> #SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:08:a1:96:82:35",
> NAME="eth4"
> <<<<<<<<<
Yes, I have a similar file.
>
> Hope it helps.
>
It does, thank you. I will add 'auto' lines next to the 'allow-hotplug'
lines in my config.
Still leaves me with one question: how do I figure out which
daemon/script brings up my interfaces at what time?
Thanks,
David
Reply to: