wpa_supplicant + open APs
Eric Schuele
e.schuele at computer.org
Fri Sep 30 06:46:14 PDT 2005
Stefan Ehmann wrote:
> 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?
I can get it working with both WPA-PSK and open sites. Does your office
hide the ssid? if so try scan_ssid=1.
[OT]
My problem is I can't get WEP to work. You?
>
> 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.
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
--
Regards,
Eric
More information about the freebsd-current
mailing list