ipw3945, Cisco LEAP

Dan Williams dcbw at redhat.com
Sat Dec 23 15:45:29 EST 2006


On Thu, 2006-12-21 at 11:31 -0600, Greg Willden wrote:
> Hi All,
> I'm new to this list and wpa_supplicant.
> I am trying to get my laptop's wireless working with my company's
> Cisco LEAP APs.
> 
> I have ipw3945 with module version 1.0.5m
> wpa_supplicant is v0.4.8 
> $ uname -a
> Linux eiger 2.6.15-27-386 #1 PREEMPT Fri Dec 8 17:51:56 UTC 2006 i686
> GNU/Linux
> 
> So far the following configuration seems to get the closest to
> working.  Although the auth_alg=LEAP doesn't seem to make any
> difference. 
> 
> network={
> ssid="ADSWireless"
> scan_ssid=1
> #key_mgmt=WPA-EAP
> key_mgmt=IEEE8021X
> auth_alg=LEAP
> eap=LEAP
> priority=2
> proto=WPA
> identity="username"
> password="password" 
> }
> 
> Here is a dump from wpa_supplicant.

The driver itself is not actually associating with the access point, so
you never even get to the LEAP part.  You could try a few things:

1) just try to associate manually with 'iwconfig'.  Obviously you need
wpa_supplicant to do the LEAP stuff, but since you have to associate
first before you can start the LEAP exchanges, the driver should be
sending the associate event.  But it's not; and therefore wpa_supplicant
isn't able to start the LEAP exchange.  So anyway, run 'iwevent' in one
window, and do your iwconfig stuff in another, and see if you get an
SIWAP event that's not 0s.

2) Enable debug information in the ipw3945 driver, and get a dump of
what the _driver_ thinks its doing.  This is clearly a misconfiguration
problem between the driver and wpa_supplicant, but your config seems to
be the standard LEAP config, I -think-.

3) what happens if you take 'proto=WPA' out completely?

Dan

> Can you offer any suggestions?
> Thanks
> Greg
> 
> 
> $ sudo wpa_supplicant -ieth1 -Dwext -c/etc/wpa_supplicant.conf -dd
> 
> Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver
> 'wext' ctrl_interface 'N/A' 
> Configuration file '/etc/wpa_supplicant.conf' ->
> '/etc/wpa_supplicant.conf'
> Reading configuration file '/etc/wpa_supplicant.conf'
> Line: 1 - start of a new network block
> ssid - hexdump_ascii(len=11): 
>      41 44 53 57 69 72 65 6c 65 73 73                  ADSWireless
> scan_ssid=1 (0x1)
> key_mgmt: 0x8
> auth_alg: 0x4
> eap methods - hexdump(len=2): 11 00
> priority=2 (0x2)
> proto: 0x1
> identity - hexdump_ascii(len=8): 
>      67 77 69 6c 6c 64 65 6e                           gwillden
> password - hexdump_ascii(len=8): [REMOVED]
> Priority group 2
>    id=0 ssid='ADSWireless'
> 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)=19 WE(source)=16 enc_capa=0xf
>   capabilities: key_mgmt 0xf enc 0xf
> Own MAC address: 00:13:02:b3:3f:d9
> 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
> Added interface eth1
> Wireless event: cmd=0x8b06 len=8
> RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added 
> RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
> State: DISCONNECTED -> SCANNING
> Starting AP scan (specific SSID)
> Scan SSID - hexdump_ascii(len=11):
>      41 44 53 57 69 72 65 6c 65 73 73                  ADSWireless 
> 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
> State: SCANNING -> DISCONNECTED
> EAPOL: External notification - portEnabled=0
> EAPOL: External notification - portValid=0 
> 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
> Scan timeout - try to get results
> Received 768 bytes of scan results (4 BSSes) 
> Scan results: 4
> Selecting BSS from priority group 2
> 0: 00:0d:8d:f0:0b:51 ssid='Weathervane' wpa_ie_len=26 rsn_ie_len=0
> caps=0x11
>    skip - SSID mismatch
> 1: 00:40:96:a0:c0:80 ssid='ADSWireless' wpa_ie_len=0 rsn_ie_len=0
> caps=0x11 
>    skip - no WPA/RSN IE
> 2: 00:0f:f7:66:4b:f0 ssid='ADSWireless' wpa_ie_len=0 rsn_ie_len=0
> caps=0x11
>    skip - no WPA/RSN IE
> 3: 00:14:bf:78:4b:b0 ssid='<hidden>' wpa_ie_len=0 rsn_ie_len=0
> caps=0x11 
>    skip - no WPA/RSN IE
>    selected non-WPA AP 00:40:96:a0:c0:80 ssid='ADSWireless'
> Trying to associate with 00:40:96:a0:c0:80 (SSID='ADSWireless' freq=0
> MHz)
> Cancelling scan request
> WPA: clearing own WPA/RSN IE 
> Automatic auth_alg selection: 0x4
> Overriding auth_alg selection: 0x4
> WPA: clearing AP WPA IE
> WPA: clearing AP RSN IE
> WPA: clearing own WPA/RSN IE
> No keys have been configured - skip key clearing
> wpa_driver_wext_set_drop_unencrypted 
> State: DISCONNECTED -> ASSOCIATING
> wpa_driver_wext_associate
> Setting authentication timeout: 10 sec 0 usec
> EAPOL: External notification - portControl=Auto
> Wireless event: cmd=0x8b06 len=8
> Wireless event: cmd=0x8b1a len=20 
> Wireless event: cmd=0x8b15 len=20
> Wireless event: new AP: 00:00:00:00:00:00
> BSSID 00:00:00:00:00:00 blacklist count incremented to 2
> State: ASSOCIATING -> DISCONNECTED
> EAPOL: External notification - portEnabled=0 
> EAPOL: External notification - portValid=0
> 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
> Authentication with 00:00:00:00:00:00 timed out.
> BSSID 00:00:00:00:00:00 blacklist count incremented to 3
> State: DISCONNECTED -> 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
> Starting AP scan (broadcast SSID)
> Scan timeout - try to get results
> Received 767 bytes of scan results (4 BSSes) 
> Scan results: 4
> Selecting BSS from priority group 2
> 0: 00:0d:8d:f0:0b:51 ssid='Weathervane' wpa_ie_len=26 rsn_ie_len=0
> caps=0x11
>    skip - SSID mismatch
> 1: 00:40:96:a0:c0:80 ssid='ADSWireless' wpa_ie_len=0 rsn_ie_len=0
> caps=0x11 
>    skip - no WPA/RSN IE
> 2: 00:0f:f7:66:4b:f0 ssid='ADSWireless' wpa_ie_len=0 rsn_ie_len=0
> caps=0x11
>    skip - no WPA/RSN IE
> 3: 00:14:bf:78:4b:b0 ssid='<hidden>' wpa_ie_len=0 rsn_ie_len=0
> caps=0x11 
>    skip - no WPA/RSN IE
>    selected non-WPA AP 00:40:96:a0:c0:80 ssid='ADSWireless'
> Trying to associate with 00:40:96:a0:c0:80 (SSID='ADSWireless' freq=0
> MHz)
> Cancelling scan request
> WPA: clearing own WPA/RSN IE 
> Automatic auth_alg selection: 0x4
> Overriding auth_alg selection: 0x4
> WPA: clearing AP WPA IE
> WPA: clearing AP RSN IE
> WPA: clearing own WPA/RSN IE
> No keys have been configured - skip key clearing
> wpa_driver_wext_set_drop_unencrypted 
> State: SCANNING -> ASSOCIATING
> wpa_driver_wext_associate
> Setting authentication timeout: 10 sec 0 usec
> EAPOL: External notification - portControl=Auto
> Wireless event: cmd=0x8b06 len=8
> Wireless event: cmd=0x8b1a len=20 
> CTRL-EVENT-TERMINATING - signal 2 received
> Removing interface eth1
> 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
> Removed BSSID 00:00:00:00:00:00 from blacklist (clear)
> Cancelling scan request 
> 
> 
> 
> -- 
> Linux.  Because rebooting is for adding hardware. 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap




More information about the HostAP mailing list