wpa_supplicant + open APs

Stefan Ehmann shoesoft at gmx.net
Fri Sep 30 02:59:28 PDT 2005


I'm using the if_iwi driver. At home I'm using WPA, at work there's an
open AP. I want to use wpa_supplicant for both, so I don't need to edit
configs each time I switch locations.

wpa_supplicant works fine with the WPA setup but fails to associate with
the open AP.

My wpa_supplicant.conf looks something like this:

ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
        ssid="homessid"
        key_mgmt=WPA-PSK
        psk="mypass"
}       

network={
        ssid="workssid"
        key_mgmt=NONE
}

The same config file works fine using Linux, so I believe it should be
correct.

Has anyone succeeded in wpa_supplicant and open APs? Does it work it at
all or is this just a if_iwi problem?

wpa_supplicant correctly detects the AP when scanning, but the following
lines look bogus (especially the 00:00:00:00:00:00 instead of the real
MAC)

wpa_driver_bsd_set_drop_unencrypted: enabled=0
wpa_driver_bsd_associate: ssid 'homessid' wpa ie len 0 pairwise 0 group
0 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 0
Setting authentication timeout: 5 sec 0 usec
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist

More debug output can be provided if needed.

Thanks.



More information about the freebsd-current mailing list