wpa_supplicant claims AP doesn't do WPA

Paul LeoNerd Evans leonerd at leonerd.org.uk
Wed Dec 20 19:59:32 EST 2006


I have a Linksys WAP54G running version 3.04 of their firmware. It's set
to WPA2-Personal, using AES with a preshared key. It is set to
802.11b-only, since I have slight issues from time to time with
G-enabled cards.

My laptop is using a Linksys WPC11 wireless network card. This is an
802.11b card. It's running wpa_supplicant in debian's package, claiming

ii  wpasupplicant         0.5.5-4               Client support for WPA
and WPA2 (IEEE 802.11i)

According to "iwlist scan" it therefore looks like:

wpc11     Scan completed :
          Cell 01 - Address: 00:06:25:xx:xx:xx
                    ESSID:"leoair"
                    Mode:Master
                    Frequency:2.417 GHz (Channel 2)
                    Signal level:56/153  Noise level:13/153
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s

I can't seem to get wpa_supplicant to connect to it though. My config
file for this AP looks like:

network={
        ssid="leoair"
        key_mgmt=WPA-PSK
        psk="xxxxxxxx"

        priority=10
}

Yet, when I run wpa_supplicant in foreground with "-d -d", it says:

...
Received 578 bytes of scan results (5 BSSes)
Scan results: 5
Selecting BSS from priority group 10
0: 00:06:25:49:c4:05 ssid='leoair' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
...

No WPA IE? Maybe some item of config is missing here? At the AP's end,
or the wpa_supp's end?

If it's any help, find attached the complete output from:

wpa_supplicant -iwpc11 -Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf
  -d -d

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/
-------------- next part --------------
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Invalid argument
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - Initializing interface 'wpc11' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=6):
     6c 65 6f 61 69 72                                 leoair          
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=24): [REMOVED]
priority=10 (0xa)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line: 14 - start of a new network block
ssid - hexdump_ascii(len=16):
     42 54 56 4f 59 41 47 45 52 32 30 39 31 2d 41 39   BTVOYAGER2091-A9
scan_ssid=1 (0x1)
key_mgmt: 0x4
wep_key0 - hexdump(len=13): [REMOVED]
wep_tx_keyidx=0 (0x0)
priority=5 (0x5)
Line: 24 - start of a new network block
ssid - hexdump_ascii(len=5):
     62 61 67 65 6c                                    bagel           
key_mgmt: 0x4
priority=5 (0x5)
Priority group 10
   id=0 ssid='leoair'
Priority group 5
   id=1 ssid='BTVOYAGER2091-A9'
   id=2 ssid='bagel'
Initializing interface (2) 'wpc11'
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
SIOCGIWRANGE: WE(compiled)=20 WE(source)=14 enc_capa=0x0
  capabilities: key_mgmt 0x0 enc 0x3
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:06:25:2a:b2:54
wpa_driver_wext_set_wpa
Driver does not support WPA.
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface wpc11
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wpc11' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=16):
     42 54 56 4f 59 41 47 45 52 32 30 39 31 2d 41 39   BTVOYAGER2091-A9
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 578 bytes of scan results (5 BSSes)
Scan results: 5
Selecting BSS from priority group 10
0: 00:06:25:49:c4:05 ssid='leoair' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
1: 00:06:25:ba:5d:29 ssid='UUTT' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
2: 00:16:01:0d:16:e1 ssid='0016010D16E0' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
3: 00:18:4d:04:3f:84 ssid='B&GAirNet' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
4: 00:09:5b:f6:40:46 ssid='Netgear' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
Selecting BSS from priority group 5
0: 00:06:25:49:c4:05 ssid='leoair' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
1: 00:06:25:ba:5d:29 ssid='UUTT' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
2: 00:16:01:0d:16:e1 ssid='0016010D16E0' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
3: 00:18:4d:04:3f:84 ssid='B&GAirNet' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
4: 00:09:5b:f6:40:46 ssid='Netgear' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b19 len=8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20061221/1a41a5fd/attachment.pgp 


More information about the HostAP mailing list