ifconfig_wlanX=HOSTAP

Rui Paulo rpaulo at freebsd.org
Sat Jun 29 04:30:28 UTC 2013


On 27 Jun 2013, at 21:02, Glen Barber <gjb at FreeBSD.org> wrote:

> On Thu, Jun 27, 2013 at 09:00:09PM -0700, Rui Paulo wrote:
>> On 26 Jun 2013, at 09:44, Benjamin Kaduk <kaduk at MIT.EDU> wrote:
>> 
>>> On Tue, 25 Jun 2013, Rui Paulo wrote:
>>> 
>>>> Hi,
>>>> 
>>>> There's a new configuration mode for hostap: ifconfig_wlanX=HOSTAP. See http://svnweb.freebsd.org/base?view=revision&revision=252230
>>>> 
>>>> Do you know if the FreeBSD handbook (or any other documentation besides man pages) needs to be changed?
>>> 
>>> Hi Rui,
>>> 
>>> It seems that http://www.freebsd.org/doc/handbook/network-wireless.html does have some documentation on the configuration of host access points, which could benefit from adoption to this new configuration mode.
>>> 
>>> Were you proposing that you make these changes?  The relevant source file is doc/head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml.
>> 
>> 
>> Well, if no one else is available to help out, I can try to make the changes.
>> 
> 
> I'm available to help.  Let me know what you need.


I think these changes should be enough:

-------------------------------

32.3.5.3. WPA Host-based Access Point

hostapd_enable="YES" -> ifconfig_wlan0="HOSTAP"

32.3.5.3.1. WPA-PSK

/etc/hostapd.conf -> /etc/hostapd-wlan0.conf
ctrl_interface=/var/run/hostapd -> ctrl_interface=/var/run/hostapd-wlan0

# service hostapd forcestart -> # service netif wlan0 forcestart 

-------------------------------

Thanks,

--
Rui Paulo



More information about the freebsd-doc mailing list