1#! /bin/sh
2#
3# Script for testing traffic to the local host (as opposed to bridged).
4#
5#
6PATH=.:$PATH
7. config
8
9WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS`
10ifconfig $WLAN ssid $SSID channel $CHANNEL mtu 1500
11ifconfig $WIRED down delete
12route flush
13wlandebug -i $WLAN state+scan+assoc+11n
14#mwldebug tso
15ifconfig $WLAN 192.168.0.21/24
16