Hi, I&#39;m running Hostap 0.6.8 in a powerpc terminal. This terminal has a Ubiquiti wireless card (SR5) and the latest madwifi release by Ubiquiti (descontinued now, and a bit old).<br><br>I configured hostap to work with WPA/CCMP. Everything is ok. I can connect 2 laptops and a iphone everything works fine. <br>
The problem is that sometimes when I connect one of the laptops, all the connections go down.<br><br>When this happen I see in the hostap log that the hostap try to connect the laptop several times, and the following messages appear:<br>
<br><br>Wireless event: cmd=0x8c04 len=20
<br>ath0: STA 00:1f:3c:12:ed:45 IEEE 802.11: disassociated
<br>ath0: STA 00:1f:3c:12:ed:45 WPA: event 2 notification
<br>madwifi_del_key: addr=00:1f:3c:12:ed:45 key_idx=0
<br>ioctl[IEEE80211_IOCTL_DELKEY]: No such file or directory
<br>madwifi_del_key: Failed to delete key (addr 00:1f:3c:12:ed:45 key_idx 0)
<br>WPA: 00:1f:3c:12:ed:45 WPA_PTK entering state DISCONNECTED
<br>WPA: 00:1f:3c:12:ed:45 WPA_PTK entering state INITIALIZE
<br>madwifi_del_key: addr=00:1f:3c:12:ed:45 key_idx=0
<br>ioctl[IEEE80211_IOCTL_DELKEY]: No such file or directory
<br>madwifi_del_key: Failed to delete key (addr 00:1f:3c:12:ed:45 key_idx 0)
<br>madwifi_set_sta_authorized: addr=00:1f:3c:12:ed:45 authorized=0
<br>ioctl[IEEE80211_IOCTL_SETMLME]: No such file or directory
<br>madwifi_set_sta_authorized: Failed to unauthorize STA 00:1f:3c:12:ed:45
<br>ath0: STA 00:1f:3c:12:ed:45 IEEE 802.1X: unauthorizing port
<br>Could not set station 00:1f:3c:12:ed:45 flags for kernel driver (errno=29).<br><br><br>After that all the connections go down and the following appears:<br><br><br><br>ath0: STA 00:1f:3c:12:ed:45 WPA: EAPOL-Key timeout
<br>WPA: 00:1f:3c:12:ed:45 WPA_PTK entering state PTKSTART
<br>ath0: STA 00:1f:3c:12:ed:45 WPA: sending 1/4 msg of 4-Way Handshake
<br>WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 ke
<br>yidx=0 encr=0)
<br>TX EAPOL - hexdump(len=113): 00 1f 3c 12 ed 45 00 15 6d 54 c8 4d 88 8e 02 03 00
<br>5f fe 00 8a 00 10 00 00 00 00 00 00 00 04 26 94 74 d0 09 52 39 6c 2c 8a cd 66 3b
<br> 3b fc 3d 49 b1 6d 3f 7c f5 db 93 12 fe c5 00 11 3b 82 6e 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 00
<br>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<br>Wireless event: cmd=0x8c02 len=96
<br>Custom wireless event: &#39;STA-TRAFFIC-STAT
<br>mac=00:1f:3c:12:ed:45
<br>rx_packets=1
<br>rx_bytes=19
<br>tx_packets=0
<br>tx_bytes=0
<br>&#39;
<br>Wireless event: cmd=0x8c04 len=20
<br>ath0: STA 00:1f:3c:12:ed:45 IEEE 802.11: disassociated
<br>ath0: STA 00:1f:3c:12:ed:45 WPA: event 2 notification
<br>madwifi_del_key: addr=00:1f:3c:12:ed:45 key_idx=0
<br>ioctl[IEEE80211_IOCTL_DELKEY]: No such file or directory
<br>madwifi_del_key: Failed to delete key (addr 00:1f:3c:12:ed:45 key_idx 0)
<br>WPA: 00:1f:3c:12:ed:45 WPA_PTK entering state DISCONNECTED
<br>WPA: 00:1f:3c:12:ed:45 WPA_PTK entering state INITIALIZE
<br>madwifi_del_key: addr=00:1f:3c:12:ed:45 key_idx=0
<br>ioctl[IEEE80211_IOCTL_DELKEY]: No such file or directory
<br>madwifi_del_key: Failed to delete key (addr 00:1f:3c:12:ed:45 key_idx 0)
<br>madwifi_set_sta_authorized: addr=00:1f:3c:12:ed:45 authorized=0
<br>ioctl[IEEE80211_IOCTL_SETMLME]: No such file or directory
<br>madwifi_set_sta_authorized: Failed to unauthorize STA 00:1f:3c:12:ed:45
<br>ath0: STA 00:1f:3c:12:ed:45 IEEE 802.1X: unauthorizing port
<br>Could not set station 00:1f:3c:12:ed:45 flags for kernel driver (errno=29).
<br>Signal 2 received - terminating
<br>ath0: STA 00:1e:c2:c7:b9:3d MLME: MLME-DEAUTHENTICATE.indication(00:1e:c2:c7:b9:
<br>3d, 1)
<br>ath0: STA 00:1e:c2:c7:b9:3d MLME: MLME-DELETEKEYS.request(00:1e:c2:c7:b9:3d)
<br>madwifi_del_key: addr=00:1e:c2:c7:b9:3d key_idx=0
<br>Removing station 00:1e:c2:c7:b9:3d
<br>ath0: STA 00:19:7d:af:fd:f4 MLME: MLME-DEAUTHENTICATE.indication(00:19:7d:af:fd:
<br>f4, 1)
<br>ath0: STA 00:19:7d:af:fd:f4 MLME: MLME-DELETEKEYS.request(00:19:7d:af:fd:f4)
<br>madwifi_del_key: addr=00:19:7d:af:fd:f4 key_idx=0
<br>Removing station 00:19:7d:af:fd:f4
<br>Flushing old station entries
<br>madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
<br>Deauthenticate all stations
<br>madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=2
<br>madwifi_set_privacy: enabled=0
<br>madwifi_set_ieee8021x: enabled=0
<br>madwifi_set_iface_flags: dev_up=0<br><br><br><br><br><br>My hostap.conf is like that:<br><br><br>interface=ath0<br>
driver=madwifi<br>
logger_syslog=-1<br>
logger_syslog_level=2<br>
logger_stdout=-1<br>
logger_stdout_level=2<br>
debug=0<br>
dump_file=/tmp/hostapd.dump<br>
ctrl_interface=/var/run/<div id=":16f" class="ii gt">hostapd<br>
ctrl_interface_group=0<br>
ssid=testeDouglas<br>
auth_algs=3<br>
eapol_key_index_workaround=0<br>
eap_server=0<br>
wpa=1<br>
wpa_passphrase=testewpa<br>
wpa_key_mgmt=WPA-PSK<br>
wpa_pairwise=CCMP<br><br><br>Someone knows what is happen?<br><br>Thanks<br></div><br>