Automatic WDS problem

Dave dave at cc0.net
Sat Jan 25 04:04:08 EST 2003


Hello all,

It is my understanding from reading (thoroughly) README.prism2 that WDS
links can be created dynamically when another HostAP box is within range (3
address) or another standards compliant AP is within range (4 address,
1.5.x+ FW).

I have three Soekris boxes each with all identical hardware/OS/configuration
but I am working with two currently.

I RAM upload 1.5.6 to the card on bootup (successfully) then perform the
following commands:

prism2_param wlan0 other_ap_policy 1
prism2_param wlan0 autom_ap_wds 1
prism2_param wlan0 wds_type 4
iwpriv wlan0 wds_add 00:00:00:00:00:00
iwpriv wlan0 wds_add 00:00:00:00:00:00
iwpriv wlan0 wds_add 00:00:00:00:00:00
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 wlan0wds0
brctl addif br0 wlan0wds1
brctl addif br0 wlan0wds2
ifconfig wlan0 0.0.0.0 up
ifconfig wlan0wds0 0.0.0.0 up
ifconfig wlan0wds1 0.0.0.0 up
ifconfig wlan0wds2 0.0.0.0 up
ifconfig br0 192.168.0.2 up

At this point I see the bridge fire up and begin learning. When I do a cat
/proc/net/hostap/wlan0/wds I see all the MACs for the preallocated WDS links
as all 00:00:00:00:00:00. All is ok for now...about 3 or 4 minutes of
waiting and with the other box up and running with same configuration
(except alternate br0 ip address) and within a few feet of each other (no
antennas) I again cat /proc/net/hostap/wlan0/wds and still do not see the
MACs of the other box.

I do see the MAC of the other box in
/proc/net/hostap/wlan0/00:02:6f:01:f9:b6 and see stats in it...each box has
the opposing MAC at that location...

It looks to me like it is associating as a STA and not an AP. Is this
assumption correct?

I am using a 2.4.20 kernel with the kernel-patch and building the drivers in
with the kernel. I opted to not enable hostapd functionality (do I need it?)
and I also defined PRISM2_NO_STATION_MODES since I don't have any need for
these boxes to be stations.

Each box has an IP assigned to the br0 although neither can hit the other's
IP.

Anyone have any idea what is up?



Thanks for any assistance you can provide!



-Dave






More information about the HostAP mailing list