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.simple2 |
#! /bin/sh # # Script for testing multi-bss ap operation. # # $FreeBSD: release/9.1.0/tools/tools/net80211/scripts/setup.simple2 178361 2008-04-20 20:43:42Z sam $ # PATH=.:$PATH . config athdebug state WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS` ifconfig $WLAN ssid $SSID-1 channel $CHANNEL mtu 1500 BRIDGE=`ifconfig bridge create` ifconfig $BRIDGE addm $WLAN addm $WIRED up ifconfig $WIRED up wlandebug -i $WLAN state+scan+assoc ifconfig $WLAN up WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS bssid` #ifconfig $WLAN ssid $SSID-2 channel $CHANNEL mtu 1500 ifconfig $WLAN ssid $SSID-2 mtu 1500 -ht ifconfig $BRIDGE addm $WLAN wlandebug -i $WLAN state+scan+assoc ifconfig $WLAN up