Where does a MSNdis_StatusMediaDisconnect come from? <br><br>Sometimes after a connection / authentication has been established, after a short amount of time, I receive a MSNdis_StatusMediaDisconnect in the console log followed by a disconnection.&nbsp; 
<br><br>Why?<br><br>What has happened?&nbsp; Have I caused this some how?&nbsp; I am using the wpa_cli to issue the connection commands to the supplicant but not any after a select_network to get the connection process started.<br>
<br><br>When this &quot;event&quot; (?) occurs, the wpa_sup stays inactive for a long time (&gt;30 seconds to minutes) before retrying to connect.<br><br><br><span style="text-decoration: underline;">Bigger question.</span>
<br><br>How can I guarantee a constant and consistent connection?&nbsp; <br><br>Can I react &quot;immediately&quot; to MSNdis_StatusMediaDisconnect &quot;event&quot; or whatever it is?&nbsp; <br><br><div style="margin-left: 40px;">
if so, How would I react?&nbsp; Which control commands?<br><br>Can one (or more) of the &quot;period&quot; variables be used to tune to this behavior and retry the connection, much sooner.&nbsp; (at the moment, I am not altering the defaults for these parameters)
<br></div><br><br>this is a wonderful application, I suppose I just need to iron out some details on how to use it most productively.&nbsp; Or maybe this is new behaivor?<br><br>anyway: Windows XP, built with VS2005, using eap-ttls / chap for the network.
<br><br>thanks so much,<br><br><br>Here's the log:<br><br>1155137305.453125: EAPOL: SUPP_PAE entering state AUTHENTICATED<br>1155137306.453125: EAPOL: startWhen --&gt; 0<br>1155137334.453125: EAPOL: authWhile --&gt; 0<br>
1155137364.453125: EAPOL: idleWhile --&gt; 0<br>1155137397.687500: <span style="font-weight: bold;">MSNdis_StatusMediaDisconnect</span><br>1155137397.687500:&nbsp;&nbsp; InstanceName: 'Intel(R) PRO/Wireless 2200BG Network Connection #2'
<br>1155137397.687500: NDIS: received event data - hexdump(len=55): 01 00 00 00 32 49 6e 74 65 6c 28 52 29 20 50 52 4f 2f 57 69 72 65 6c<br>&nbsp;65 73 73 20 32 32 30 30 42 47 20 4e 65 74 77 6f 72 6b 20 43 6f 6e 6e 65 63 74 69 6f 6e 20 23 32
<br>1155137397.718750: NDIS: event - type 1<br>1155137397.718750: NDIS: event InstanceName - hexdump_ascii(len=50):<br>&nbsp;&nbsp;&nbsp;&nbsp; 49 6e 74 65 6c 28 52 29 20 50 52 4f 2f 57 69 72&nbsp;&nbsp; Intel(R) PRO/Wir<br>&nbsp;&nbsp;&nbsp;&nbsp; 65 6c 65 73 73 20 32 32 30 30 42 47 20 4e 65 74&nbsp;&nbsp; eless 2200BG Net
<br>&nbsp;&nbsp;&nbsp;&nbsp; 77 6f 72 6b 20 43 6f 6e 6e 65 63 74 69 6f 6e 20&nbsp;&nbsp; work Connection<br>&nbsp;&nbsp;&nbsp;&nbsp; 23 32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #2<br>1155137397.750000: NDIS: Media Disconnect Event<br>1155137397.765625: Setting scan request: 0 sec 100000 usec
<br>1155137397.765625: Added BSSID 00:0d:97:00:48:0f into blacklist<br>1155137397.765625: State: COMPLETED -&gt; DISCONNECTED<br>1155137397.765625: EAPOL: External notification - portEnabled=0<br>1155137397.765625: EAPOL: SUPP_PAE entering state DISCONNECTED
<br>1155137397.765625: EAPOL: SUPP_BE entering state INITIALIZE<br>1155137397.765625: EAP: EAP entering state DISABLED<br>1155137397.765625: EAPOL: External notification - portValid=0<br>1155137397.765625: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
<br>1155137397.765625: CTRL_IFACE monitor send <a href="http://127.0.0.1:4008">127.0.0.1:4008</a><br>1155137397.765625: __func__ not defined: oid=0xd010101 len (6) failed<br>1155137397.765625: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]
<br>1155137397.765625: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]<br>1155137397.781250: __func__ not defined: oid=0xd010101 len (6) failed<br>1155137397.781250: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]<br>
1155137397.781250: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]<br>1155137397.781250: __func__ not defined: oid=0xd010101 len (6) failed<br>1155137397.781250: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]<br>1155137397.781250
: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]<br>1155137397.781250: __func__ not defined: oid=0xd010101 len (6) failed<br>1155137397.781250: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]<br>1155137397.781250: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]
<br>1155137397.781250: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]<br>1155137397.875000: State: DISCONNECTED -&gt; SCANNING<br><br>reconnects much later...<br>