wifi AP setup howto
Andrey N. Oktyabrski
ano at bestmx.ru
Tue Jan 3 10:51:19 PST 2012
On 03.01.12 16:30, Matthias Rampke wrote:
> 2012/1/3 Andrey N. Oktyabrski<ano at 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.
More information about the Users
mailing list