View Single Post
  #1   (View Single Post)  
Old 23rd September 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default wpa_supplicant won't connect to AP

I'm trying to get my laptop (with an intel wireless mini-pci card) to connect to a WPA enabled wireless network. I'm running 7.1-PRERELEASE (tracking -STABLE).

This is my wpa_supplicant.conf file:

Quote:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
ssid="CITFRONT"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="CG*******"
}
And here's the output from wpa_supplicant, run with -dd to get debug info:

Quote:
Initializing interface 'iwi0' 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='wheel' (DEPRECATED)
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=8):
43 49 54 46 52 4f 4e 54 CITFRONT
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
group: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='CITFRONT'
Initializing interface (2) 'iwi0'
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
Own MAC address: 00:13:ce:a8:10:ea
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
ctrl_interface_group=0 (from group name 'wheel')
Added interface iwi0
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
Try to find non-WPA AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
Try to find non-WPA AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
Try to find non-WPA AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
Try to find non-WPA AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
Try to find non-WPA AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
Try to find non-WPA AP
0: 00:14:6c:09:c9:9c ssid='CITFRNT' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface iwi0
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_bsd_set_wpa: enabled=0
wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
wpa_driver_bsd_set_drop_unencrypted: enabled=0
wpa_driver_bsd_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
I'm guessing that the real problem is "skip - SSID mismatch" but I'm not sure what that means. It obviously sees the wireless network, but is refusing to connect. If I boot off of an Ubuntu Hardy CD, I can connect, using that psk key.

Does anyone have any ideas?

Adam
Reply With Quote