usb network adapter with ndiswrapper can't connect to wpa with wpa-supplicant
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
usb network adapter with ndiswrapper can't connect to wpa with wpa-supplicant
Hi, I'm using Ubuntu 7.04 with a usb network adapter connected with ndiswrapper to connect to a wpa-encrypted network with wpa supplicant
$ sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dndiswrapper -w
Trying to associate with 00:13:46:a3:e1:48 (SSID='default' freq=2462 MHz)
Association request to the driver failed
Authentication with 00:00:00:00:00:00 timed out.
my wpa config file
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="default"
proto=WPA
key_mgmt=WPA-PSK
psk=random numbers and letters generated by wpa_passphrase
}
because the ndiswrapper driver works perfectly fine, I think it has to do with my config file or my command and ndiswrapper supposedly is supported by wpa_supplicant
because the ndiswrapper driver works perfectly fine, I think it has to do with my config file or my command and ndiswrapper supposedly is supported by wpa_supplicant
You might be confusing two things here. There is the ndiswrapper kernel module driver that actually makes the card function and then there is the wpa_supplicant ndiswrapper driver that you specify on the command line that starts wpa_supplicant. Two different pieces of software. It is the second one I am suggesting you replace with wext. Both the wpa_supplicant ndiswrapper and wext driver will supposedly work with the ndiswrapper kernel module, however the wext driver is more generic and may be better supported. So even if the problem is in your config file, wext may be a better option.
As for the config file, here is an example of an entry that I use that works:
After starting wpa_supplicant you also could check your iwconfig output and see if the key has taken and the card associated with the access point. If it hasn't associated, have a look in your log files and see if wpa_supplicant is complaining.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.