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.wds

#! /bin/sh
#
# Script for setting up a legacy WDS vap.
# Assumes an ap vap is already setup.
# Can be run multiple times to create multiple WDS vaps.
#
# $FreeBSD: release/9.1.0/tools/tools/net80211/scripts/setup.wds 178361 2008-04-20 20:43:42Z sam $
#
PATH=.:$PATH
. config

BRIDGE=bridge0
#BSSID='00:50:43:20:64:83'
#BSSID='00:50:43:20:64:8d'
BSSID='00:50:43:20:6f:a9'

WLAN=`ifconfig wlan create wlanmode wds wlandev $WIRELESS wlanbssid $BSSID wdslegacy`
ifconfig $BRIDGE addm $WLAN
wlandebug -i $WLAN output+inact+node+11n
#ifconfig $WLAN wepkey 1:0x0123456789 deftxkey 1 wep
ifconfig $WLAN up

Man Man