On 15.08.2013 08:11, Ben Greear wrote: > I'm having all sorts of trouble trying to get udev to rename > my interfaces based on MAC address. Please don't suggest > I use biosdevname or other such things: I really do want names > to be ethX and I want them in a specific order base on MAC address. > > > [root@localhost ~]# cat /etc/udev/rules.d/70-persistent-net.rules > > > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", > ATTR{address}=="00:e0:ed:1c:ec:e4", ATTR{dev_id}=="0x0", > ATTR{type}=="1", NAME="eth2" > > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", > ATTR{address}=="00:e0:ed:1c:ec:e5", ATTR{dev_id}=="0x0", > ATTR{type}=="1", NAME="eth3" > > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", > ATTR{address}=="00:30:48:fc:17:a2", ATTR{dev_id}=="0x0", > ATTR{type}=="1", NAME="eth0" > > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", > ATTR{address}=="00:30:48:fc:17:a3", ATTR{dev_id}=="0x0", > ATTR{type}=="1", NAME="eth1" > > > If I change the NAME=ethX to NAME=ethXr, then it seems to work. But, if > I leave it as is above, > it does not appear to make any changes at all to the naming. I turned > on debugging: > > [root@localhost ~]# cat /etc/udev/udev.conf > # see udev(7) for details > > udev_log="debug" > > > But, I never see anything at all about 'ethX'. > > I do not see any errors in /var/log/messages about it failing to rename > due to 'File Exists'. > > I read this thread about similar issue in Fedora 18, but towards the > bottom, there is > a claim the bug was fixed. Maybe it came back? > > http://comments.gmane.org/gmane.linux.redhat.fedora.general/427615 > > > [root@localhost ~]# rpm -qa|grep systemd > systemd-python-204-9.fc19.x86_64 > systemd-204-9.fc19.x86_64 > systemd-libs-204-9.fc19.x86_64 > systemd-sysv-204-9.fc19.x86_64 > > > I'd be grateful for any help..Fedora 17 has become unstable for us due > to gnome-fallback mode crashing, > so I'd like to be able to move forward to Fedora 19, but I really have > to get udev working properly > first... > > Thanks, > Ben > Last time I checked, the "lan" alias should do, i.e. lan0, lan1, …, but not the "eth" one.[1] However I leave rename to systemd. lspci 01:09.0 Ethernet controller: ifconfig enp1s9: dmesg systemd-udevd: renamed network interface eth0 to enp1s9 If you contemplate it from the perspective of the NetworkManager/nmcli you'll understand. ;) poma [1] http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org