version 1.1.1.1, 2011/07/05 23:43:00
|
version 1.1.1.1.4.2, 2011/11/02 02:05:43
|
Line 8 COUNTRY=""
|
Line 8 COUNTRY=""
|
|
|
SSID="tdma" |
SSID="tdma" |
CHAN="-1" |
CHAN="-1" |
SPEED="" | BINT="100" |
WIFIOPTS="" | WIFIOPTS="anywhere" |
|
|
OPT="" |
OPT="" |
IP="172.31.1.2/30" |
IP="172.31.1.2/30" |
|
|
[ -r /etc/rc.wifi ] && . /etc/rc.wifi | echo "Config wireless TDMA (Client) interface $IFACE ..." |
|
|
echo "Config wireless TDMA-Client interface $IFACE ..." | ifconfig $IFACE create wlandev $WIFIDEV wlanmode tdma |
| #ifconfig $IFACE regdomain $REGDOMAIN |
createwlan $IFACE $WIFIDEV tdma | #ifconfig $IFACE country $COUNTRY |
regdomain $IFACE $REGDOMAIN | ifconfig $IFACE $WIFIOPTS |
country $IFACE $COUNTRY | ifconfig $IFACE bintval $BINT |
speedset $IFACE $SPEED | ifconfig $IFACE channel $CHAN |
setwifiopts $IFACE $WIFIOPTS anywhere | |
setchan $IFACE $CHAN | |
|
|
ifconfig $IFACE ssid $SSID |
ifconfig $IFACE ssid $SSID |
ifconfig $IFACE inet ${IP} ${OPT} up |
ifconfig $IFACE inet ${IP} ${OPT} up |