Date: Thu, 5 Mar 2009 10:07:03 -0500 From: Michael Proto <mike@jellydonut.org> To: Hugo Silva <hugo@barafranca.com> Cc: freebsd-current@freebsd.org Subject: Re: rc.conf - what's the right way to enable hostap mode? Message-ID: <1de79840903050707m9550beeo46c190d8ff791be7@mail.gmail.com> In-Reply-To: <49AFE3F9.4050108@barafranca.com> References: <49AFE3F9.4050108@barafranca.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 5, 2009 at 9:38 AM, Hugo Silva <hugo@barafranca.com> 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). > > Am I missing something? /etc/rc.conf: ... wlans_ath0="wlan0 wlan1" create_args_wlan0="wlanmode ap" create_args_wlan1="wlanmode ap" ... -Proto
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1de79840903050707m9550beeo46c190d8ff791be7>