wpa2 hostap setup
Randy Bush
randy at psg.com
Tue Mar 3 07:08:07 PST 2009
> First, if you want to use WPA2, you'll want to change the hostapd.conf
> options a bit:
>
> wpa=2
> wpa_pairwise=CCMP TKIP (or just wpa_pairwise=CCMP)
>
> You also don't need the wep settings in the ifconfig statement for
> wlan0 in your rc.conf, hostapd will take care of the encryption bits.
> Here's all my rc.conf has for my wlan0 interface (and I'm using WPA2
> with it as well, which is configured as in hostapd.conf) which has
> been working very well for a variety of clients for some time now:
>
> ifconfig_ath0="mode 11g"
> wlans_ath0="wlan0"
> create_args_wlan0="wlanmode ap"
> ifconfig_wlan0="inet 192.168.1.1 netmask 255.255.255.0 channel 11"
thanks! will try it tomorrow, when my wife is gone for the day :)
randy
More information about the freebsd-current
mailing list