can't connect to AP

none none throw_away_2002 at yahoo.com
Thu Oct 20 09:10:59 EDT 2005


--- Bryan Kadzban <bryan at kadzban.is-a-geek.net> wrote:
> Maybe you need to set ap_scan=2 if the SSID IE
> is not being put into the beacons?  Read the
> example config file, though, because you'll
> need to do other stuff if you set ap_scan=2.

Thanks for the reply. I read that, but it didn't
click the first time (of course it did right after
I sent my second message). After making the change,
it still doesn't connect, but it looks a little
closer (at least it sees the access point).

The new config:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=2

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


The new output:

# wpa_supplicant -Dndiswrapper -c/etc/wpa_supplicant.conf
-iwlan0 -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=2
Line: 5 - start of a new network block
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
ssid - hexdump_ascii(len=11):
     [REMOVED]                  mydomain
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

Trying to associate with SSID 'mydomain'
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 30 pairwise 24 key_mgmt
2
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=22): 30 14 01 00 00 0f ac 04
01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
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
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
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

Trying to associate with SSID 'mydomain'
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 30 pairwise 24 key_mgmt
2
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=22): 30 14 01 00 00 0f ac 04
01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
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
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 2
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

The last twenty-five lines repeat indefinitely.

Thank you again for your help.


		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/



More information about the HostAP mailing list