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