next up previous contents
Next: CLI Configuration Examples Up: Common Configuration Examples using Previous: Dual Wireless Device AP   Contents

Base AP Which Understands WDS (4 Address) Frames

In this section, we give an example of how to configure MadWifi to be a base AP which handles 4 address 802.11 frames. The AP will use Auto channel selection in the 802.11a band and will have an ssid of Atheros_Base_AP. The AP will have an IP address of 192.168.0.20. The underlying wireless device is assumed to be wifi0.
Example:myprompt# wlanconfig ath create wlandev wifi0 wlanmode ap
ath0
myprompt# iwconfig ath0 essid "Atheros_Base_AP"
myprompt# iwpriv ath0 wds 1
myprompt# ifconfig ath0 up
myprompt# ifconfig eth0 up
myprompt# brctl addbr br0
myprompt# brctl addif br0 eth0
myprompt# brctl addif ath0
myprompt# brctl setfd br0 1
myprompt# ifconfig br0 192.168.0.20 up



root 2005-12-16