wpa_supplicant keeps negotiating keys even after CTRL-EVENT-CONNECTED

Theo Cabrerizo Diem diem
Fri Jun 20 02:21:20 PDT 2008


(Not only networking issues, seems that googlemail have a problem
sending emails to the list, I'll modify a bit the syntax of it. This
was the message that I've composed, and not only reporting what I use
for my router ;) )

Hi All,

I'm using a DD-WRT enabled router (Netgear WNR834Bv2) with "WPA2
Personal Mixed" and TKID+AES modes.

I use the following commands at wpa_cli to connect to my network :
> scan
OK
<2>CTRL-EVENT-SCAN-RESULTS
> scan_results
bssid / frequency / signal level / flags / ssid
00:1e:2a:72:88:88       2462    192
[WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP] myssid
> add_network
0>
> set_network 0 ssid "myssid"
OK
> set_network 0 group CCMP
OK
> set_network 0 pairwise TKIP
OK
> set_network 0 proto WPA2
OK
> set_network 0 key-mgmt WPA-PSK
OK
> set_network 0 psk "mysecret"
OK
> bssid 0 00:1e:2a:72:88:88
OK
enable_network 0
OK

which starts printing some messages and events:
<2>CTRL-EVENT-SCAN-RESULTS
<2>CTRL-EVENT-SCAN-RESULTS
<2>Trying to associate with 00:1e:2a:72:88:88 (SSID='myssid' freq=2462 MHz)
<2>Associated with 00:1e:2a:72:88:88
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>CTRL-EVENT-CONNECTED - Connection to 00:1e:2a:72:88:88 completed
(auth) [id=0 id_str=]

Everything is happy .. I can use my wireless interface .. but then it
seems to get into this loop :
[...]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
<2>CTRL-EVENT-SCAN-RESULTS
<2>Trying to associate with 00:1e:2a:72:88:88 (SSID='myssid' freq=2462 MHz)
<2>Associated with 00:1e:2a:72:88:88
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>CTRL-EVENT-CONNECTED - Connection to 00:1e:2a:72:88:88 completed
(reauth) [id=0 id_str=]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
<2>WPA: Key negotiation completed with 00:1e:2a:72:88:88 [PTK=CCMP GTK=TKIP]
[...]

and keeps repeating ...  my wireless interface gets unusable.
It keeps like this for a while (sometimes a looogg while) .. until it
stops repeating the "Key negotiation completed with ..." and it goes
back working ..  until the loop restarts.

Any ideas ?

Thanks,

Theo



More information about the Hostap mailing list