Association Problems. (WPA_Supplicant 0.5.1 + Madwifi-ng 20060210)

Renaud Roques r.roques at i2e.fr
Fri Feb 24 05:01:01 EST 2006


Hi list, 

I have a problem for associating to my AP with WPA.
I use Wpa_Supplicant 0.5.1 and the latest madwifi-ng.

When I try to scan the APs with iwlist, I obtain good results. I see the 3
AP in my range, but when I use WPA_Supplicant, I cannot associate. Here is
the log of wpa_supplicant and the configuration file I use.

In the Log, I don't understand two things :
The line : 
SIOCGIWRANGE: too old (short) data - assuming WPA is not supported
Because the card I use is Cisco Aironet 802.11 a/b/g and is supporting WPA
(I used WPA with it before, when I used old madwifi drivers...)


And here :
Received 733 bytes of scan results (3 BSSes)
Scan results: 3
Authentication with 00:00:00:00:00:00 timed out.

He has 3 scan results and he is still trying to authenticate with
00:00:00:00:00:00 ... Why ?

If someone can help ...


Thank you in advance.



-------------
Config File :
-------------
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=2
fast_reauth=1

network={
  ssid="my_ssid"
  scan_ssid=1
  key_mgmt= WPA_EAP
  pairwise=TKIP
  group=TKIP
  eap=LEAP
  identity="user"
  password="pass"
}

--------
Log File
--------

# ./wpa_supplicant -dd -c ./wpa_supplicant.nfe.conf -Dmadwifi -i ath0
Initializing interface 'ath0' conf './wpa_supplicant.nfe.conf' driver
'madwifi' ctrl_interface 'N/A'
Configuration file './wpa_supplicant.nfe.conf' ->
'/var/mntx/./wpa_supplicant.nfe.conf'
Reading configuration file '/var/mntx/./wpa_supplicant.nfe.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=2
fast_reauth=1
Line: 305 - start of a new network block
ssid - hexdump_ascii(len=9):
     42 44 54 5f 54 44 53 54 61                        BDT_TDSTa
scan_ssid=1 (0x1)
key_mgmt: 0x1
auth_alg: 0x4
group: 0x8
identity - hexdump_ascii(len=11):
     41 4e 54 41 2d 30 30 30 31 2d 31                  ANTA-0001-1
password - hexdump_ascii(len=5): [REMOVED]
Priority group 0
   id=0 ssid='BDT_TDSTa'
Initializing interface (2) 'ath0'
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: too old (short) data - assuming WPA is not supported
Own MAC address: 00:40:96:ad:22:75
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface ath0
Wireless event: cmd=0x8b06 len=8
Ignore event for foreign ifindex 6
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'BDT_TDSTa'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x4
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK CCMP
WPA: using KEY_MGMT 802.1X
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00
00 0f ac 04 01 00 00 0f ac 01 00 00
No keys have been configured - skip key clearing
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_madwifi_associate
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=22
Wireless event: cmd=0x8b19 len=12
Received 733 bytes of scan results (3 BSSes)
Scan results: 3
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING


Renaud ROQUES




More information about the HostAP mailing list