Re: wpa_supplicant + open APs

From: Eric Schuele <e.schuele_at_computer.org>
Date: Fri, 30 Sep 2005 08:46:11 -0500
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
Received on Fri Sep 30 2005 - 11:46:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC