View previous topic :: View next topic |
Author |
Message |
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Sat Mar 02, 2013 10:11 pm Post subject: strange problem with openrc and newnet USE flag |
|
|
hi,
suddenly iwconfig reports:
no wireless extensions.
However the module loads just fine and the interface works with the utility iw. What's going on?
Also /etc/init.d/net.lo has been wiped out and all net symlinks broken. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10723 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat Mar 02, 2013 11:20 pm Post subject: |
|
|
Well, Code: | sal ~ $ sudo equery belongs /etc/init.d/net.lo
Password:
* Searching for /etc/init.d/net.lo ...
sys-apps/openrc-0.11.8 (/etc/init.d/net.lo) | Because, net.lo is part of openrc, let's at least treat the symptom by fixing the broken openrc: Code: | emerge --oneshot openrc | After that, you problem may very well be fixed. Do you know of any failed updates that might've caused this breakage?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Mar 03, 2013 1:49 am Post subject: Re: strange problem with openrc and newnet USE flag |
|
|
_______0 wrote: | suddenly iwconfig reports: no wireless extensions. However the module loads just fine and the interface works with the utility iw. What's going on? |
_______0 ... this suggests you've rebuilt your kernel, and have omited CONFIG_80211_WEXT, wext (wireless extentions) compatabilty layer for cfg80211/nl80211.
_______0 wrote: | Also /etc/init.d/net.lo has been wiped out and all net symlinks broken. |
... are you sure this isn't the result of updating udev, and the persistent net naming rules?
best ... khay |
|
Back to top |
|
|
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Mon Mar 04, 2013 12:09 pm Post subject: |
|
|
fixed by updating linux-headers to the same kernel version. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Mar 04, 2013 5:07 pm Post subject: |
|
|
_______0 wrote: | fixed by updating linux-headers to the same kernel version. |
_______0 ... that makes absolutely no sense, linux-headers do not have to be in sync with the kernel, nor have they anything to do with cfg80211/nl80211/wext, or the fact that files in /etc/init.d have been "wiped out".
The "no wireless extentions" error is a sign that WEXT (or CFG80211's compatability layer) is disabled, and would not be fixed by updating linux-headers.
best ... khay |
|
Back to top |
|
|
GFCCAE6xF Apprentice
Joined: 06 Aug 2012 Posts: 295
|
Posted: Mon Mar 04, 2013 6:03 pm Post subject: |
|
|
Building OpenRC with newnet 'wipes' net.lo and all the net things related to it (obviously) - thus net.lo is produced by ORC when you build it without newnet flag. I'm pretty sure there is output about the loopback when you build ORC.
I too was curious where net.lo went when I started using the newnet flag, doesn't seem to have been the culprit for you though anyway. |
|
Back to top |
|
|
|