You are not logged in.

#1 2013-10-27 12:34:26

ThePacman
Member
From: Classified
Registered: 2013-09-19
Posts: 127

Persistent network interface naming not working

I followed the instructions on the wiki for persistent network interface naming, but I can't get it to work.

I'd like my Belkin F5D7050 Wireless G USB network adapter with MAC address 00:14:22:32:d7:96 to be labeled as wifif5d7050 (instead of the wlp0s29f7u2u4 it usually gets named.)

My /etc/udev/rules.d/10-network.rules file looks like:

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:14:22:32:d7:96", NAME="wifif5d7050"

I've rebooted, but that didn't fix anything. I've made sure to disable (as in systemd) netctl, but the interface's name hasn't changed. What did I do wrong?

P.S., here's the output of udevadm monitor as I unplug and replug the USB dongle with netctl stopped:

monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[789.622599] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy1::quality (leds)
KERNEL[789.622799] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy1::assoc (leds)
KERNEL[789.622929] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy1::radio (leds)
UDEV  [789.625524] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy1::quality (leds)
UDEV  [789.625931] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy1::assoc (leds)
UDEV  [789.626431] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy1::radio (leds)
KERNEL[789.640426] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/rx-0 (queues)
KERNEL[789.640579] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/tx-3 (queues)
KERNEL[789.640717] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/tx-2 (queues)
KERNEL[789.640853] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/tx-1 (queues)
KERNEL[789.640977] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/tx-0 (queues)
KERNEL[789.641124] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4 (net)
UDEV  [789.645988] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/rx-0 (queues)
UDEV  [789.646192] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/tx-2 (queues)
UDEV  [789.646337] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/tx-3 (queues)
UDEV  [789.647696] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/tx-0 (queues)
UDEV  [789.650450] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4/queues/tx-1 (queues)
UDEV  [789.650681] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4 (net)
KERNEL[789.656947] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/ieee80211/phy1/rfkill1 (rfkill)
UDEV  [789.658068] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/ieee80211/phy1/rfkill1 (rfkill)
KERNEL[789.663631] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/ieee80211/phy1 (ieee80211)
KERNEL[789.663702] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0 (usb)
KERNEL[789.664071] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4 (usb)
UDEV  [789.665344] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/ieee80211/phy1 (ieee80211)
UDEV  [789.666041] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0 (usb)
UDEV  [789.666623] remove   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4 (usb)
KERNEL[792.752547] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4 (usb)
KERNEL[792.752790] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0 (usb)
KERNEL[793.261313] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/ieee80211/phy2 (ieee80211)
KERNEL[793.261375] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/ieee80211/phy2/rfkill2 (rfkill)
KERNEL[793.261859] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0 (net)
KERNEL[793.261900] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/rx-0 (queues)
KERNEL[793.261931] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/tx-0 (queues)
KERNEL[793.261964] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/tx-1 (queues)
KERNEL[793.261995] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/tx-2 (queues)
KERNEL[793.262027] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/tx-3 (queues)
KERNEL[793.262058] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy2::radio (leds)
KERNEL[793.262093] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy2::assoc (leds)
KERNEL[793.262125] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy2::quality (leds)
UDEV  [793.265758] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4 (usb)
UDEV  [793.265824] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0 (usb)
UDEV  [793.269146] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy2::assoc (leds)
KERNEL[793.270762] move     /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4 (net)
UDEV  [793.271485] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/ieee80211/phy2 (ieee80211)
UDEV  [793.272473] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/ieee80211/phy2/rfkill2 (rfkill)
UDEV  [793.274555] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy2::radio (leds)
UDEV  [793.274835] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/leds/rt73usb-phy2::quality (leds)
UDEV  [793.283430] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4 (net)
UDEV  [793.285962] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/rx-0 (queues)
UDEV  [793.288764] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/tx-0 (queues)
UDEV  [793.293283] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/tx-3 (queues)
UDEV  [793.294248] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/tx-2 (queues)
UDEV  [793.294806] move     /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4 (net)
UDEV  [793.295802] add      /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlan0/queues/tx-1 (queues)

Fedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way

Offline

#2 2013-11-02 20:11:25

ThePacman
Member
From: Classified
Registered: 2013-09-19
Posts: 127

Re: Persistent network interface naming not working

Please, does anyone know why this is happening?

Also, on a semi-related note, what are the rules for bumping threads? (Aside from dead ones, of course.) Once every 24 hours? Wait until it slips to page 5?


Fedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way

Offline

#3 2013-11-02 20:29:05

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Persistent network interface naming not working

I'm sorry I can't help with your interface problem, but I can try to answer your question about bumping. The Forum Etiquette is fairly clear:

Forum Etiquette wrote:

Bumping

Posting a single word or useless message (bumping) to attract attention to your thread is not allowed. Do your own research, continue to troubleshoot, post the results, and be patient with the community. If people are reading your thread without answering or offering help, you may try supplying more details, or ask to be pointed in the right direction. Often, the reason for posts remaining unanswered is due in large part to the sparse details in the original post itself, or, the obvious availability of solutions in the wiki, on the forum or on the web, and the community's unwillingness to point out the obvious.

If you repost in your own thread before anyone else responds you are asked to provide more information about what you have tried while you were waiting, and not just bump with something like "still waiting for an answer here."

Last edited by 2ManyDogs (2013-11-02 20:35:01)

Offline

#4 2013-11-03 19:54:16

ThePacman
Member
From: Classified
Registered: 2013-09-19
Posts: 127

Re: Persistent network interface naming not working

Okay, I've been looking over the problem and it seems that Udev is disregarding the config file for some reason.

KERNEL[793.270762] move     /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2.4/5-2.4:1.0/net/wlp0s29f7u2u4 (net)

^ That is the first place wlp0s26f7u2u4 is mentioned (until that point it was simply "wlan0",) so it seems that Udev is working properly - it just didn't use the configuration file for the device.

Is there a typo in the rule? Are there any methods other than MAC that I might be able to try to identify the USB adapter?


Fedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way

Offline

Board footer

Powered by FluxBB