How can i enable the WDS mode

Spark.Kuo(郭仲軒) Spark.Kuo at gigabyte.com.tw
Mon Mar 10 00:16:27 EST 2003


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

my wired station(192.168.1.25) can ping AP-B(192.168.1.2),
but it can't ping  the wireless station(192.168.1.140) and AP-A(192.168.1.1).
what should i do now?
my AP use primary f/w 1.1.0 secondary 1.4.9.
hostap-2002-10-12.

the AP mode is "Master" (iwconfig wlan0 mode Master) on both AP-A and AP-B.
should i change mode to "Managed" or "Repeater" on one or both?
or some configure parameter must be change?


I would appreciated your any information. Thank you every one.

spark.





More information about the HostAP mailing list