Current Path : /usr/src/tools/tools/net80211/scripts/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/tools/tools/net80211/scripts/setup.local |
#! /bin/sh # # Script for testing traffic to the local host (as opposed to bridged). # # $FreeBSD: release/9.1.0/tools/tools/net80211/scripts/setup.local 178361 2008-04-20 20:43:42Z sam $ # PATH=.:$PATH . config WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS` ifconfig $WLAN ssid $SSID channel $CHANNEL mtu 1500 ifconfig $WIRED down delete route flush wlandebug -i $WLAN state+scan+assoc+11n #mwldebug tso ifconfig $WLAN 192.168.0.21/24