wifi AP setup howto

Andrey N. Oktyabrski ano at bestmx.ru
Tue Jan 3 06:12:04 PST 2012


Good day.

I have home router ThinkPad R31 with D-link (Atheros 2413) wifi card. 
Now it works with DragonFlyBSD 2.6. Today I have tried to replace HDD by 
the CF card with CF-IDE adapter and update OS to 2.13 (2.01.2012 
snapshot ISO). WiFi AP works fine, but what I must write in the 
/etc/rc.conf?
Now I have this /etc/rc.local:
/sbin/ifconfig wlan0 create wlandev ath0 wlanmode hostap \
         inet 192.168.2.234 netmask 255.255.255.0 \
         ssid thinkpot nwkey topsecretpswd authmode shared \
         mode 11g pureg hidessid channel 4

This string in the /etc/rc.conf don't work:
ifconfig_wlan0="create wlandev ath0 wlanmode hostap inet 192.168.2.234 
netmask 255.255.255.0 ssid thinkpot nwkey topsecretpswd authmode shared 
mode 11g pureg hidessid"





More information about the Users mailing list