version 1.1.1.1, 2011/07/05 23:43:00
|
version 1.1.1.1.4.1, 2011/10/25 13:03:40
|
Line 8 COUNTRY=""
|
Line 8 COUNTRY=""
|
|
|
SSID="wpa-ap" |
SSID="wpa-ap" |
CHAN="36:a" |
CHAN="36:a" |
SPEED="" | BINT="100" |
WIFIOPTS="" | WIFIOPTS="-bgscan" |
|
|
WPAPASS="wpa_go" |
WPAPASS="wpa_go" |
|
|
Line 18 IP="172.31.1.1/30"
|
Line 18 IP="172.31.1.1/30"
|
|
|
[ -r /etc/rc.wifi ] && . /etc/rc.wifi |
[ -r /etc/rc.wifi ] && . /etc/rc.wifi |
|
|
echo "Config wireless AP interface $IFACE ..." | echo "Config wireless AP (WPA) interface $IFACE ..." |
|
|
createwlan $IFACE $WIFIDEV hostap | ifconfig $IFACE create wlandev $WIFIDEV wlanmode hostap |
regdomain $IFACE $REGDOMAIN | ifconfig $IFACE regdomain $REGDOMAIN |
country $IFACE $COUNTRY | ifconfig $IFACE country $COUNTRY |
speedset $IFACE $SPEED | ifconfig $IFACE $WIFIOPTS |
setwifiopts $IFACE $WIFIOPTS | ifconfig $IFACE bintval $BINT |
setchan $IFACE $CHAN | ifconfig $IFACE channel $CHAN |
| |
mkhostconf $IFACE wpa $WPAPASS |
mkhostconf $IFACE wpa $WPAPASS |
|
|
ifconfig $IFACE ssid $SSID |
ifconfig $IFACE ssid $SSID |