Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2013 07:34:17 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        "Sam Fourman Jr." <sfourman@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: wifi hostap Atheros AR938x
Message-ID:  <CAJ-VmonGhg28AVLgmbi_=dLRynsLGg9OvOMC6oiZjsW08QOt5Q@mail.gmail.com>
In-Reply-To: <CAOFF%2BZ0cXa%2BP9%2B1Ey9zhTaB=ApDzzy4vjHO9TWAMUZbkcD5e_g@mail.gmail.com>
References:  <CAOFF%2BZ0Pdwq13ZSrQRS-SMzVhcToZKaGWqfMrfTHyFLuB2Hr4g@mail.gmail.com> <CAJ-VmonhrYSQ-nCXQW9e_zE6-4vRPyWR4wAQXgnuqgzrWMQ61g@mail.gmail.com> <CAOFF%2BZ0cXa%2BP9%2B1Ey9zhTaB=ApDzzy4vjHO9TWAMUZbkcD5e_g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
hostapd drives the hostap side of session and encryption management.

You need a hostapd config file to enable WPA/WPA2 and encryption.


Put this in /etc/hostapd.conf

interface=wlan0
driver=bsd
ssid=SSID_THAT_YOU_WANT
wpa=3
wpa_key_mgmt=WPA-PSK
wpa_passphrase=PSK_THAT_YOU_WANT
wpa_pairwise=CCMP
ctrl_interface=/var/run/hostapd

Then in rc.conf

hostapd_enable="YES"

Then reboot. It should start hostapd for you.



-adrain

On 23 July 2013 07:31, Sam Fourman Jr. <sfourman@gmail.com> wrote:
>
>
> On Tue, Jul 23, 2013 at 10:22 AM, Adrian Chadd <adrian@freebsd.org> wrote:
>>
>> I don't think so. The handbook chapter(s) on wireless need updating. :(
>
>
> Would you mind giving me an example of how to setup 802.11n correctly on
> both the hostap side and the client side?
> assume both cards are Ath 9300 devices..
>
> id like to do security on wifi, but I cant figure out if I am required to
> have hosthapd for that.. or if I can do it all from rc.conf..
> I guess im not exactly clear on What hostapd is , and if it is a requirement
> in WIFI..
>>
>>
>
> --
>
> Sam Fourman Jr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonGhg28AVLgmbi_=dLRynsLGg9OvOMC6oiZjsW08QOt5Q>