OpenWrt Forum Archive

Topic: WDS or Client mode for wireless P2P link (and relay)

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello all !

I have 2 questions ...

Let say i want to create a wireless point to point link at some distance between 2 WRT54x ...

I am a somewhat confused about the WDS and "Client mode" ...

1 - Which one should be used for a P2P link ?

Let say that we don't have a LOS in between the 2 points is it possible to use a relay which a LOS to both points ?
Would that relay require 2 AP as below ?

P1 <---- --- > Relay1 -- Relay2 <------ ------> P2

      Wireless link       Wired link     Wireless link


Or is there a better way to do this ... ?

I have read about passive relays using 2 directional antennas connected together but i doubt it would go very far ...

Thanks for any suggestion / help !!!

Noël

Yes, a 2-radio repeater setup is the best solution to your problem.  That is what I use anywhere I need a repeater station.

In general WDS is used for single-radio repeater setups and is an inferior solution just cheaper.  There is a 50% or more drop in bandwidth and there will be more packet drops due to a single half-duplex radio switching back and forth between it's 2 tasks.

There is no such things as a "passive relay"  that's a load of BS.  Say you have a lightbulb at A putting out 100 Watts of light, and 100 meters away a small fraction of those photons strike a mirror at B and get to some non-line-of-sight location C.  What arrives at C will be an even smaller fraction of what struck the mirror at B.  Radio is not the same as light but I think you get the idea.  The idea of a "repeater" is it picks up an original signal, decodes it, then rebroadcasts a new iteration of the same data as FULL signal strength from B.  Anything that does not transmit a freshly generated signal is NOT a repeater it's a lucky signal bounce.

Thank you for your reply !

Ok !  So i understand something like this would be best

AP1 <---   --->  repeater <-----  ----> AP2

Now i suppose one could use 2 WRT54x to form a reapeater as in:
(I am searching for the most economical way to do this ... )

AP1 --->   <---  Wrt1 ==== Wrt2 ----->  <---- AP2
                       Client        Client. 

=== = LAN
--- = WIFI

And this setup would require 4 directional antennas ...

Right ?

Yes, exactly.  A 2-radio repeater station is the best solution for a full-bandwidth link with no performance impact.  I run such setups and they run at full speed and little variation in latency, around 4 milliseconds end to end.  Yes it will require directionals, i use panels or sometime grid dish.  The 19 dBi grid dish from HyperLinkTech for example is pretty good.  Run each pair of links on opposite frequencies to minimize interference (Ch. 1 for 1 pair and 11 for the other pair) and if possible separate them by some little distance.  I usually use horizontal polarization on the antenna in my area there is lots of signal on vertical already. Lock both TX and RX antenna settings to the post the high-gain directional is attached to.  Don't forget lightning protection if they are in any high place.  I also have small UPS and ability to remote power-cycle with X-10 RF remote control unit without climbing.

I would probably just use WDS for simplicity instead of messing with the client-mode which can be a bit of a pain since it was original designed to talk to a SINGLE MAC address, and things get a bit wonky when you have multiple MAC on the other end of the link.  I lock down the WDS links tightly though by using strong WPA-PSK AES keys in combination with MAC filtering to make sure each WRT is talking only to it's peer unit and no one else.  In this way I am using WDS only for it's simple LAN bridging capabilities and complete ignoring it's ability to act as a repeater for WiFi clients since that would impact performance.

If you don't want to build your own like i do, there are units like the Ubiquiti PowerStation2 which integrates everything into one package with housing, radio, 18 dBi dual antennas with one horizontal and the other at vertical polarization, mast mounting kit, and an old-style passive 12-Volt Power-over-Ethernet system.  And it runs OpenWRT.

(Last edited by vincentfox on 2 Jun 2007, 00:29)

Hello Vincentfox !

Great ! It's now clearer ...

Thank you so much for sharing your knowledge !
I have been following this group for a few month now and have noticed
that you (and many others) are always there to help !

You really contribute to make of OpenWrt a great platform for us all ...

Very appreciated :-)

Now i will be posting some more "basic" questions soon ;-)

Noël

Hello Vincent,

I have made a test setup with 3 WRT54GS and on WRTSL54GS and it works great !
This test is made over a short distance with stock antennas.

Here is my setup:


AP1  --->    <---  AP2 ===== AP3 --->  <--- AP4
[           WDS1          ]            [          WDS2      ]
         
192.168.1.1         .50              .10                  .80

-- WIFI link
=== Wired link


Ping times

From AP1 to AP2 (one wifi hop)
--- 192.168.1.50 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 2.0/2.2/3.0 ms

From AP1 to AP3 (one wifi hop + one wired hop)
--- 192.168.1.10 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 2.6/2.6/2.6 ms

From AP1 to AP4 (two wifi hops + one wired hop)

--- 192.168.1.80 ping statistics ---
16 packets transmitted, 16 packets received, 0% packet loss
round-trip min/avg/max = 3.4/4.2/8.9 ms


--- 192.168.1.1 ping statistics ---
16 packets transmitted, 16 packets received, 0% packet loss
round-trip min/avg/max = 3.5/3.9/5.0 ms

+-------------------------------------------------------------------+

Thanks for the tips !

Noël

The discussion might have continued from here.