Hi,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;m trying to make wpa_supplicant ( on windows XP with CONFIG_USE_NDISUIO ) preauthenticate with ap2 while it is already associated with ap1. Following are the network blocks I&#39;ve specified in .conf - 
<br><br>network={<br>
&nbsp;&nbsp;&nbsp; ssid=&quot;ap1&quot;<br>
&nbsp;&nbsp;&nbsp; key_mgmt=WPA-PSK<br>
&nbsp;&nbsp;&nbsp; proto=WPA2<br>
&nbsp;&nbsp;&nbsp; pairwise=CCMP<br>
&nbsp;&nbsp;&nbsp; group=CCMP<br>
&nbsp;&nbsp;&nbsp; psk=&lt;some_passphrase&gt;<br>}<br>
<br>network={<br>&nbsp;&nbsp;&nbsp; ssid=&quot;ap2&quot;<br>&nbsp;&nbsp;&nbsp; key_mgmt=WPA-EAP<br>&nbsp;&nbsp;&nbsp; priority=0<br>&nbsp;&nbsp;&nbsp; identity=&quot;user&quot;<br>&nbsp;&nbsp;&nbsp; proto=WPA2<br>&nbsp;&nbsp;&nbsp; pairwise=CCMP<br>&nbsp;&nbsp;&nbsp; group=CCMP<br>&nbsp;&nbsp;&nbsp; eap=TLS<br>&nbsp;&nbsp;&nbsp; ca_cert=&lt;path_to_ca.der&gt;
<br>&nbsp;&nbsp;&nbsp; client_cert=&lt;path_to_client.der&gt;<br>&nbsp;&nbsp;&nbsp; private_key=&lt;path_to_clientkey.der&gt;<br>}<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; when I send command &quot;preauthenticate &lt;bssid_of_ap2&gt; from wpa_cli, it fails to pre-authenticate. I could see EAP identitity request coming to wpa_supplicant, but there is no response to that.&nbsp; wpa_supplicant shows following debug messages - 
<br><br>RX ctrl_iface - hexdump_ascii(len=25):<br>&nbsp;&nbsp;&nbsp;&nbsp; 50 52 45 41 55 54 48 20 30 30 3a 31 36 3a 62 36&nbsp;&nbsp; PREAUTH &lt;bssid_of_ap2&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; 3a 63 36 3a 62 63 3a 36 32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>CTRL_IFACE PREAUTH &lt;bssid_of_ap2&gt;
<br>RSN: starting pre-authentication with &lt;bssid_of_ap2&gt;<br>EAPOL: SUPP_PAE entering state DISCONNECTED<br>EAPOL: KEY_RX entering state NO_KEY_RECEIVE<br>EAPOL: SUPP_BE entering state INITIALIZE<br>EAP: EAP entering state DISABLED
<br>EAPOL: External notification - portValid=1<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: EAP entering state IDLE
<br>CTRL: Overlapped write started for 00B96578<br>CTRL: Overlapped write completed: dst=00B96578 err=0 bytes=3<br>CTRL: Overlapped read started for 00B96578<br>RX pre-auth from &lt;bssid_of_ap2&gt;<br>RX pre-auth - hexdump(len=46): 02 00 00 05 01 0b 00 05 01 00 00 00 00 00 00 00 0
<br>0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 63<br>51 72 20<br>EAPOL: Received EAP-Packet frame<br>EAPOL: SUPP_PAE entering state RESTART<br>EAP: EAP entering state INITIALIZE<br>EAP: EAP entering state IDLE
<br>EAPOL: SUPP_PAE entering state AUTHENTICATING<br>EAPOL: SUPP_BE entering state REQUEST<br>EAPOL: getSuppRsp<br>EAP: EAP entering state RECEIVED<br>EAP: Received EAP-Request id=11 method=1 vendor=0 vendorMethod=0<br>EAP: EAP entering state IDENTITY
<br>CTRL-EVENT-EAP-STARTED EAP authentication started<br>CTRL_IFACE monitor send 00B96578<br>EAP: EAP-Request Identity data - hexdump_ascii(len=0):<br>EAP: using real identity - hexdump_ascii(len=0): [NULL]<br>EAP: buildIdentity: identity configuration was not available
<br>CTRL-REQ-IDENTITY-1:Identity needed for SSID &lt;ap1&gt;<br>CTRL_IFACE monitor send 00B96578<br>EAP: EAP entering state SEND_RESPONSE<br>EAP: EAP entering state IDLE<br>EAPOL: startWhen --&gt; 0<br>RX pre-auth from &lt;bssid_of_ap2&gt;
<br>RX pre-auth - hexdump(len=46): 02 00 00 05 01 0b 00 05 01 00 00 00 00 00 00 00 0<br>0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 63<br>51 72 20<br>EAPOL: Received EAP-Packet frame<br>RSN: pre-authentication with &lt;bssid_of_ap2&gt; timed out
<br><br><br><br><br><br>Cheers<br>- Paresh<br>