wpa_supplicant hangs with mwifiex driver and custom hardware
So I have embedded linux running mwifiex driver v1.0 (14.57.5.p.41). The driver downloads and initializes then I want to connect to a router using wpa_supplicant and wpa encryption. I have already connected to an open network.
I run wpa_supplicant -ddd -mlan0 -c/etc/wpa_supplicant.conf -Dnl80211 the result is: wpa_supplicant v1.0 random: Trying to read entropy from /dev/random Initializing interface 'mlan0' conf '/etc/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' ap_scan=1 Line: 5 - start of a new network block ssid - hexdump_ascii(len=6): 4f 53 54 2d 30 33 OST-03 BSSID - hexdump(len=6): 00 14 6c 93 bc f4 proto: 0x3 key_mgmt: 0x2 pairwise: 0x18 group: 0x8 PSK - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='OST-03' iface is mlan0 and that is it it just stops - following the code trail it dies in wpa_supplicant/wpa_supplicant.c in wpa_supplicant_set_driver() - basically an unsupported driver. Any thoughts? |
Running wpa_supplicant with no arguments will show you the supported drivers. If the one you want to use doesn't appear in the list, I guess you'll have to recompile wpa_supplicant.
|
Not that obvious
When I run wpa_supplicant with nothing else it shows the nl80211 driver is not loaded. I recompiled with the makefile change to
CONFIG_DRIVER_NL80211=y, unfortunately then I got tons of compile errors. So I have to go back and look at my build. Thanks for your help. |
All times are GMT -5. The time now is 04:58 PM. |