HowTo configure WPA[2] ath0 [wlan0] on up to date 8.0-CURRENT

eculp at casasponti.net eculp at casasponti.net
Fri Jan 2 15:36:49 UTC 2009


I'm currently using wep at home and in the office configured from rc.conf.
example:
ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey 1"

I'm traveling and haven't been able to connect to hotspots that are  
using wpa[2].  The handbook isn't up to date and I have been looking  
for over a week unsuccessfully.  As far as I know there isn't an X  
utility to do this from and I've tried wpa_suplicant.conf with a  
router here but since I don't understand it, I'm sure it is incorrect  
(plus the important clue that it doesn't work)  Hopefully this is an  
easier and simpler way to do this.

The wpa_supplicant.conf configuration that I've tested is:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
## eapol_version=1
ap_scan=1
fast_reauth=1
network={
scan_ssid=1
proto=WPA2
ssid="TestRouter"
## bssid=[mac address of your access point here]
## key_mgmt=WPA-PSK
## pairwise=TKIP
## psk=[i forgot what this is, presumably the md5 of the passphrase.]
password="Testing123"
}

Any suggestions for getting out of this glass of water that I'm  
drowning in would be greatly appreciated.

Thanks,

ed


More information about the freebsd-questions mailing list