1#! /bin/sh 2# 3# Setup a TDMA slave and hook it into a bridge. 4# 5# 6PATH=.:$PATH 7. config 8 9SSID='freebsd+tdma' 10 11WLAN=`ifconfig wlan create wlanmode tdma wlandev $WIRELESS` 12ifconfig $WLAN ssid "$SSID" 13wlandebug -i $WLAN state+scan+tdma 14 15BRIDGE=`ifconfig bridge create` 16ifconfig $BRIDGE addm $WLAN 192.168.2.2/24 17 18ifconfig $WLAN up 19