Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Mar 2009 00:08:03 +0900
From:      Randy Bush <randy@psg.com>
To:        Michael Proto <mike@jellydonut.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: wpa2 hostap setup
Message-ID:  <m2prgyhcfg.wl%randy@psg.com>
In-Reply-To: <1de79840903030704w2ab9e994i77d8461bb2a5778c@mail.gmail.com>
References:  <m27i37b3m8.wl%randy@psg.com> <1de79840903030704w2ab9e994i77d8461bb2a5778c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2prgyhcfg.wl%randy>