]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/tools/net80211/scripts/setup.tdma-slave
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / tools / tools / net80211 / scripts / setup.tdma-slave
1 #! /bin/sh
2 #
3 # Setup a TDMA slave and hook it into a bridge.
4 #
5 # $FreeBSD$
6 #
7 PATH=.:$PATH
8 . config
9
10 SSID='freebsd+tdma'
11
12 WLAN=`ifconfig wlan create wlanmode tdma wlandev $WIRELESS`
13 ifconfig $WLAN ssid "$SSID"
14 wlandebug -i $WLAN state+scan+tdma
15
16 BRIDGE=`ifconfig bridge create`
17 ifconfig $BRIDGE addm $WLAN 192.168.2.2/24
18
19 ifconfig $WLAN up