Authentication timeout with wext driver and ipw3945 card

Dan Williams dcbw at redhat.com
Thu Jan 17 10:57:11 EST 2008


On Thu, 2008-01-17 at 09:14 +0100, Giuliano Pasqualotto wrote:
> Hi everyone,
> I've seen the same problem more time in this mailing list, but I'm not
> able to understand how could I resolve it. :-)
> Well, I've installed an Intel ipw3945 in my Slackware 12 and it works
> correctly (without authentication WEP WPA etc.). 
> After that I've built and installed wpa_supplicant 0.5.9., and tried
> to launch with this "classical" configuration file:
> 
> ctrl_interface=/var/run/wpa_supplicant
> ap_scan=0

This could be your problem.  Use ap_scan=1 or ap_scan=2.

> network={
>         ssid="alegigijacopogiulio...ntwk!" 
>         proto=WPA
>         key_mgmt=WPA-PSK
>         pairwise=CCMP TKIP
>         group=CCMP TKIP WEP104 WEP40
>         psk=my_psk_in_hex
>         priority=5
> }
> 
> Now, running wpa_supplicant (with: wpa_supplicant -eth1 -Dwext
> -c/etc/wpa_supplicant.conf -dd) it initially authenticates, 
> but after some seconds it says me:
>         ...
>         Authentication with 00:1b:11:86:d7:8a timed out.
>         Added BSSID 00:1b:11:86:d7:8a into blacklist
>         wpa_driver_wext_disassociate
>         ... 

This means that the driver was unable to authenticate and associate to
your access point with the given settings.  This means that either (a)
your settings are wrong, or (b) the driver has a bug.

First I'd make 100% sure that your settings in the wpa_supplicant config
are correct, then I guess you get to enable debugging in the kernel
driver and try to trace why the driver isn't able to associate with the
parameters you gave it.

What kernel version?  What version of ipw3945?  What version of
ieee80211 stack?  You might want to try mac80211 and iwl3495 instead
just for another data point.

Dan

> and I'm not able to obtain an IP address using dhcp (consequently?).
> I've checked /var/log/messages, syslog (without infos), and dmesg that
> says me:
>         ...
>         eth1: no IPv6 routers present 
>         ...
> 
> Anyone could help me? Below I've pasted the output of wpa_supplicant.
> Thank's in advance! 
> 
> Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver
> 'default' ctrl_interface 'N/A' bridge 'N/A' 
> Configuration file '/etc/wpa_supplicant.conf' ->
> '/etc/wpa_supplicant.conf'
> Reading configuration file '/etc/wpa_supplicant.conf'
> ctrl_interface='/var/run/wpa_supplicant'
> ctrl_interface_group='0' (DEPRECATED) 
> ap_scan=0
> Line: 22 - start of a new network block
> ssid - hexdump_ascii(len=27):
>      61 6c 65 67 69 67 69 6a 61 63 6f 70 6f 67 69 75
> alegigijacopogiu
>      6c 69 6f 2e 2e 2e 6e 74 77 6b 21                  lio...ntwk! 
> proto: 0x1
> key_mgmt: 0x2
> pairwise: 0x18
> group: 0x1e
> PSK - hexdump(len=32): [REMOVED]
> priority=5 (0x5)
> Priority group 5
>    id=0 ssid='alegigijacopogiulio...ntwk!'
> 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
> SIOCGIWRANGE: WE(compiled)=22 WE(source)=16 enc_capa=0xf
>   capabilities: key_mgmt 0xf enc 0xf
> WEXT: Operstate: linkmode=1, operstate=5
> Own MAC address: 00:18:de:13:99: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
> ctrl_interface_group=0 
> Added interface eth1
> RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
> Wireless event: cmd=0x8b06 len=8
> RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
> RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
> RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
> RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
> RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
> RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added 
> RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
> Wireless event: cmd=0x8b15 len=20
> Wireless event: new AP: 00:1b:11:86:d7:8a
> State: DISCONNECTED -> ASSOCIATED
> wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 
> WEXT: Operstate: linkmode=-1, operstate=5
> Associated to a new BSS: BSSID=00:1b:11:86:d7:8a
> No keys have been configured - skip key clearing
> Network configuration found for the current AP
> WPA: No WPA/RSN IE available from association info 
> WPA: Set cipher suites based on configuration
> WPA: Selected cipher suites: group 30 pairwise 24 key_mgmt 2 proto 1
> 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=24): dd 16 00 50 f2 01 01 00
> 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02
> EAPOL: External notification - EAP success=0
> EAPOL: External notification - EAP fail=0 
> EAPOL: External notification - portControl=Auto
> Associated with 00:1b:11:86:d7:8a
> WPA: Association event - clear replay counter
> EAPOL: External notification - portEnabled=0
> EAPOL: External notification - portValid=0 
> EAPOL: External notification - EAP success=0
> EAPOL: External notification - portEnabled=1
> EAPOL: SUPP_PAE entering state CONNECTING
> EAPOL: SUPP_BE entering state IDLE
> Setting authentication timeout: 10 sec 0 usec 
> Cancelling scan request
> EAPOL: startWhen --> 0
> EAPOL: SUPP_PAE entering state CONNECTING
> EAPOL: txStart
> WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
> Authentication with 00:1b:11:86:d7:8a timed out. 
> Added BSSID 00:1b:11:86:d7:8a into blacklist
> wpa_driver_wext_disassociate
> No keys have been configured - skip key clearing
> State: ASSOCIATED -> DISCONNECTED
> wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 
> WEXT: Operstate: linkmode=-1, operstate=5
> EAPOL: External notification - portEnabled=0
> EAPOL: SUPP_PAE entering state DISCONNECTED
> EAPOL: SUPP_BE entering state INITIALIZE
> EAPOL: External notification - portValid=0 
> EAPOL: External notification - EAP success=0
> Setting scan request: 0 sec 0 usec
> RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
> Wireless event: cmd=0x8b15 len=20
> Wireless event: new AP: 00:00:00:00:00:00
> Added BSSID 00:00:00:00:00:00 into blacklist
> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
> 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_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
> State: DISCONNECTED -> DISCONNECTED
> wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
> WEXT: Operstate: linkmode=-1, operstate=5
> EAPOL: External notification - portEnabled=0
> EAPOL: External notification - portValid=0 
> EAPOL: External notification - EAP success=0
> RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
> RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
> 
> 
> -- 
> I disapprove of what you say, but I will defend to the death your
> right to say it. 
> Voltaire 
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



More information about the HostAP mailing list