Problem with WPA-PSK - WPA Group keyerror ?

Actinium at iocaine.com Actinium
Mon Sep 27 00:41:11 PDT 2004


I try to use hostapd with configuration as follow:
ssid=test
wpa=1
wpa_passphrase=secretpassphrase
wpa_key_mgmt=WPA-PSK 
wpa_pairwise=TKIP
wpa_group_rekey=600
wpa_gmk_rekey=86400

the dump file for hostapd as follow:-
Configuration file: hostapd.conf
Opening raw packet socket for ifindex 62
Using interface wlan0ap with hwaddr 00:60:b3:8b:ea:0b and ssid 'test'
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): 08 3d c7 1c bc e6 2b eb f5 3e ed 20 2d ee 40 81 
43 9e a3 10 80 7b db 89 0a 23 19 20 22 82 10 ab
GTK - hexdump(len=32): df a6 67 e6 3d d3 47 36 96 54 a3 9e 92 9b 33 ec 
7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
WPA: group state machine entering state SETKEYSDONE
Flushing old station entries
Deauthenticate all stations
mgmt::auth
authentication: STA=00:60:b3:8c:49:9c auth_alg=0 auth_transaction=1 
status_code=0 wep=0
  New STA
authentication reply: STA=00:60:b3:8c:49:9c auth_alg=0 
auth_transaction=2 resp=0
MGMT (TX callback) ACK
mgmt::auth cb
mgmt::assoc_req
association request: STA=00:60:b3:8c:49:9c capab_info=0x11 
listen_interval=10
  new AID 1
MGMT (TX callback) ACK
mgmt::assoc_resp cb
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state INITIALIZE
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state IDLE
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state AUTHENTICATION
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state AUTHENTICATION2
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state INITPSK
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKSTART
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=95 - 
ack=1
DATA
IEEE 802.1X: 123 bytes from 00:60:b3:8c:49:9c
   IEEE 802.1X: version=1 type=3 length=119
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKCALCNEGOTIATING
PMK - hexdump(len=32): 38 18 ea 72 5e 61 4f 2d a3 4d 81 da 4b db 0f 7b 
7b 98 69 da 1e 7e e5 59 15 62 fc 1f 47 08 96 0e
PTK - hexdump(len=64): 97 7d 1d 2c d6 a0 15 60 ac b4 17 e0 ba f4 4e 20 
bd 0d 51 bb 16 22 a8 20 d7 40 d8 6c 55 a7 05 84 08 ec 2f 3d bb 7f 97 59 
78 c8 60 28 a9 00 22 3f 93 af 77 32 7a f1 8d 27 e1 50 5b 88 82 c4 9b 2e
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKCALCNEGOTIATING2
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKINITNEGOTIATING
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=119 - 
ack=1
DATA
IEEE 802.1X: 99 bytes from 00:60:b3:8c:49:9c
   IEEE 802.1X: version=1 type=3 length=95
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKINITDONE
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=127 - 
ack=1
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=127 - 
ack=1
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=127 - 
ack=1
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state KEYERROR
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state DISCONNECT
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state IDLE
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state DISCONNECTED
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state INITIALIZE
Failed to set encryption.
Could not set station flags for kernel driver.
Could not set station flags for kernel driver.
Could not remove station from kernel driver.
DATA (TX callback) ACK
mgmt::auth
authentication: STA=00:60:b3:8c:49:9c auth_alg=0 auth_transaction=1 
status_code=0 wep=0
  New STA
authentication reply: STA=00:60:b3:8c:49:9c auth_alg=0 
auth_transaction=2 resp=0
MGMT (TX callback) ACK
mgmt::auth cb
mgmt::assoc_req
association request: STA=00:60:b3:8c:49:9c capab_info=0x11 
listen_interval=10
  new AID 1
MGMT (TX callback) ACK
mgmt::assoc_resp cb
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state INITIALIZE
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state IDLE
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state AUTHENTICATION
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state AUTHENTICATION2
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state INITPSK
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKSTART
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=95 - 
ack=1
DATA
IEEE 802.1X: 123 bytes from 00:60:b3:8c:49:9c
   IEEE 802.1X: version=1 type=3 length=119
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKCALCNEGOTIATING
PMK - hexdump(len=32): 38 18 ea 72 5e 61 4f 2d a3 4d 81 da 4b db 0f 7b 
7b 98 69 da 1e 7e e5 59 15 62 fc 1f 47 08 96 0e
PTK - hexdump(len=64): 10 03 a2 2f c0 e4 60 e1 4e 10 d2 2b 25 82 0c 05 
27 2a 52 0f 6b e5 04 5c 6b c2 d8 a4 2a 29 0f c1 1b d3 72 71 d6 8d a5 a9 
b5 c2 a3 03 6f d7 e2 3e 49 91 4b 8b 34 26 53 70 2b 67 85 c2 a6 c6 1b eb
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKCALCNEGOTIATING2
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKINITNEGOTIATING
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=119 - 
ack=1
DATA
IEEE 802.1X: 99 bytes from 00:60:b3:8c:49:9c
   IEEE 802.1X: version=1 type=3 length=95
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKINITDONE
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=127 - 
ack=1
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=127 - 
ack=1
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=127 - 
ack=1
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state KEYERROR
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state DISCONNECT
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state IDLE
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state DISCONNECTED
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state INITIALIZE
Failed to set encryption.
Could not set station flags for kernel driver.
Could not set station flags for kernel driver.
Could not remove station from kernel driver.
DATA (TX callback) ACK
mgmt::auth
authentication: STA=00:60:b3:8c:49:9c auth_alg=0 auth_transaction=1 
status_code=0 wep=0
  New STA
authentication reply: STA=00:60:b3:8c:49:9c auth_alg=0 
auth_transaction=2 resp=0
MGMT (TX callback) ACK
mgmt::auth cb
mgmt::assoc_req
association request: STA=00:60:b3:8c:49:9c capab_info=0x11 
listen_interval=10
  new AID 1
MGMT (TX callback) ACK
mgmt::assoc_resp cb
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state INITIALIZE
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state IDLE
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state AUTHENTICATION
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state AUTHENTICATION2
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state INITPSK
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKSTART
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=95 - 
ack=1
DATA
IEEE 802.1X: 123 bytes from 00:60:b3:8c:49:9c
   IEEE 802.1X: version=1 type=3 length=119
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKCALCNEGOTIATING
PMK - hexdump(len=32): 38 18 ea 72 5e 61 4f 2d a3 4d 81 da 4b db 0f 7b 
7b 98 69 da 1e 7e e5 59 15 62 fc 1f 47 08 96 0e
PTK - hexdump(len=64): e8 43 76 3a d2 97 94 13 f9 7e 87 fa c7 cb 42 ac 
0e 33 a2 7d 5d ba 1c f0 1d ad 5d 8a 7b 99 7e e6 91 b9 35 ee 6b f0 dc 25 
f8 e7 8d 9f ec ea 6a 42 a8 37 db 73 d3 7b bf b3 b0 48 87 84 d1 70 96 f1
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKCALCNEGOTIATING2
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKINITNEGOTIATING
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=119 - 
ack=1
DATA
IEEE 802.1X: 99 bytes from 00:60:b3:8c:49:9c
   IEEE 802.1X: version=1 type=3 length=95
WPA: 00:60:b3:8c:49:9c WPA_PTK entering state PTKINITDONE
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=127 - 
ack=1
WPA: 00:60:b3:8c:49:9c WPA_PTK_GROUP entering state REKEYNEGOTIATING
Plaintext EAPOL-Key Key Data - hexdump(len=32): df a6 67 e6 3d d3 47 36 
96 54 a3 9e 92 9b 33 ec 7d b2 79 4d 0a c1 03 1d eb 56 f9 87 cb 83 3e bb
DATA (TX callback) ACK
IEEE 802.1X: 00:60:b3:8c:49:9c TX status - version=1 type=3 length=127 - 
ack=1
Signal 2 received - terminating
Removing station 00:60:b3:8c:49:9c
Flushing old station entries
Deauthenticate all stations

any idea what happend ? Thank you very very much...

Regards,
Lim Yew Chai





More information about the Hostap mailing list