Package: udev
Version: 0.105-2

I have a built-in motherboard network card and since udev 0.105-2 it gets 
renamed
after each boot (eth0, eth1, etc.). Unfortunately the kernel isn't able to find 
a
proper MAC address at start-up so that it switches to a random one:

$ dmesg
[...]
0000:00:05.0: Invalid Mac address detected: ff:ff:ff:ff:ff:ff
Please complain to your hardware vendor. Switching to a random MAC.
eth0: forcedeth.c: subsystem: 01462:0300 bound to 0000:00:05.0
[...]

I understood that udev rules try to find a previous ethernet card number in
'/etc/udev/rules.d/z25_persistent-net.rules' at each boot based on MAC address.
I think it should also be based on the card physical position since the card may
have been replaced or, in my case, may have a different MAC address. This seems
to me possible since the udev script also reports the physical position:

$ less /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.
# MAC addresses must be written in lowercase.

# PCI device 0x10de:0x00df (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:dc:d2:d4", 
NAME="eth0"

Regards,

JM. Philippe




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to