I spent a pretty long, frustrating evening last night getting wpa_supplicant working with my Intel 3945abg (wpi) card. I could connect when the network was open, or using WEP just fine. However it turned out that I could not connect with WPA unless the AP was showing the ssid. Now hiding ssid is not a show-stopper for me, I just think it's odd that I can't do it. FWIW, I vaguely recall that the same thing was true with ath-based cards as well. I still have one somewhere, and I can double-check this if anyone is interested. Now this seems to be related to the fact that we can only use ap_scan=1 with the wlan module. The description in the example conf file seems to indicate that setting that option to 2 would do the trick, but the man page for wpa_supplicant.conf says that we can only use ap_scan=1. Therefore I'd like to propose the attached patch which would have saved me a lot of time flailing around with this (since I assumed that the example conf file had the necessary information). Since we have svn now, the "pristine" copy of the file will still live on in the vendor tree, and there is no "expense" to changing things in contrib like there was with cvs. Doug -- This .signature sanitized for your protection Index: wpa_supplicant.conf =================================================================== --- wpa_supplicant.conf (revision 189866) +++ wpa_supplicant.conf (working copy) _at__at_ -84,24 +84,7 _at__at_ eapol_version=1 # AP scanning/selection -# By default, wpa_supplicant requests driver to perform AP scanning and then -# uses the scan results to select a suitable AP. Another alternative is to -# allow the driver to take care of AP scanning and selection and use -# wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association -# information from the driver. -# 1: wpa_supplicant initiates scanning and AP selection -# 0: driver takes care of scanning, AP selection, and IEEE 802.11 association -# parameters (e.g., WPA IE generation); this mode can also be used with -# non-WPA drivers when using IEEE 802.1X mode; do not try to associate with -# APs (i.e., external program needs to control association). This mode must -# also be used when using wired Ethernet drivers. -# 2: like 0, but associate with APs using security policy and SSID (but not -# BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to -# enable operation with hidden SSIDs and optimized roaming; in this mode, -# the network blocks in the configuration file are tried one by one until -# the driver reports successful association; each network block should have -# explicit security policy (i.e., only one option in the lists) for -# key_mgmt, pairwise, group, proto variables +# For use in FreeBSD with the wlan module ap_scan must be set to 1. ap_scan=1 # EAP fast re-authenticationReceived on Mon Mar 16 2009 - 19:49:15 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC