rc.conf - what's the right way to enable hostap mode?

Dimitry Andric dimitry at andric.com
Thu Mar 5 06:58:46 PST 2009


On 2009-03-05 15:38, Hugo Silva wrote:
> # ifconfig wlan1 create wlandev ath0 ; ifconfig wlan1 wlanmode hostap
> ifconfig: wlanmode: bad value
> 
> # ifconfig wlan1 create wlandev ath0 wlanmode hostap
> (works)
> 
> My question is how to properly achieve this in rc.conf: 
> wlans_ath0="wlan0 wlan1" creates the devices, but it seems impossible to 
> set them to hostap operation later. (see the first example).

Maybe this info will help:

http://www.freebsd.org/doc/en/books/handbook/network-wireless.html#NETWORK-WIRELESS-AP-BASIC


More information about the freebsd-current mailing list