can't connect to AP

Bryan Kadzban bryan
Thu Oct 20 09:48:57 PDT 2005

On Thu, Oct 20, 2005 at 06:10:59AM -0700, none none wrote:
> After making the change, it still doesn't connect, but it looks
> a little closer (at least it sees the access point).

I'm not exactly sure that it does.  From your debug output, it looks
like it's not seeing any BSSIDs; it's going ahead and using the
"mydomain" SSID, but that doesn't mean it sees anything that matches the
rest of its configuration.

> 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"
>         }

Doesn't the sample config file say that you have to specify one value
for all of:


when you use ap_scan=2?  The defaults for all of these are multiple
values, I believe.  Your output makes it look like wpa_supplicant is
trying to use CCMP for both pairwise and group, and either RSN or WPA
for proto (I'm not exactly sure which).  Is your AP set up to do that?
Or is it set up to do WPA (version 1) with TKIP encryption instead?

> WPA: using GTK CCMP
> WPA: using PTK CCMP
> 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

(These lines are why I know it's using CCMP, and I think it's using

> <...>
> Authentication with 00:00:00:00:00:00 timed out.
> Added BSSID 00:00:00:00:00:00 into blacklist

And it can't find a BSSID that matches its configuration (at least, I
think that's the problem); normally there's a nonzero BSSID shown.

If your AP is set to do WPA-PSK with TKIP (not CCMP/AES/WPA2/whatever),
then try adding:


to the network block.  Otherwise try adding:


to the network block.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 

More information about the Hostap mailing list