EAPOL frame too short error with Cisco 1200 AP

Derek Schuff schuffdl at ornl.gov
Tue Jun 1 13:14:43 EDT 2004


One other thing I forgot to mention that was probably unrelated was that it 
makes a very poor choice of AP when it scans. My office has very good 
coverage, and there are 2 or 3 APs better than the one it chose. 
(00:0c:85:60:f1:b4). When I use the card in normal WEP mode it does pick the 
closest AP, but not with wpa_supplicant.

On Tuesday 01 June 2004 01:11 pm, Derek Schuff wrote:
> I've been trying to get wpa_supplicant to work with my Netgear MA401 card
> and Cisco 1200 APs.
> It seems to be enabling WPA and associating but i get this error message:
>
> WPA: EAPOL frame too short, len 46, expecting at least 99
>
> Anyone seen this before?
>
> Here's some detailed info:
>
> hostap driver and wpa_supplicant versions 0.2.2
>
> The firmware versions, loaded into RAM but not yet flashed:
> NIC: id=0x800c v1.0.0
> PRI: id=0x15 v1.0.7
> STA: id=0x1f v1.7.4
>
> here's the config file:
> network={
>         ssid="ornlwpa"
>         scan_ssid=1
>         proto=WPA
>         key_mgmt=WPA-EAP
>         pairwise=TKIP
>         group=TKIP
>         eap=PEAP
>         identity="test_user"
>         password="test"
> #       ca_cert="/etc/cert/ca.pem"
> #       client_cert="/etc/cert/user.pem"
> #       private_key="/etc/cert/user.prv"
> #       private_key_passwd="password"
> }
>
> These APs have multiple SSIDs, and they advertise a different SSID
> (ornl-visitor) than the one I want (ornlwpa) so scanning is enabled.
> heres the output of debug mode
> root at xdslt:/home/xds/software/wpa_supplicant-0.2.2# ./wpa_supplicant -dw
> -iwlan0 -cwpa_supplicant.conf
> Configuration file 'wpa_supplicant.conf' ->
> '/home/xds/software/wpa_supplicant-0.2.2/wpa_supplicant.conf'
> Reading configuration file
> '/home/xds/software/wpa_supplicant-0.2.2/wpa_supplicant.conf'
> ctrl_interface='/var/run/wpa_supplicant'
> eapol_version=1
> 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
> wpa_driver_hostap_set_wpa: enabled=1
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_countermeasures: enabled=0
> wpa_driver_hostap_set_drop_unencrypted: enabled=1
> Wireless event: cmd=0x8b15 len=20
> Wireless event: new AP: 00:00:00:00:00:00
> Disconnect event - remove keys
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> EAPOL: External notification - portEnabled=0
> EAPOL: External notification - portValid=0
> Wireless event: cmd=0x8b15 len=20
> Wireless event: new AP: 00:00:00:00:00:00
> Disconnect event - remove keys
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> EAPOL: External notification - portEnabled=0
> EAPOL: External notification - portValid=0
> Starting AP scan (broadcast SSID)
> Wireless event: cmd=0x8b19 len=12
> Received 903 bytes of scan results (5 BSSes)
> Scan results: 5
> 0: 00:0c:85:60:f1:b4 ssid='ornl-visitor' wpa_ie_len=0 rsn_ie_len=0
>    skip - no WPA/RSN IE
> 1: 00:0c:85:60:f1:f1 ssid='ornl-visitor' wpa_ie_len=0 rsn_ie_len=0
>    skip - no WPA/RSN IE
> 2: 00:0c:85:60:f1:d5 ssid='ornl-visitor' wpa_ie_len=0 rsn_ie_len=0
>    skip - no WPA/RSN IE
> 3: ae:bb:eb:c1:de:6f ssid='DEPOTACCESS' wpa_ie_len=0 rsn_ie_len=0
>    skip - no WPA/RSN IE
> 4: 00:0c:85:60:f2:49 ssid='ornl-visitor' wpa_ie_len=0 rsn_ie_len=0
>    skip - no WPA/RSN IE
> No suitable AP found.
> Starting AP scan (specific SSID)
> Scan SSID - hexdump_ascii(len=7):
>      6f 72 6e 6c 77 70 61                              ornlwpa
> Wireless event: cmd=0x8b19 len=12
> Received 1813 bytes of scan results (9 BSSes)
> Scan results: 9
> 0: 00:0c:85:60:f1:b4 ssid='ornlwpa' wpa_ie_len=24 rsn_ie_len=0
> Trying to associate with 00:0c:85:60:f1:b4 (SSID='ornlwpa' freq=2412 MHz)
> WPA: using IEEE 802.11i/D3.0
> WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01
> 00 00 50 f2 02 01 00 00 50 f2 01
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_associate
> Wireless event: cmd=0x8b15 len=20
> Wireless event: new AP: 00:00:00:00:00:00
> Disconnect event - remove keys
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> EAPOL: External notification - portEnabled=0
> EAPOL: External notification - portValid=0
> Wireless event: cmd=0x8b04 len=12
> Wireless event: cmd=0x8b15 len=20
> Wireless event: new AP: 00:00:00:00:00:00
> Disconnect event - remove keys
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> EAPOL: External notification - portEnabled=0
> EAPOL: External notification - portValid=0
> Wireless event: cmd=0x8b1a len=19
> RX EAPOL from 00:0c:85:60:f1:b4
> EAPOL frame received in disassociated state - dropped
> Wireless event: cmd=0x8b15 len=20
> Wireless event: new AP: 00:0c:85:60:f1:b4
> Association event - clear replay counter
> Associated to a new BSS: BSSID=00:0c:85:60:f1:b4
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> EAPOL: External notification - portValid=0
> EAPOL: External notification - portEnabled=1
> EAPOL: SUPP_PAE entering state CONNECTING
> EAPOL: txStart
> EAPOL: SUPP_BE entering state IDLE
> EAP: EAP entering state INITIALIZE
> EAP: EAP entering state IDLE
> RX EAPOL from 00:0c:85:60:f1:b4
> 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=2
> EAP: EAP entering state IDENTITY
> EAP: EAP-Request Identity data - hexdump_ascii(len=0):
> EAP: using real identity - hexdump(len=9): 74 65 73 74 5f 75 73 65 72
> EAP: EAP entering state SEND_RESPONSE
> EAP: EAP entering state IDLE
> EAPOL: SUPP_BE entering state RESPONSE
> EAPOL: txSuppRsp
> EAPOL: SUPP_BE entering state RECEIVE
>
> -->Heres what I think the real error message is, but i could be wrong
> WPA: EAPOL frame too short, len 46, expecting at least 99
> -->If I let it go, it just repeats, so I kill it here.
> Signal 2 received - terminating
> wpa_driver_hostap_disassociate
> wpa_driver_hostap_reset: type=2
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> 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
> wpa_driver_hostap_set_wpa: enabled=0
> wpa_driver_hostap_set_drop_unencrypted: enabled=0
> wpa_driver_hostap_set_countermeasures: enabled=0
>
>
> any help or suggestions would be appreicated. Thanks.
>
> Derek
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



More information about the HostAP mailing list