DragonFly BSD
DragonFly users List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: wifi AP setup howto


From: "Andrey N. Oktyabrski" <ano@xxxxxxxxx>
Date: Tue, 03 Jan 2012 21:51:19 +0300

On 03.01.12 16:30, Matthias Rampke wrote:
> 2012/1/3 Andrey N. Oktyabrski<ano@bestmx.ru>:
>> ifconfig_wlan0="create wlandev ath0 wlanmode hostap inet 192.168.2.234
>
> you need
>
> wlans_ath0="wlan0"
> 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.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]