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-slave |
#! /bin/sh # # Setup a TDMA slave and hook it into a bridge. # # $FreeBSD: release/9.1.0/tools/tools/net80211/scripts/setup.tdma-slave 192321 2009-05-18 18:12:45Z sam $ # PATH=.:$PATH . config SSID='freebsd+tdma' WLAN=`ifconfig wlan create wlanmode tdma wlandev $WIRELESS` ifconfig $WLAN ssid "$SSID" wlandebug -i $WLAN state+scan+tdma BRIDGE=`ifconfig bridge create` ifconfig $BRIDGE addm $WLAN 192.168.2.2/24 ifconfig $WLAN up