3 # Script for testing traffic to the local host (as opposed to bridged).
5 # $FreeBSD: src/tools/tools/net80211/scripts/setup.local,v 1.1 2008/04/20 20:43:42 sam Exp $
10 WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS`
11 ifconfig $WLAN ssid $SSID channel $CHANNEL mtu 1500
12 ifconfig $WIRED down delete
14 wlandebug -i $WLAN state+scan+assoc+11n
16 ifconfig $WLAN 192.168.0.21/24