AW: Hi, Failed to set encryption with wpa_supplicant failed to connectAP

Haydar Tekir haydar.tekir
Fri Dec 30 08:29:42 PST 2005


Hi and here we go:


linux:/home/mesiah # wpa_supplicant -ieth1 -Dwext
-c/var/run/wpa_supplicant-eth1.conf -dd
Initializing interface 'eth1' conf '/var/run/wpa_supplicant-eth1.conf'
driver 'wext'
Configuration file '/var/run/wpa_supplicant-eth1.conf' ->
'/var/run/wpa_supplicant-eth1.conf'
Reading configuration file '/var/run/wpa_supplicant-eth1.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=2
Line: 3 - start of a new network block
scan_ssid=1 (0x1)
ssid - hexdump_ascii(len=6):
     6d 65 73 69 61 68                                 mesiah
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='mesiah'
Initializing interface (2) 'eth1'
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
ioctl[SIOCSIWPMKSA]: Operation not supported
SIOCGIWRANGE: WE(compiled)=18 WE(source)=16 enc_capa=0x0
  capabilities: key_mgmt 0x0 enc 0x3
Own MAC address: 00:0c:f1:15:02:fe
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'mesiah'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: Failed to parse WPA IE from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 30 pairwise 24 key_mgmt 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04
01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_associate
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b1a len=19
State: ASSOCIATING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_wpa
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing

Rgds

Haydar

-----Urspr?ngliche Nachricht-----
Von: hostap-bounces+haydar.tekir=gmx.net at shmoo.com
[mailto:hostap-bounces+haydar.tekir=gmx.net at shmoo.com] Im Auftrag von
Bryan Kadzban
Gesendet: Freitag, 30. Dezember 2005 14:39
An: hostap at shmoo.com
Betreff: Re: Hi, Failed to set encryption with wpa_supplicant failed to
connectAP


Haydar Tekir wrote:
> The driver is complied with ipw2100, I don't how to HOW to configure 
> the wlan card with Wext driver. When I use the -Dwext switch I get no 
> connection to the AP as well.

Ah, now that would probably be a different issue, which is not caused by
the ioctl calls failing.  (That's what the change to -Dwext fixes.)

> I get same errors as in ipw2100/wext:

I didn't see any ioctl errors there, so at least that part's working.
Right?

> WPA: Failed to parse WPA IE from association info
> WPA: Set cipher suites based on configuration
> WPA: Selected cipher suites: group 30 pairwise 24 key_mgmt 2
> WPA: clearing AP WPA IE
> WPA: clearing AP RSN IE
> WPA: using GTK CCMP
> WPA: using PTK CCMP
> WPA: using KEY_MGMT WPA-PSK
> WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04

> 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 No keys have been configured

> - skip key clearing wpa_driver_wext_set_drop_unencrypted

I don't think this is enough of the log to see what's going on.  Try
sending the whole thing, like you did when you used -Dipw.





More information about the Hostap mailing list