View previous topic :: View next topic |
Author |
Message |
lysergicacid Guru
Joined: 25 Nov 2003 Posts: 352 Location: The Universe,Virgo Super Cluster,Milky Way,Earth
|
Posted: Thu Jan 31, 2013 3:43 pm Post subject: [SOLVED] systemd-udevd using stupid names |
|
|
Hi, have recently updated & since the update, every diff wifi dongle i plug in gets silly names like this :
Code: | [ 3023.871060] usb 2-2: new high-speed USB device number 4 using ehci-pci
[ 3023.987262] rtl8192cu: Chip version 0x10
[ 3024.071770] rtl8192cu: MAC address: 80:1f:02:1b:dd:e8
[ 3024.071778] rtl8192cu: Board Type 0
[ 3024.072027] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 3024.072078] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
[ 3024.072754] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
[ 3024.074624] rtlwifi: wireless switch is on
[ 3024.080285] systemd-udevd[10581]: renamed network interface wlan1 to wlp0s29f7u2 |
this system has been installed since 2011 & ive never had this problem before, yes it used to rename wlan1 to wlan5 but not silly names like this is now doing, ive remedied it with 2 dongles with udev rules but why is udev now naming them in such silly way ? any idea's please ? _________________ [img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Last edited by lysergicacid on Thu Apr 18, 2013 5:26 pm; edited 1 time in total |
|
Back to top |
|
|
jrussia Tux's lil' helper
Joined: 29 Aug 2012 Posts: 89 Location: Chicago
|
|
Back to top |
|
|
consus n00b
Joined: 27 Aug 2012 Posts: 38
|
Posted: Sun Feb 03, 2013 8:11 pm Post subject: |
|
|
The funny thing -- people are still going to use this crap |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
|
Back to top |
|
|
lysergicacid Guru
Joined: 25 Nov 2003 Posts: 352 Location: The Universe,Virgo Super Cluster,Milky Way,Earth
|
Posted: Mon Feb 04, 2013 11:02 pm Post subject: as per normal the search engine here doesn't work right |
|
|
im sorry if this is a duplicate thread, but it might help if the search engine here worked properly, anyway, this is clearly a buggy portage update, since updating my system and adding rules to enforce proper device naming conventions on my wifi devices Code: | # usb yagi
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:05:e7:3a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"
# alfa 2 watt
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:c0:ca:4a:a5:27", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan2"
|
my usb hdd no longer auto mounts and upon rebooting my system grub automatically boots straight to linux if i plug a usb keyboard in, this has never happened before. _________________ [img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img] |
|
Back to top |
|
|
derk Guru
Joined: 10 Mar 2003 Posts: 347 Location: St Thomas Ontario
|
Posted: Mon Feb 04, 2013 11:37 pm Post subject: |
|
|
sorry not buggy .. this is the new networking naming convention .. If you have read the elogs you would have seen the warnings .. see thread mentioned earlier |
|
Back to top |
|
|
lysergicacid Guru
Joined: 25 Nov 2003 Posts: 352 Location: The Universe,Virgo Super Cluster,Milky Way,Earth
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Feb 05, 2013 12:16 am Post subject: Re: as per normal the search engine here doesn't work right |
|
|
lysergicacid wrote: | NAME="wlan1" |
Stop using the same naming convention as before. That naming convention is broken, because the 1, 2, etc. order cannot be guaranteed.
So use e.g. "home", "inet". Anything but wlan followed by a digit. |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Tue Feb 05, 2013 12:48 am Post subject: Re: systemd-udevd using stupid names |
|
|
lysergicacid wrote: | Hi, have recently updated & since the update, every diff wifi dongle i plug in gets silly names like this :
Code: | [ 3024.080285] systemd-udevd[10581]: renamed network interface wlan1 to wlp0s29f7u2 |
this system has been installed since 2011 & ive never had this problem before, yes it used to rename wlan1 to wlan5 but not silly names like this is now doing, ive remedied it with 2 dongles with udev rules but why is udev now naming them in such silly way ? any idea's please ? | There should have been an empty file
/etc/udev/rules.d/80-net-name-slot.rules
to overshadow the new (upstream) netname udev rules file. if there is not (because Gentoo maintainers haven't thought finding such as your special setup), just try:
ln -s /etc/udev/rules.d/80-net-name-slot.rules /dev/null |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Feb 05, 2013 1:31 am Post subject: |
|
|
Huh? That's bizarre. Wouldn't Code: | rm /etc/udev/rules.d/80-net-name-slot.rules
touch /etc/udev/rules.d/80-net-name-slot.rules | be simpler and also less abstruse?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Tue Feb 05, 2013 1:38 am Post subject: |
|
|
John R. Graham wrote: | Huh? That's bizarre. Wouldn't Code: | rm /etc/udev/rules.d/80-net-name-slot.rules
touch /etc/udev/rules.d/80-net-name-slot.rules | be simpler and also less abstruse?
- John |
But its not The Systemd Way. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Feb 05, 2013 2:29 am Post subject: |
|
|
_________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Tue Feb 05, 2013 8:13 am Post subject: |
|
|
John, we had some other guys in the other thread not knowing the meaning of '#', who thought an outcommented "empty" file should do some work. And got angry that it dit not. Therefore I came to the conclusion:
pointing to /dev/null is not misunderstandable, or?
The other misunderstanding then was: you could save your important homework onto this file by cat>> |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Feb 05, 2013 7:23 pm Post subject: |
|
|
udev might eat your homework? Well, why not a hard link, then? Wouldn't that be more efficient? In addition, you've got your arguments backwards. You might want to correct your suggestion so that it actually works.
Seriously, the KISS principle should apply here. If what you need is an empty file, then put an empty file!
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Bones McCracker Veteran
Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Mon Feb 11, 2013 6:47 am Post subject: |
|
|
You guys are going to give ssuominen a stroke, or cause him to go postal.
What's wrong with the 80 dummy file provided by the ebuild? Nothing; it even contains a nice, clear explanation.
Between that, the news item, the eewarn text provided by the emerge, and the references therein, I don't see how people are getting confused. I can imagine them not liking the change, but nobody has any right to rant after not using their head and screwing up their own system. _________________
patrix_neo wrote: | The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it. |
|
|
Back to top |
|
|
lysergicacid Guru
Joined: 25 Nov 2003 Posts: 352 Location: The Universe,Virgo Super Cluster,Milky Way,Earth
|
|
Back to top |
|
|
|