DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #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
  #2   (View Single Post)  
Old 23rd September 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Default

CITFRNT != CITFRONT, you configuration is wrong.
Reply With Quote
  #3   (View Single Post)  
Old 23rd September 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Wow, good catch.
__________________
Kill your t.v.
Reply With Quote
  #4   (View Single Post)  
Old 23rd September 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Those darn little typo's always cause the most confusion !
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #5   (View Single Post)  
Old 24th September 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

Thanks :-) I can't believe it was something so stupid.

Adam
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
connect to OpenBSD BOX with VNC mfaridi OpenBSD General 9 14th April 2010 08:38 PM
How understand someone connect to my BOX with VNC mfaridi OpenBSD Security 8 21st November 2008 12:24 AM
FTP-Proxy cannot connect plexter OpenBSD Packages and Ports 6 11th October 2008 05:59 PM
wpa_supplicant: atheros up & down like a yo-yo, interrupt storms too sim FreeBSD General 5 18th June 2008 05:12 AM


All times are GMT. The time now is 01:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick