Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant + nsidwrapper stopped working!?
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
aharel
n00b
n00b


Joined: 16 Nov 2011
Posts: 16

PostPosted: Wed Oct 02, 2013 8:43 pm    Post subject: wpa_supplicant + nsidwrapper stopped working!? Reply with quote

Hi,

Months ago I somehow got my wireless (the terrible Realtek RTL8188CE) card working, at least in most wireless environments.
From my notes, and from /etc/conf.f/net it worked with ndis_wrapper, rather than with the original Realtek drivers.
Not sure all is at it seems, because I ended up removing the Realtek drivers from /etc/modprobe.d/blacklist, and things still worked.

But after the latest world update, things (net.wlp3s0, hence also avahi-daemon, hence also cupsd and cups) don't work anymore.
Furthermore, it's not clear how they could've possibly worked.
wpa_supplicant (when invoked with -h) says only the wext, nl80211, and wires drivers are supported.
Which is why when I try the config that worked for months, with
wpa_supplicant_wlp3s0="-Dndiswrapper"
or when I try
wpa_supplicant_wlp3s0="-Drtl8192ce"
I get:
Code:
# /etc/init.d/net.wlp3s0 start
 * Bringing up interface wlp3s0
 *   Starting wpa_supplicant on wlp3s0 ...
Successfully initialized wpa_supplicant
wlp3s0: Unsupported driver 'ndiswrapper'
 *   start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant'                                                 [ !! ]
 * ERROR: net.wlp3s0 failed to start

BTW: lsmod lists both ndiswrapper and rtl8192ce, as well as rtlwifi and rtl8192c_common which are used by rtl8192ce

When I try using wext or nl80211, I get:
Code:

# /etc/init.d/net.wlp3s0 restart
...
 * Bringing up interface wlp3s0
 *   Starting wpa_supplicant on wlp3s0 ...
Successfully initialized wpa_supplicant                                                                            [ ok ]
 *   Starting wpa_cli on wlp3s0 ...                                                                                [ ok ]
 *   Backgrounding ... ...
 * WARNING: net.wlp3s0 has started, but is inactive


Where am I going wrong here?
- do people usually hack the wpa_supplicant installation so it supports more drivers?
- does the word "drivers" as used and listed by wpa_supplicant even mean the same as the "wireless drivers" I'm trying to use (ndiswrapper, rtl8192ce)?
- can Realtek drivers be driven by wext / nl80211 with some specific configuration I missed?

Other information:
from uname -a:
Linux ahx 3.7.9-gentoo #14 SMP Wed Oct 2 00:42:15 IDT 2013 x86_64 Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz GenuineIntel GNU/Linux
Installed packages (from equery):
[IP-] [ ] net-wireless/ndiswrapper-1.58:0, net-wireless/wpa_supplicant-2.0-r2:0, net-dns/avahi-0.6.31-r2:0

So far every flag I've seen mentioned is already enable in the kernel. But if there's something specific I should check...
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Wed Oct 02, 2013 10:43 pm    Post subject: Reply with quote

Add:
Code:
net.ifnames=0
to your kernel command line
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
aharel
n00b
n00b


Joined: 16 Nov 2011
Posts: 16

PostPosted: Wed Oct 02, 2013 11:03 pm    Post subject: On eyoung100's suggestion Reply with quote

Hi eyoung100,

thanks for taking the time to help!

I don't understand your reply.
Well, I understand the desire to get rid of the so-called "predictable" names (*).
But having carefully followed the udev upgrade instructions 5 months ago, my system will no longer work
with the old names. The network setup did work with the new names. In fact, it also worked with another wife in USB.
I could switch between wifi's and everything :-)

What makes you suspect the new network names are related?
Any checks I can do for that?

(*) they're not very predictable when I happen to plug in my USB wifi into another USB port. And they are ugly, long, and hard to remember. No upside for a user like me.

many thanks,
Amnon
Back to top
View user's profile Send private message
aharel
n00b
n00b


Joined: 16 Nov 2011
Posts: 16

PostPosted: Sat Oct 05, 2013 2:13 pm    Post subject: Resolved Reply with quote

Just for the record, this is how this was resolved for my system:

cheers,
Amnon
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1559
Location: U.S.A.

PostPosted: Mon Nov 04, 2013 1:28 am    Post subject: Reply with quote

I went through a lot of trouble getting that wireless chipset up and going. If the link above doesn't solve your problem try looking at what I did.
http://forums.gentoo.org/viewtopic-p-7170028-highlight-.html#7170028
_________________
http://webpages.charter.net/decibelshelp/
Don't assume malice for what stupidity can explain.
Always remember you're unique. Just like everyone else.
Everybody lies........but it doesn't matter since nobody listens.
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