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.tdma-master |
#! /bin/sh # # Setup a TDMA master and bridge it to a wired NIC. # # $FreeBSD: release/9.1.0/tools/tools/net80211/scripts/setup.tdma-master 187255 2009-01-14 23:53:06Z sam $ # PATH=.:$PATH . config SSID='freebsd+tdma' WLAN=`ifconfig wlan create wlanmode tdma wlandev $WIRELESS` ifconfig $WLAN ssid "$SSID" tdmaslot 0 channel $CHANNEL wlandebug -i $WLAN state+scan+tdma BRIDGE=`ifconfig bridge create` ifconfig $BRIDGE addm $WLAN addm $WIRED 192.168.2.1/24 ifconfig $WIRED up ifconfig $WLAN up