Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strange problem with openrc and newnet USE flag
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Sat Mar 02, 2013 10:11 pm    Post subject: strange problem with openrc and newnet USE flag Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Mar 02, 2013 11:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Mar 03, 2013 1:49 am    Post subject: Re: strange problem with openrc and newnet USE flag Reply with quote

_______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
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Mon Mar 04, 2013 12:09 pm    Post subject: Reply with quote

fixed by updating linux-headers to the same kernel version.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Mon Mar 04, 2013 5:07 pm    Post subject: Reply with quote

_______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
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Mon Mar 04, 2013 6:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum