On hand, a device using Rtl8188eus, before debugging WiFi function is OK, yesterday from the AP switch to station mode, found that the router is not connected. Prompt for the following error:
Wpa_supplicant:can ' t load library ' libssl.so.0.9.8 '
Then find the previously ported openssl-0.9.8e library, download to the device Lib directory, after the establishment of soft links, rerun. Still not connected to the network, view the WiFi-driven debugging information, as follows:
Wpa_supplicant v2.5
Random:trying to read entropy From/dev/random
Successfully initialized Wpa_supplicant
Initializing interface ' wlan0 ' conf '/usr/app/config/wpa_supplicant.conf ' driver
Configuration file '/usr/app/config/wpa_supplicant.conf '-> '/USR/APP/CONFIG/WPA
Reading configuration file '/usr/app/config/wpa_supplicant.conf '
Ctrl_interface= '/var/run/wpa_supplicant '
Priority Group 0
Id=0 ssid= ' MERCURY '
Rfkill:cannot Open Rfkill Control device
Wext:rfkill Status Not Available
Siocgiwrange:we (compiled) =22 WE (source) =16 enc_capa=0xf
CAPABILITIES:KEY_MGMT 0xf ENC 0x1f flags 0x0
Ioctl[siocsiwap]: Operation not permitted
Wext:failed to clear BSSID selection on disconnect
WEXT:Driver:rtl8188eu
Netlink:operstate:ifindex=3 linkmode=1 (Userspace-control), operstate=5 (if_op
Add interface Wlan0 to a new radio N/A
Wlan0:own MAC address:20:f4:1b:55:a4:8f
wpa_driver_wext_set_key:alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key:alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key:alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key:alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
Wpa_driver_wext_set_countermeasures
Wlan0:RSN:flushing pmkid list in the driver
Wlan0:setting Scan request:0.100000 sec
engine:loading Dynamic ENGINE
engine:loading Dynamic ENGINE
Eapol:supp_pae Entering state disconnected
Eapol:supplicant Port status:unauthorized
Eapol:key_rx Entering State no_key_receive
Eapol:supp_be Entering State INITIALIZE
Eap:eap Entering State DISABLED
Using existing Control Interface directory.
Ctrl_iface bind (Pf_unix) failed:address already in use
Ctrl_iface exists, but does not allow connections-assuming it is leftover from forced program termination
Successfully replaced leftover ctrl_iface socket '/var/run/wpa_supplicant/wlan0 '
Wlan0:added Interface Wlan0
Wlan0:State:DISCONNECTED-> Disconnected
Wpa_driver_wext_set_operstate:operstate 0->0 (dormant)
Netlink:operstate:ifindex=3 linkmode=-1 (no change), Operstate=5 (if_oper_dormant)
Daemonize..
When you run the Wpa_supplicant service manually, the error is as follows:
Failed to connect to Non-global Ctrl_ifname:wlan0 Error:connection refused
Back to the previous compilation of the porting Rtl8188eus driver and Wpa_supplicant tool directory, only to discover the problem, I used the wpa_supplicant is 2.5 version, it corresponds to the OpenSSL version number for Openssl-0.9.8za and Openssl-0.9.8zf
The openssl-0.9.8e version is downloaded from the previous step.
Swap the library with Openssl-0.9.8za to connect the router again to solve the problem.