How can i enable the WDS mode

Martin Polak mpolak
Sun Mar 9 23:59:26 PST 2003


Spark.Kuo(???) wrote:
> Dear all:
> 	i have studiedthe README.PRISM2 and try the command as follow:
> 
> Network 192.168.1.0/24  (same address space in each network)
> 
> 	 AP-A : wlan0(ssid:1111) -- <wireless net A>-- wireless station:192.168.1.140
>                                |
>                               WDS
>                                |
>                              wlan0(ssid:2222) : AP-B : eth0--<wired net B>---wired station:192.168.1.25
> 
> AP-A: wireless LAN card with hwaddr 00:11:11:11:11:11, IP addr 192.168.1.1
> AP-B: wireless LAN card with hwaddr 00:22:22:22:22:22, IP addr 192.168.1.2
> 
> 
> AP-A configuration:
> 
> iwpriv wlan0 wds_add 00:22:22:22:22:22 <--i have change the mac to my cards,
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 wlan0
> brctl addif br0 wlan0wds0
> ifconfig eth0 0.0.0.0
> ifconfig wlan0 0.0.0.0
> ifconfig wlan0wds0 0.0.0.0
> ifconfig br0 192.168.1.1 up
> 
> AP-B configuration:
> 
> iwpriv wlan0 wds_add 00:11:11:11:11:11<--i have change the mac to my cards,
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 wlan0wds0
> ifconfig eth0 0.0.0.0
> ifconfig wlan0wds0 0.0.0.0
> ifconfig br0 192.168.1.2 up
> 

You will have to add wlan0 on AP-B to the brigde too, and both APs
should have the same ESSID.
Thats how it works in my net.

Martin







More information about the Hostap mailing list