3 # Script for setting up a legacy WDS vap.
4 # Assumes an ap vap is already setup.
5 # Can be run multiple times to create multiple WDS vaps.
13 #BSSID='00:50:43:20:64:83'
14 #BSSID='00:50:43:20:64:8d'
15 BSSID='00:50:43:20:6f:a9'
17 WLAN=`ifconfig wlan create wlanmode wds wlandev $WIRELESS wlanbssid $BSSID wdslegacy`
18 ifconfig $BRIDGE addm $WLAN
19 wlandebug -i $WLAN output+inact+node+11n
20 #ifconfig $WLAN wepkey 1:0x0123456789 deftxkey 1 wep