Authentication Time out

Wei Yang wyang2 wyang2
Mon Jul 13 18:44:44 PDT 2009


Thanks for your reply. 

Need some clarification.  I have set the AP in two mode separately. 

First, the AP is set to open mode. So I use the key_mgmt=NONE. And this works. 

Second time, I change the AP to WPA-Personal. But got the authentication timeout error. 
The ap_scan is set to 1 by default. So your suggestion is to change this value? To 0 or 2?





Thanks
Richard Yang

-----Original Message-----
From: Dan Williams [mailto:dcbw at redhat.com] 
Sent: ???, ?? 13, 2009 9:40 PM
To: Wei Yang (wyang2)
Cc: hostap at lists.shmoo.com
Subject: Re: Authentication Time out

On Mon, 2009-07-13 at 15:11 +0800, Wei Yang (wyang2) wrote:
> Hi, all
>  
> When I configure the supplicant with this:
>  
> network={
>         ssid="beautybeast"
>         scan_ssid=1
>         key_mgmt=WPA-PSK
>         proto=WPA
>         pairwise=TKIP
>         group=TKIP
>         psk="12345678"
> }
> 
> The output shows: 
>  
> Associated with 00:21:29:72:a0:bd
> Authentication with 00:21:29:72:a0:bd timed out.

The driver couldn't connect within the timeout, which is pretty long.
What's the 'ap_scan' value, are you leaving it default (1) or are you changing it?

> I am confused with this. 
>  
> BTW, if I use this configuration
> network={
>         ssid="beautybeast"
>         key_mgmt=NONE
> }

So that means your network doesn't actually require encryption to connect.  Can you post the scan result (iwlist wlan0 scan) for that AP?
(obscure the BSSID If you like)  Need to see what flags the AP has in the beacon.

So you obviously are trying to use encryption to connect.  There are a few possibilities:

1) The AP isn't actually set up for encryption, so obviously using encryption with wpa_supplicant isn't going to work

2) The AP is set up for encryption on a hidden SSID (Cisco calls this Guest Mode or something) but the broadcast SSID is unencrypted, and you're trying to connect using the broadcast SSID but the hidden network's security details

3) Random driver problems; easier to debug if you note which kernel version you're using, and what wifi hardware and driver.

Dan





More information about the Hostap mailing list