On 03.01.12 16:30, Matthias Rampke wrote:
2012/1/3 Andrey N. Oktyabrski<a...@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.

Reply via email to