3 # Script for testing ap mode w/ WEP.
10 #mwldebug -i $WIRELESS +node
11 WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS`
12 ifconfig $WLAN ssid $SSID channel $CHANNEL mtu 1500
13 #ifconfig $WLAN authmode shared
14 wlandebug -i $WLAN state+scan+assoc+crypto
15 #mwldebug -i $WIRELESS +keycache
16 #ifconfig $WLAN wepkey 1:0x0123456789 deftxkey 1 wepmode mixed
17 ifconfig $WLAN wepkey 1:0x0123456789 deftxkey 1 wep
18 BRIDGE=`ifconfig bridge create`
19 ifconfig $BRIDGE addm $WLAN addm $WIRED up