next up previous contents
Next: Single Wireless Device AP Up: Common Configuration Examples using Previous: WPA-PSK Station Using wpa_supplicant   Contents

Three APs on a Preselected Channel

In this section, we give an example on how to configure a three MadWifi APs in 802.11a on channel 36 with ESSIDs "Atheros_AP1", "Atheros_AP2", and "Atheros_AP3". All three APs are bridged together. The desired IP address for the AP is 192.168.0.20.

Example:myprompt# wlanconfig ath create wlandev wifi0 wlanmode ap
ath0
myprompt# wlanconfig ath create wlandev wifi0 wlanmode ap
ath1
myprompt# wlanconfig ath create wlandev wifi0 wlanmode ap
ath2
myprompt# iwconfig ath0 essid "Atheros_AP1" channel 36
myprompt# iwconfig ath1 essid "Atheros_AP2"
myprompt# iwconfig ath2 essid "Atheros_AP3"
myprompt# brctl addbr br0
myprompt# brctl addif br0 eth0
myprompt# brctl addif ath0
myprompt# brctl addif ath1
myprompt# brctl addif ath2
myprompt# brctl setfd br0 1
myprompt# ifconfig ath0 up
myprompt# ifconfig ath1 up
myprompt# ifconfig ath2 up
myprompt# ifconfig eth0 up
myprompt# ifconfig br0 192.168.0.20 up



root 2005-12-16