[plug] no eth0, but drivers load...

Adam Davin byteme-its at westnet.com.au
Wed Dec 17 18:49:13 WST 2008


On Wed, 17 Dec 2008 11:51:15 +0900
Lucas van Staden <lvs at dedmeet.com> wrote:

> Thank you to all for the help.
> 
> I grepped the files in /etc/udev for 'eth0',
> and found the file in question to be rules.d/z25_persistent-net.rules
> 
> it has the contents of :
> 
> # PCI device 0x14e4:0x167d (tg3)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:10:c6:dc:ca:24", 
> NAME="eth0"
> 
> # PCI device 0x8086:0x1229 (e100)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:d0:59:c5:0e:65", 
> NAME="eth1"
> 
> # PCI device 0x8086:0x1229 (e100)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:d0:59:7f:8f:d2", 
> NAME="eth2"
> 
> So I adjusted the file accordingly.
> 
>  From other posts I tried:
> 
> $ sudo udevadm --trigger
> $ sudo: udevadm: command not found
> 
> so, udevadm must either not be part of Debian, or I require another 
> package installed,
> so I went with /etc/init.d/udev restart
> 
> udev reports it restarted, but I stayed on eth2.
> 
> So a reboot....
> 
> and back onto eth0 now :)

Because the driver has already associated with the card, maybe a:

$ rmmod <module_name>

followed by:

/etc/init.d/udev restart

followed by, (if required) 

modprobe <module_name> 

if it is not automatically loaded  by udev..

only guessing though... I might try this on my next machine rebuild

Regards

-- 

Adam Davin
Byteme IT Services
Mob: 0422 893 898
Fax: 08 9493 4462
Email: byteme-its at westnet.com.au



More information about the plug mailing list