wpa_supplicant and hidden ssid

Katharina Brandl kathi.brandl at gmx.de
Sat Nov 1 10:39:04 EDT 2008


Hello Helmut,

thanks a lot for your help. ap_scan=1 doesn't work, but ap_scan=2 and 
pairwise/group ciphers in my config file it works fine.
So for others having the same problems, my wpa_supplicant.conf:

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

network={
ssid="mySSID"
key_mgmt=WPA-PSK
psk="passphrase"
priority=5
proto=WPA
pairwise=TKIP
pairwise=TKIP
}

What exactely is the meaning of proto and priority? Becauce these two 
line are the only ones I added and now I works...

Regards,
Kathi

Helmut Schaa wrote:
> Am Samstag, 1. November 2008 schrieb Katharina Brandl:
>> is it possible to connect to a network with hidden ssid via 
>> wpa_supplicant?
> 
> Yes, this is possible ;)
> 
>> I have the ipw2200 driver and the network works with  
>> WPA-PSK and pairwise/group cipher TKIP.
> 
> With a recent ipw2200 you should be able to use either ap_scan=2 or ap_scan=1
> in your configuration file. The difference between both approaches is: with
> ap_scan=1 you do not need to configure the group/pairwise cipher at all as
> wpa_supplicant will see which ciphers are supported in the scan results and
> choose the AP it wishes to associate with. With ap_scan=2 the decision is left
> to the driver and thus the driver needs to know the used ciphers -> You need
> to configure the ciphers in your configuration file. Therefore I'd suggest to
> use ap_scan=1.
> 
> => Your configuration file should contain at least the following:
> 
> ap_scan=1
> network={
>         ssid="your_networks_name"
>         psk="your_password"
>         key_mgmt=WPA-PSK
>         priority=5
>         proto=WPA
> }
> 
> Regards,
> Helmut
> 


More information about the HostAP mailing list