<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <style type="text/css">pre { font-family: "Liberation Serif"; }p { margin-bottom: 0.08in; }</style>
    <pre>Hi,

I  made a wifi access point using  hostapd 7.3 and RT3070 wifi dongle on my embedded board.When try to connect from windows 7 pc ,first two three times it is connecting with this access point ,after that not connecting.The debug messages when it is not connecting is given 
bellow.Can you suggest how to fix this issue?


mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
STA 8c:a9:82:47:13:84 sent probe request for broadcast SSID
STA 8c:a9:82:47:13:84 sent probe request for broadcast SSID
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
STA 8c:a9:82:47:13:84 sent probe request for broadcast SSID
STA 8c:a9:82:47:13:84 sent probe request for broadcast SSID
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
STA 00:16:44:a3:dd:51 sent probe request for broadcast SSID
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:16:44:a3:dd:51 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-AUTHENTICATE.indication(00:16:44:a3:dd:51, OPEN_SYSTEM)
wlan0: STA 00:16:44:a3:dd:51 MLME: MLME-DELETEKEYS.request(00:16:44:a3:dd:51)
authentication reply: STA=00:16:44:a3:dd:51 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
Sending disassociation info to STA 00:16:44:a3:dd:51

<b>For cross compiling HOSTAPD for ARM i used the following </b>
        Linux-kernel-2.6.35
        libnl-3.2.6
        openssl-1.0.0d
        Hostapd-7.3
        wifi dongle - RT3070 chipset

hostapd setting are also given bellow

interface=wlan0
driver=nl80211
ssid=TEST
hw_mode=g
channel=11
wpa=3
wpa_passphrase=octi$123456
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
wpa_ptk_rekey=600


Regards
Dipin kumar
</pre>
  </body>
</html>