Dear Sir,<br> I'm using wpa_supplicant (with Ralink chipset) to connect with Access point (Ralink chipset).<br> My security setting is WPA2 by using freeradius as a Radius server.<br><br> wpa_supplicant.conf is<br>
ctrl_interface=/var/run/wpa_supplicant<br>eapol_version=1<br>ap_scan=1<br>network={<br> ssid="TEST_AP"<br> key_mgmt=WPA-EAP IEEE8021X<br> pairwise=TKIP CCMP<br> eap=PEAP<br> phase1="peaplabel=0"<br>
phase2="auth=MSCHAPV2"<br> identity="test"<br> password="test"<br>}<br><br> Firstly, the supplicant successfully connects to AP (access point)<br> Then, I turn off/on the AP, wpa_supplicant tries to reauthenticate and show debug message like: (just some part of whole messages)<br>
<br>Custom wireless event: receive ASSOCIATED_EVENT !!!<br>wpa_driver_ralink_get_bssid<br>State: DISCONNECTED -> ASSOCIATED<br>wpa_driver_ralink_get_bssid<br>Associated with 00:1d:7d:09:51:74<br>WPA: Association event - clear replay counter<br>
EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0<br>EAPOL: External notification - portEnabled=1<br>EAPOL: SUPP_PAE entering state CONNECTING<br>EAPOL: SUPP_BE entering state IDLE<br>
EAP: EAP entering state INITIALIZE<br>EAP: maintaining EAP method data for fast reauthentication<br>EAP: EAP entering state IDLE<br>Setting authentication timeout: 10 sec 0 usec<br>Cancelling scan request<br>attr3: - hexdump(len=4): 20 52 65 73<br>
EAPOL: startWhen --> 0<br>EAPOL: SUPP_PAE entering state CONNECTING<br>EAPOL: txStart<br>RSN: PMKSA caching - do not send EAPOL-Start<br>EAPOL: authWhile --> 0<br><br>Authentication with 00:1d:7d:09:51:74 timed out.<br>
wpa_driver_ralink_get_bssid<br>wpa_driver_ralink_get_associnfo<br>wpa_driver_ralink_get_associnfo: association success<br>wpa_driver_ralink_poll_timeout: Connected!!<br>wpa_driver_ralink_get_bssid<br>State: SCANNING -> ASSOCIATED<br>
wpa_driver_ralink_get_bssid<br>Associated with 00:1d:7d:09:51:74<br>WPA: Association event - clear replay counter<br>EAPOL: External notification - portEnabled=0<br>EAPOL: SUPP_PAE entering state DISCONNECTED<br>EAPOL: SUPP_BE entering state INITIALIZE<br>
EAP: EAP entering state DISABLED<br>EAPOL: External notification - portValid=0<br>EAPOL: External notification - portEnabled=1<br>EAPOL: SUPP_PAE entering state CONNECTING<br>EAPOL: SUPP_BE entering state IDLE<br>EAP: EAP entering state INITIALIZE<br>
EAP: maintaining EAP method data for fast reauthentication<br>EAP: EAP entering state IDLE<br>Setting authentication timeout: 10 sec 0 usec<br>Cancelling scan request<br>EAPOL: startWhen --> 0<br>EAPOL: SUPP_PAE entering state CONNECTING<br>
EAPOL: txStart<br>RSN: PMKSA caching - do not send EAPOL-Start<br>Authentication with 00:1d:7d:09:51:74 timed out.<br><br> wpa_supplicant cannot reconnect to AP because of PMKSA caching??<br> I've tried the supplicant with LinkSys AP, (turn off/on LinkSysAP), wpa_supplicant works fine. It reconnects to AP.<br>
Or some issue at the Access point (Ralink chipset)?<br><br> Please share your idea.<br><br>Regards,<br>Pongsak<br><br><br>