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

From: Hugo Silva <hugo_at_barafranca.com>
Date: Thu, 05 Mar 2009 14:38:49 +0000
# 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).

Am I missing something?
Received on Thu Mar 05 2009 - 13:39:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC