config root man

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
Upload File :
Current File : //usr/src/tools/tools/net80211/scripts/setup.updown

#! /bin/sh
#
# Script for test vap create+destroy.  Also used to verify
# resources are reclaimed properly on destroy.
#
# $FreeBSD: release/9.1.0/tools/tools/net80211/scripts/setup.updown 178361 2008-04-20 20:43:42Z sam $
#
PATH=.:$PATH
. config

$WLANWATCH&

#mwldebug state+node+reset+xmit+recv+beacon+hal+hal2
while true
do
    WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS`
    ifconfig $WLAN ssid $SSID 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
    read x
    ifconfig $WLAN destroy
    ifconfig $BRIDGE destroy
done

Man Man