ndiswrapper,Cisco Radius PEAP

John Knoxville peacebwitchu
Wed Feb 23 20:01:37 PST 2005


Here is my output after iwconfig wlan0 essid web and then running
wpa_supplicant.  I will try your suggestion as well.

Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver
'ndiswrapper'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
eapol_version=1
ap_scan=1
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=9):
     42 63 62 43 69 6f 42 72 72                        web
scan_ssid=1 (0x1)
key_mgmt: 0x8
eap methods - hexdump(len=2): 19 00
identity - hexdump_ascii(len=13):
     62 63 62 61 64 5c 67 72 69 73 77 6c 64            ad\peace
password - hexdump_ascii(len=8): [REMOVED]
phase2 - hexdump_ascii(len=13):
     61 75 74 68 3d 4d 53 43 48 41 50 56 32            auth=MSCHAPV2
Priority group 0
   id=0 ssid='web'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:0c:f1:24:62:e2
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     42 63 62 43 69 6f 42 72 72                        web
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 3407 bytes of scan results (17 BSSes)
Scan results: 17
Selecting BSS from priority group 0
0: 00:0e:83:fe:7c:90 ssid='web' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:0e:83:fe:7c:f0 ssid='web' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 00:0e:83:fe:7c:20 ssid='web' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
3: 00:0e:83:fe:7e:f0 ssid='web' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
4: 00:12:01:39:9b:c0 ssid='web' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
5: 00:0e:84:be:36:b0 ssid='web' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
6: 00:0e:83:fe:7c:50 ssid='web' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
7: 00:0f:23:d8:9a:d0 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
8: 00:0e:83:fe:7c:90 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
9: 00:0e:83:fe:7c:f0 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
10: 00:0e:83:fe:7c:20 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
11: 00:0e:84:be:36:b0 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
12: 00:0e:83:fe:7e:f0 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
13: 00:12:01:39:9b:c0 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
14: 00:0e:83:fe:7c:50 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
15: 02:00:29:83:fc:6e ssid='hpsetup' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
16: 00:0e:83:fe:7b:b0 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
   selected non-WPA AP 00:0e:83:fe:7c:90 ssid='web'
Trying to associate with 00:0e:83:fe:7c:90 (SSID='web' freq=2412 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
No keys have been configured - skip key clearing
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8c02 len=79
Custom wireless event:
'ASSOCINFO(ReqIEs=000942636243696f427272010482848b96 RespIEs=010196)'
Association info event
req_ies - hexdump(len=17): 00 09 42 63 62 43 69 6f 42 72 72 01 04 82 84 8b 96
resp_ies - hexdump(len=3): 01 01 96
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0e:83:fe:7e:f0
Association event - clear replay counter
Associated to a new BSS: BSSID=00:0e:83:fe:7e:f0
No keys have been configured - skip key clearing
Associated with 00:0e:83:fe:7e:f0
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
TX EAPOL - hexdump(len=18): 00 0e 83 fe 7e f0 00 0c f1 24 62 e2 88 8e
01 01 00 00
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Setting authentication timeout: 10 sec 0 usec
Wireless event: cmd=0x8c02 len=79
Custom wireless event:
'ASSOCINFO(ReqIEs=000942636243696f427272010482848b96 RespIEs=010196)'
Association info event
req_ies - hexdump(len=17): 00 09 42 63 62 43 69 6f 42 72 72 01 04 82 84 8b 96
resp_ies - hexdump(len=3): 01 01 96
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0e:83:fe:7e:f0
Association event - clear replay counter
Associated with 00:0e:83:fe:7e:f0
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
TX EAPOL - hexdump(len=18): 00 0e 83 fe 7e f0 00 0c f1 24 62 e2 88 8e
01 01 00 00
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RX EAPOL from 00:0e:83:fe:7e:f0
RX EAPOL - hexdump(len=46): 01 00 00 05 01 01 00 05 01 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 00 00
00 00 00 00 00 00 00 00 00
Setting authentication timeout: 70 sec 0 usec
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_PAE entering state RESTART
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request method=1 id=1
EAP: EAP entering state IDENTITY
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=13):
     62 63 62 61 64 5c 67 72 69 73 77 6c 64            ad\peace
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL - hexdump(len=36): 00 0e 83 fe 7e f0 00 0c f1 24 62 e2 88 8e
01 00 00 12 02 01 00 12 01 62 63 62 61 64 5c 67 72 69 73 77 6c 64
EAPOL: SUPP_BE entering state RECEIVE
WPA: EAPOL frame too short, len 46, expecting at least 99
RX EAPOL from 00:0e:83:fe:7e:f0
RX EAPOL - hexdump(len=46): 01 00 00 05 01 02 00 05 01 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 00 00
00 00 00 00 00 00 00 00 00
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request method=1 id=2
EAP: EAP entering state IDENTITY
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=13):
     62 63 62 61 64 5c 67 72 69 73 77 6c 64            ad\peace
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL - hexdump(len=36): 00 0e 83 fe 7e f0 00 0c f1 24 62 e2 88 8e
01 00 00 12 02 02 00 12 01 62 63 62 61 64 5c 67 72 69 73 77 6c 64
EAPOL: SUPP_BE entering state RECEIVE
WPA: EAPOL frame too short, len 46, expecting at least 99
RX EAPOL from 00:0e:83:fe:7e:f0
RX EAPOL - hexdump(len=46): 01 00 00 1d 01 ae 00 1d 11 01 00 08 56 c9
a3 a0 4e 03 27 82 62 63 62 61 64 5c 67 72 69 73 77 6c 64 00 00 00 00
00 00 00 00 00 00 00 00 00
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request method=17 id=174
EAP: EAP entering state GET_METHOD
EAP: Building EAP-Nak (requested type 17 not allowed)
EAP: allowed methods - hexdump(len=1): 19
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL - hexdump(len=24): 00 0e 83 fe 7e f0 00 0c f1 24 62 e2 88 8e
01 00 00 06 02 ae 00 06 03 19
EAPOL: SUPP_BE entering state RECEIVE
WPA: EAPOL frame too short, len 46, expecting at least 99
RX EAPOL from 00:0e:83:fe:7e:f0
RX EAPOL - hexdump(len=46): 01 00 00 06 01 af 00 06 19 21 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 00
00 00 00 00 00 00 00 00 00
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request method=25 id=175
EAP: EAP entering state GET_METHOD
EAP: initialize selected EAP method (25, PEAP)
EAP-PEAP: Phase2 EAP types - hexdump(len=1): 1a
EAP: EAP entering state METHOD
EAP-PEAP: Received packet(len=6) - Flags 0x21
EAP-PEAP: Start (server ver=1, own ver=1)
EAP-PEAP: Using PEAP version 1
SSL: (where=0x10 ret=0x1)
SSL: (where=0x1001 ret=0x1)
SSL: SSL_connect:before/connect initialization
SSL: (where=0x1001 ret=0x1)
SSL: SSL_connect:SSLv3 write client hello A
SSL: (where=0x1002 ret=0xffffffff)
SSL: SSL_connect:error in SSLv3 read server hello A
SSL: SSL_connect - want more data
SSL: 100 bytes pending from ssl_out
SSL: 100 bytes left to be sent out (of total 100 bytes)
EAP: method process -> ignore=FALSE methodState=CONT decision=FAIL
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL - hexdump(len=124): 00 0e 83 fe 7e f0 00 0c f1 24 62 e2 88 8e
01 00 00 6a 02 af 00 6a 19 01 16 03 01 00 5f 01 00 00 5b 03 01 42 1c
a7 cf 27 a0 c3 3e dc ee 73 e8 d0 44 6d ad ca 0f 82 c7 f8 43 02 62 8e
b1 3b 63 0d cd 34 5a 00 00 34 00 39 00 38 00 35 00 16 00 13 00 0a 00
33 00 32 00 2f 00 66 00 05 00 04 00 63 00 62 00 61 00 15 00 12 00 09
00 65 00 64 00 60 00 14 00 11 00 08 00 06 00 03 01 00
EAPOL: SUPP_BE entering state RECEIVE
WPA: EAPOL frame too short, len 46, expecting at least 99
EAPOL: Port Timers tick - authWhile=29 heldWhile=0 startWhen=29 idleWhile=59
EAPOL: Port Timers tick - authWhile=28 heldWhile=0 startWhen=28 idleWhile=58
EAPOL: Port Timers tick - authWhile=27 heldWhile=0 startWhen=27 idleWhile=57
EAPOL: Port Timers tick - authWhile=26 heldWhile=0 startWhen=26 idleWhile=56
EAPOL: Port Timers tick - authWhile=25 heldWhile=0 startWhen=25 idleWhile=55
EAPOL: Port Timers tick - authWhile=24 heldWhile=0 startWhen=24 idleWhile=54
EAPOL: Port Timers tick - authWhile=23 heldWhile=0 startWhen=23 idleWhile=53
EAPOL: Port Timers tick - authWhile=22 heldWhile=0 startWhen=22 idleWhile=52
EAPOL: Port Timers tick - authWhile=21 heldWhile=0 startWhen=21 idleWhile=51
EAPOL: Port Timers tick - authWhile=20 heldWhile=0 startWhen=20 idleWhile=50
EAPOL: Port Timers tick - authWhile=19 heldWhile=0 startWhen=19 idleWhile=49
EAPOL: Port Timers tick - authWhile=18 heldWhile=0 startWhen=18 idleWhile=48
EAPOL: Port Timers tick - authWhile=17 heldWhile=0 startWhen=17 idleWhile=47
EAPOL: Port Timers tick - authWhile=16 heldWhile=0 startWhen=16 idleWhile=46
EAPOL: Port Timers tick - authWhile=15 heldWhile=0 startWhen=15 idleWhile=45
EAPOL: Port Timers tick - authWhile=14 heldWhile=0 startWhen=14 idleWhile=44
EAPOL: Port Timers tick - authWhile=13 heldWhile=0 startWhen=13 idleWhile=43
EAPOL: Port Timers tick - authWhile=12 heldWhile=0 startWhen=12 idleWhile=42
EAPOL: Port Timers tick - authWhile=11 heldWhile=0 startWhen=11 idleWhile=41
EAPOL: Port Timers tick - authWhile=10 heldWhile=0 startWhen=10 idleWhile=40
EAPOL: Port Timers tick - authWhile=9 heldWhile=0 startWhen=9 idleWhile=39
EAPOL: Port Timers tick - authWhile=8 heldWhile=0 startWhen=8 idleWhile=38
EAPOL: Port Timers tick - authWhile=7 heldWhile=0 startWhen=7 idleWhile=37
EAPOL: Port Timers tick - authWhile=6 heldWhile=0 startWhen=6 idleWhile=36
Signal 2 received - terminating
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portValid=0
EAP: deinitialize previously used EAP method (25, PEAP) at EAP deinit



On Wed, 23 Feb 2005 19:11:32 -0800, Jouni Malinen <jkmaline at cc.hut.fi> wrote:
> On Wed, Feb 23, 2005 at 09:18:59AM -0500, John Knoxville wrote:
> 
> > I am having problems getting associated with my Cisco AP and Radius
> > server.  I am using the latest ndiswrapper with the centrino wireless
> > card.  Here is my config and debug output.
> >
> > eapol_version=1
> > ap_scan=1
> >
> >  network={
> >          ssid="web"
> >          scan_ssid=1
> 
> > Starting AP scan (specific SSID)
> > Scan SSID - hexdump_ascii(len=9):
> >      42 63 62 43 69 6f 42 72 72                        web
> > ioctl[SIOCSIWSCAN{,EXT}]: No such device
> > Failed to initiate AP scan.
> 
> ndiswrapper and well, NDIS drivers in general do not support scan for a
> specific SSID (scan_ssid=1). You will either need to use broadcast scan
> or if you are using hidden SSID, ap_scan=2 to make the driver associate
> with the given SSID without wpa_supplicant having to request a scan.
> 
> > Setting scan request: 10 sec 0 usec
> > EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> > EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> > EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> > Scan timeout - try to get results
> > Received 2171 bytes of scan results (11 BSSes)
> > Scan results: 11
> > Selecting BSS from priority group 0
> 
> What happens after this line?
> 
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




More information about the Hostap mailing list