wpa_Supplicant, PEAP, MSCHAPV2 and linux

David Lonie davidlonie
Fri Sep 2 11:27:33 PDT 2005


ok...here's what I'm getting as output:

# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 
'default'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
eapol_version=1
ap_scan=2
fast_reauth=1
Priority group 0
   id=0 ssid='NOSTRINGSATTACHED'
Initializing interface (2) 'wlan0'
Own MAC address: 00:90:4b:f1:c5:17
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
Trying to associate with SSID 'NOSTRINGSATTACHED'
Cancelling scan request
Automatic auth_alg selection: 0x1
No keys have been configured - skip key clearing
Setting authentication timeout: 5 sec 0 usec
Wireless event: cmd=0x8c02 len=117
Custom wireless event: 
'ASSOCINFO(ReqIEs=00114e4f535452494e47534154544143484544010482848b96dd06001018020000 
RespIEs=010482848b96)'
Association info event
req_ies - hexdump(len=33): 00 11 4e 4f 53 54 52 49 4e 47 53 41 54 54 41 
43 48 45 44 01 04 82 84 8b 96 dd 06 00 10 18 02 00 00
resp_ies - hexdump(len=6): 01 04 82 84 8b 96
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:07:0e:b4:2a:f0
Association event - clear replay counter
Associated to a new BSS: BSSID=00:07:0e:b4:2a:f0
No keys have been configured - skip key clearing
Network configuration found for the current AP
Associated with 00:07:0e:b4:2a:f0
Setting authentication timeout: 10 sec 0 usec
RX EAPOL from 00:07:0e:b4:2a:f0
Setting authentication timeout: 70 sec 0 usec
WPA: EAPOL frame too short, len 46, expecting at least 99



My config file is as shown:

eapol_version=1
ap_scan=2
fast_reauth=0
network={
    ssid="NOSTRINGSATTACHED"
    key_mgmt=IEEE8021X
    scan_ssid=1
    eap=PEAP
    identity="vsstudent\dlonie"
    password="030187"
    ca_cert="/etc/cert/ca.pem"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
}


When I add in the ctrl_interface options, it crashes, so I left them out.

Anyone know what to do about the frame being too short? Is there an 
option to set it?

David




More information about the Hostap mailing list