avoiding renaming of the wlan0 device

Kevin Wilson wkevils at gmail.com
Sat Jan 4 19:54:28 UTC 2014


I have fedora 20, and when I connect a wireless usb nic, I get this messages:

Jan  4 21:33:08 localhost kernel: [  273.797184] ieee80211 phy0:
rt2x00_set_chip: Info - Chipset detected - rt: 2573, rf: 0002, rev:
000a
Jan  4 21:33:09 localhost kernel: [  273.893135] usbcore: registered
new interface driver rt73usb
Jan  4 21:33:09 localhost systemd-udevd[1712]: renamed network
interface wlan0 to wlp0s29f7u5u1

and with iwconfig I indeed see wlp0s29f7u5u1 (was wlan0 in fedora 18)

Is there a way to avoid it ?

I saw here:
https://mailman.archlinux.org/pipermail/arch-dev-public/2013-January/024231.html
this suggestion:
mask the rule: ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules

But I do not have /etc/udev/rules.d/80-net-name-slot.rules.

The other suggestion in the link above is to create a udev rule, but I
do not know how to do it.

rpm -q systemd gives:
systemd-208-9.fc20.x86_64

regards,
Kevin


More information about the users mailing list