can't connect to AP

none none throw_away_2002 at yahoo.com
Sun Oct 16 04:51:03 EDT 2005


Trying for days to get this to work. :(

# dog /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
        key_mgmt=WPA-PSK
        psk="mypassword"
        ssid="mydomain"
        }


When I try to run wpa_supplicant, I get this:

# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf
-Dndiswrapper -dd
Initializing interface 'wlan0' conf
'/etc/wpa_supplicant.conf' driver 'ndiswrapper'
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
ap_scan=1
Line: 5 - start of a new network block
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
ssid - hexdump_ascii(len=11):
     6c 6f 63 61 6c 64 6f 6d 61 69 6e                 
localdomain
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='mydomain'
Initializing interface (2) 'wlan0'
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:  [REMOVED]
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 704 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: [REMOVED] ssid='otherdomain1' wpa_ie_len=24 rsn_ie_len=0

   skip - SSID mismatch
1: [REMOVED] ssid='otherdomain2' wpa_ie_len=0 rsn_ie_len=0 
   skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0

Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
Scan timeout - try to get results 
Received 704 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: [REMOVED] ssid='otherdomain1' wpa_ie_len=24 rsn_ie_len=0

   skip - SSID mismatch
1: [REMOVED] ssid='otherdomain2' wpa_ie_len=0 rsn_ie_len=0 
   skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0
startWhen=0 idleWhile=0


The last nineteen lines just repeat over and over again. 

Any suggestions? Thanks.


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the HostAP mailing list