Friday, February 20, 2009

Suse10: eth0 renamed to eth1

uname -a: Linux sles10 2.6.16.21-0.8-default

I got this message: eth0 renamed to eth1

You can see the offending material in
/etc/udev/rules.d/30-net_persistent_name.rules:

SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="08:00:27:b8:c1:da", IMPORT="/lib/udev/rename_netiface %k eth0"
SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="08:00:27:06:67:20", IMPORT="/lib/udev/rename_netiface %k eth1"

Even though, there was only one card attached, I tried to remove the first line eth0 and rename the second interface eth1 to eth0, but no luck.

The dirty solution was to remove both lines and reboot, which resolved the issue.

No comments: