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

wifi AP setup howto


From: "Andrey N. Oktyabrski" <ano@xxxxxxxxx>
Date: Tue, 03 Jan 2012 17:12:04 +0300

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"



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