Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2005 08:46:11 -0500
From:      Eric Schuele <e.schuele@computer.org>
To:        Stefan Ehmann <shoesoft@gmx.net>
Cc:        current@freebsd.org
Subject:   Re: wpa_supplicant + open APs
Message-ID:  <433D41A3.5000606@computer.org>
In-Reply-To: <1128074359.1482.17.camel@localhost>
References:  <1128074359.1482.17.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 


-- 
Regards,
Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?433D41A3.5000606>