1#! /bin/sh 2# 3# Script for testing simple (single bss) ap operation. 4# 5# 6PATH=.:$PATH 7. config 8 9WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS` 10ifconfig $WLAN ssid $SSID channel $CHANNEL mtu 1500 11BRIDGE=`ifconfig bridge create` 12ifconfig $BRIDGE addm $WLAN addm $WIRED up 13ifconfig $WIRED up 14wlandebug -i $WLAN state+scan+assoc+11n 15ifconfig $WLAN up 16