Problems connecting to hostap 2.0-devel
Harshal Chhaya
harshal
Wed Jul 11 14:39:18 PDT 2012
Hello,
I am using hostapd 2.0-devel on an AR9342 with an external freeRADIUS
server to handle the WPA2-PEAP authentication.
I can connect an Android phone (b4:07:f9:37:9f:67) to the AP but can't
connect my embedded client (00:09:37:0d:76:77). Is the EAPOL-Start
from the client throwing off hostapd?
FWIW, the same client works fine with 0.7.3 of hostap (+ freeRADIUS +
older compat-wireless) on different h/w (AR9170).
Here is the output of 'hostapd -dd hostapd.conf'
Using interface wlan0 with hwaddr 0e:1a:57:da:3d:de and ssid
'TI-NAV-N-AtherosLap5'
socket[PF_INET6,SOCK_DGRAM]: Address family not supported by protocol
wlan0: RADIUS Authentication server 127.0.0.1:1812
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.11: authentication OK (open system)
wlan0: STA b4:07:f9:37:9f:67 MLME:
MLME-AUTHENTICATE.indication(b4:07:f9:37:9f:67, OPEN_SYSTEM)
wlan0: STA b4:07:f9:37:9f:67 MLME: MLME-DELETEKEYS.request(b4:07:f9:37:9f:67)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.11: authenticated
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.11: association OK (aid 1)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.11: associated (aid 1)
wlan0: STA b4:07:f9:37:9f:67 MLME: MLME-ASSOCIATE.indication(b4:07:f9:37:9f:67)
wlan0: STA b4:07:f9:37:9f:67 MLME: MLME-DELETEKEYS.request(b4:07:f9:37:9f:67)
wlan0: STA b4:07:f9:37:9f:67 WPA: event 1 notification
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: start authentication
wlan0: STA b4:07:f9:37:9f:67 WPA: start authentication
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: unauthorizing port
wlan0: CTRL-EVENT-EAP-STARTED b4:07:f9:37:9f:67
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 103)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: received EAP packet (code=2
id=103 len=21) from STA: EAP R
esponse-Identity (1)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: STA identity '00000009370e44e3'
wlan0: RADIUS Sending RADIUS message to authentication server
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds
wlan0: RADIUS Received 64 bytes from RADIUS server
wlan0: RADIUS Received RADIUS message
wlan0: STA b4:07:f9:37:9f:67 RADIUS: Received RADIUS packet matched
with a pending request, round tr
ip time 0.00 sec
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: decapsulated EAP packet
(code=1 id=104 len=6) from RADIUS
server: EAP-Request-PEAP (25)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 104)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: received EAP packet (code=2
id=104 len=104) from STA: EAP
Response-PEAP (25)
wlan0: RADIUS Sending RADIUS message to authentication server
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds
wlan0: RADIUS Received 1100 bytes from RADIUS server
wlan0: RADIUS Received RADIUS message
wlan0: STA b4:07:f9:37:9f:67 RADIUS: Received RADIUS packet matched
with a pending request, round tr
ip time 0.00 sec
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: decapsulated EAP packet
(code=1 id=105 len=1034) from RADI
US server: EAP-Request-PEAP (25)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 105)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: received EAP packet (code=2
id=105 len=6) from STA: EAP Re
sponse-PEAP (25)
wlan0: RADIUS Sending RADIUS message to authentication server
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds
wlan0: RADIUS Received 800 bytes from RADIUS server
wlan0: RADIUS Received RADIUS message
wlan0: STA b4:07:f9:37:9f:67 RADIUS: Received RADIUS packet matched
with a pending request, round tr
ip time 0.00 sec
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: decapsulated EAP packet
(code=1 id=106 len=738) from RADIU
S server: EAP-Request-PEAP (25)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 106)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: received EAP packet (code=2
id=106 len=208) from STA: EAP
Response-PEAP (25)
wlan0: RADIUS Sending RADIUS message to authentication server
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds
wlan0: RADIUS Received 298 bytes from RADIUS server
wlan0: RADIUS Received RADIUS message
wlan0: STA b4:07:f9:37:9f:67 RADIUS: Received RADIUS packet matched
with a pending request, round tr
ip time 0.04 sec
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: decapsulated EAP packet
(code=1 id=107 len=240) from RADIU
S server: EAP-Request-PEAP (25)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 107)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: received EAP packet (code=2
id=107 len=6) from STA: EAP Re
sponse-PEAP (25)
wlan0: RADIUS Sending RADIUS message to authentication server
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds
wlan0: RADIUS Received 101 bytes from RADIUS server
wlan0: RADIUS Received RADIUS message
wlan0: STA b4:07:f9:37:9f:67 RADIUS: Received RADIUS packet matched
with a pending request, round tr
ip time 0.00 sec
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: decapsulated EAP packet
(code=1 id=108 len=43) from RADIUS
server: EAP-Request-PEAP (25)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 108)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: received EAP packet (code=2
id=108 len=96) from STA: EAP R
esponse-PEAP (25)
wlan0: RADIUS Sending RADIUS message to authentication server
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds
wlan0: RADIUS Received 133 bytes from RADIUS server
wlan0: RADIUS Received RADIUS message
wlan0: STA b4:07:f9:37:9f:67 RADIUS: Received RADIUS packet matched
with a pending request, round tr
ip time 0.00 sec
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: decapsulated EAP packet
(code=1 id=109 len=75) from RADIUS
server: EAP-Request-PEAP (25)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 109)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: received EAP packet (code=2
id=109 len=144) from STA: EAP
Response-PEAP (25)
wlan0: RADIUS Sending RADIUS message to authentication server
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds
wlan0: RADIUS Received 149 bytes from RADIUS server
wlan0: RADIUS Received RADIUS message
wlan0: STA b4:07:f9:37:9f:67 RADIUS: Received RADIUS packet matched
with a pending request, round tr
ip time 0.00 sec
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: decapsulated EAP packet
(code=1 id=110 len=91) from RADIUS
server: EAP-Request-PEAP (25)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 110)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: received EAP packet (code=2
id=110 len=80) from STA: EAP R
esponse-PEAP (25)
wlan0: RADIUS Sending RADIUS message to authentication server
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds
wlan0: RADIUS Received 101 bytes from RADIUS server
wlan0: RADIUS Received RADIUS message
wlan0: STA b4:07:f9:37:9f:67 RADIUS: Received RADIUS packet matched
with a pending request, round tr
ip time 0.00 sec
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: decapsulated EAP packet
(code=1 id=111 len=43) from RADIUS
server: EAP-Request-PEAP (25)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 111)
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: received EAP packet (code=2
id=111 len=80) from STA: EAP R
esponse-PEAP (25)
wlan0: RADIUS Sending RADIUS message to authentication server
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds
wlan0: RADIUS Received 178 bytes from RADIUS server
wlan0: RADIUS Received RADIUS message
wlan0: STA b4:07:f9:37:9f:67 RADIUS: Received RADIUS packet matched
with a pending request, round tr
ip time 0.00 sec
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: old identity
'00000009370e44e3' updated with User-Name fro
m Access-Accept '00000009370e44e3'
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: decapsulated EAP packet
(code=3 id=111 len=4) from RADIUS
server: EAP Success
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: Sending EAP Packet (identifier 111)
wlan0: STA b4:07:f9:37:9f:67 WPA: sending 1/4 msg of 4-Way Handshake
wlan0: STA b4:07:f9:37:9f:67 WPA: received EAPOL-Key frame (2/4 Pairwise)
wlan0: STA b4:07:f9:37:9f:67 WPA: sending 3/4 msg of 4-Way Handshake
wlan0: STA b4:07:f9:37:9f:67 WPA: received EAPOL-Key frame (4/4 Pairwise)
wlan0: STA b4:07:f9:37:9f:67 WPA: pairwise key handshake completed (RSN)
wlan0: AP-STA-CONNECTED b4:07:f9:37:9f:67
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: authorizing port
wlan0: STA b4:07:f9:37:9f:67 RADIUS: starting accounting session
0000254F-00000000
wlan0: STA b4:07:f9:37:9f:67 IEEE 802.1X: authenticated - EAP type: 25 (PEAP)
wlan0: STA b4:07:f9:37:9f:67 WPA: Added PMKSA cache entry (IEEE 802.1X)
**************************************************************************
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:09:37:0d:76:77 MLME:
MLME-AUTHENTICATE.indication(00:09:37:0d:76:77, OPEN_SYSTEM)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: authenticated
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: association OK (aid 2)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: associated (aid 2)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-ASSOCIATE.indication(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 WPA: event 1 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: start authentication
wlan0: STA 00:09:37:0d:76:77 WPA: start authentication
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: unauthorizing port
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: Sending EAP Packet (identifier 186)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: received EAPOL-Start from STA
wlan0: STA 00:09:37:0d:76:77 WPA: event 5 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: aborting authentication
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: Sending EAP Packet (identifier 171)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: received EAPOL-Start from STA
wlan0: STA 00:09:37:0d:76:77 WPA: event 5 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: aborting authentication
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: unauthorizing port
wlan0: STA 00:09:37:0d:76:77 WPA: event 3 notification
wlan0: STA 00:09:37:0d:76:77 MLME:
MLME-DEAUTHENTICATE.indication(00:09:37:0d:76:77, 23)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: deauthenticated due to local
deauth request
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:09:37:0d:76:77 MLME:
MLME-AUTHENTICATE.indication(00:09:37:0d:76:77, OPEN_SYSTEM)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: authenticated
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: association OK (aid 2)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: associated (aid 2)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-ASSOCIATE.indication(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 WPA: event 1 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: start authentication
wlan0: STA 00:09:37:0d:76:77 WPA: start authentication
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: unauthorizing port
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: Sending EAP Packet (identifier 251)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: received EAPOL-Start from STA
wlan0: STA 00:09:37:0d:76:77 WPA: event 5 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: aborting authentication
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: Sending EAP Packet (identifier 227)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: received EAPOL-Start from STA
wlan0: STA 00:09:37:0d:76:77 WPA: event 5 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: aborting authentication
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: unauthorizing port
wlan0: STA 00:09:37:0d:76:77 WPA: event 3 notification
wlan0: STA 00:09:37:0d:76:77 MLME:
MLME-DEAUTHENTICATE.indication(00:09:37:0d:76:77, 23)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: deauthenticated due to local
deauth request
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:09:37:0d:76:77 MLME:
MLME-AUTHENTICATE.indication(00:09:37:0d:76:77, OPEN_SYSTEM)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: authenticated
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: association OK (aid 2)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: associated (aid 2)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-ASSOCIATE.indication(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 WPA: event 1 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: start authentication
wlan0: STA 00:09:37:0d:76:77 WPA: start authentication
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: unauthorizing port
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: Sending EAP Packet (identifier 124)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: received EAPOL-Start from STA
wlan0: STA 00:09:37:0d:76:77 WPA: event 5 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: aborting authentication
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: Sending EAP Packet (identifier 194)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: received EAPOL-Start from STA
wlan0: STA 00:09:37:0d:76:77 WPA: event 5 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: aborting authentication
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: unauthorizing port
wlan0: STA 00:09:37:0d:76:77 WPA: event 3 notification
wlan0: STA 00:09:37:0d:76:77 MLME:
MLME-DEAUTHENTICATE.indication(00:09:37:0d:76:77, 23)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: deauthenticated due to local
deauth request
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:09:37:0d:76:77 MLME:
MLME-AUTHENTICATE.indication(00:09:37:0d:76:77, OPEN_SYSTEM)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: authenticated
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: association OK (aid 2)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: associated (aid 2)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-ASSOCIATE.indication(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 WPA: event 1 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: start authentication
wlan0: STA 00:09:37:0d:76:77 WPA: start authentication
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: unauthorizing port
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: Sending EAP Packet (identifier 248)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: received EAPOL-Start from STA
wlan0: STA 00:09:37:0d:76:77 WPA: event 5 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: aborting authentication
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: Sending EAP Packet (identifier 27)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: received EAPOL-Start from STA
wlan0: STA 00:09:37:0d:76:77 WPA: event 5 notification
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: aborting authentication
wlan0: CTRL-EVENT-EAP-STARTED 00:09:37:0d:76:77
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlan0: STA 00:09:37:0d:76:77 IEEE 802.1X: unauthorizing port
wlan0: STA 00:09:37:0d:76:77 WPA: event 3 notification
wlan0: STA 00:09:37:0d:76:77 MLME:
MLME-DEAUTHENTICATE.indication(00:09:37:0d:76:77, 23)
wlan0: STA 00:09:37:0d:76:77 MLME: MLME-DELETEKEYS.request(00:09:37:0d:76:77)
wlan0: STA 00:09:37:0d:76:77 IEEE 802.11: deauthenticated due to local
deauth request
Thanks,
- Harshal
More information about the Hostap
mailing list