DragonFly users List (threaded) for 2012-01
Re: wifi AP setup howto
On 03.01.12 16:30, Matthias Rampke wrote:
> 2012/1/3 Andrey N. Oktyabrski<firstname.lastname@example.org>:
>> ifconfig_wlan0="create wlandev ath0 wlanmode hostap inet 192.168.2.234
> you need
> ifconfig_wlan0="wlanmode hostap inet 192.168.2.234 netmask
> 255.255.255.0 ssid thinkpot nwkey topsecretpswd authmode shared mode
> 11g pureg hidessid"
No luck, ifconfig complains about "invalid parameter wlanmode". Can
anybody provide an example rc.conf settings for AP mode?
> in /etc/rc.conf â?? not 100% sure about the latter, but in any case
> creating wlan0 and configuring it are separate steps. without the
> wlans_ath0 line the rc scripts don't even know they should look for
> *_wlan0 variables.
Thank you, I've read rc.conf' man page once more and got it.
> Also, check out the docs about hostapd, I think it should (needs to?)
> be involved in creating an AP. Again, not sure.
No, hostapd is not necessary.