Trying to connect to network with LEAP authentication
Dan Williams
dcbw
Tue Sep 19 18:37:11 PDT 2006
On Tue, 2006-09-19 at 18:20 -0700, James J. Ramsey wrote:
> My university's wireless network uses LEAP
> authentication. It has assigned me a user name and
> password, and I can use these to access the network
> with Windows XP booted on my laptop, but I have had no
> luck with Linux so far. My wireless card is an
> Intel/Pro Wireless 3945 (ipw3945). My distro is
> Ubuntu. The domain name of the network is UANET, and
> the ESSID is "tsunami." I did not need this
> information, though, to connect to the network on
> Windows. The drivers appear to be correctly installed
> (?). The ipw3945d daemon runs in the background as it
> should, and "sudo iwlist eth1 scan" brings up a list
> of networks. OTOH, running "sudo iwlist eth1 ap" gets
> me "eth1 Interface doesn't have a list of
> Peers/Access-Points".
>
> This is my config file,
> /home/jjramsey/Wireless-stuff/mywpasupp.conf (except
> the password is X'd out):
>
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=0
>
> eapol_version=1
> ap_scan=1
> fast_reauth=1
>
> network={
> ssid="tsunami"
> key_mgmt=IEEE8021X
> eap=LEAP
> identity="jjr19"
> password="XXXX"
> }
What happens if you add "proto=WPA" there too? And does your LEAP
network use "IEEE8021X" or "WPA-EAP" key management? These are options
that NetworkManager may pass to wpa_supplicant, and they appear to work.
Dan
> This is the output from running "sudo wpa_supplicant
> -c/home/jjramsey/Wireless-stuff/mywpasupp.conf -ieth1
> -Dwext -dd":
>
> Initializing interface 'eth1' conf
> '/home/jjramsey/Wireless-stuff/mywpasupp.conf' driver
> 'wext' ctrl_interface 'N/A'
> Configuration file
> '/home/jjramsey/Wireless-stuff/mywpasupp.conf' ->
> '/home/jjramsey/Wireless-stuff/mywpasupp.conf'
> Reading configuration file
> '/home/jjramsey/Wireless-stuff/mywpasupp.conf'
> ctrl_interface='/var/run/wpa_supplicant'
> ctrl_interface_group=0
> eapol_version=1
> ap_scan=1
> fast_reauth=1
> Line: 8 - start of a new network block
> ssid - hexdump_ascii(len=7):
> 74 73 75 6e 61 6d 69
> tsunami
> key_mgmt: 0x8
> eap methods - hexdump(len=2): 11 00
> identity - hexdump_ascii(len=5):
> 6a 6a 72 31 39
> jjr19
> password - hexdump_ascii(len=8): [REMOVED]
> Priority group 0
> id=0 ssid='tsunami'
> 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:9c:47:e4
> 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
> State: DISCONNECTED -> SCANNING
> Starting AP scan (broadcast SSID)
> Scan timeout - try to get results
> Received 845 bytes of scan results (5 BSSes)
> Scan results: 5
> Selecting BSS from priority group 0
> 0: 00:40:96:47:ae:49 ssid='tsunami' wpa_ie_len=0
> rsn_ie_len=0 caps=0x11
> skip - no WPA/RSN IE
> 1: 00:40:96:51:86:24 ssid='tsunami' wpa_ie_len=0
> rsn_ie_len=0 caps=0x11
> skip - no WPA/RSN IE
> 2: 00:40:96:47:87:66 ssid='tsunami' wpa_ie_len=0
> rsn_ie_len=0 caps=0x11
> skip - no WPA/RSN IE
> 3: 00:40:96:40:56:94 ssid='tsunami' wpa_ie_len=0
> rsn_ie_len=0 caps=0x11
> skip - no WPA/RSN IE
> 4: 00:40:96:51:79:0c ssid='tsunami' wpa_ie_len=0
> rsn_ie_len=0 caps=0x11
> skip - no WPA/RSN IE
> selected non-WPA AP 00:40:96:47:ae:49
> ssid='tsunami'
> Trying to associate with 00:40:96:47:ae:49
> (SSID='tsunami' freq=0 MHz)
> Cancelling scan request
> WPA: clearing own WPA/RSN IE
> Automatic 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=16
> 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: 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
> 2
> --snip--
>
> Is there something obviously wrong with my configuration?
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
More information about the Hostap
mailing list