<div>From the madwifi site, there is a very useful guide(<a href="http://madwifi.org/wiki/UserDocs/WDSBridge">http://madwifi.org/wiki/UserDocs/WDSBridge</a>) on how to use the new driver(ng) for making WDS bridging between the two devices.  I have not tested this myself(but would like to hear feedback from others).
</div>
<div> </div>
<div>-Jeff Gibson<br><br> </div>
<div><span class="gmail_quote">On 2/6/06, <b class="gmail_sendername"><a href="mailto:voyage-linux-request@list.voyage.hk">voyage-linux-request@list.voyage.hk</a></b> <<a href="mailto:voyage-linux-request@list.voyage.hk">
voyage-linux-request@list.voyage.hk</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send Voyage-linux mailing list submissions to<br>       <a href="mailto:voyage-linux@list.voyage.hk">voyage-linux@list.voyage.hk
</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>       <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>or, via email, send a message with subject or body 'help' to
<br>       <a href="mailto:voyage-linux-request@list.voyage.hk">voyage-linux-request@list.voyage.hk</a><br><br>You can reach the person managing the list at<br>       <a href="mailto:voyage-linux-owner@list.voyage.hk">voyage-linux-owner@list.voyage.hk
</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Voyage-linux digest..."<br><br><br>Today's Topics:<br><br>  1. Re: How to realize a Point to Point Connection (Punky Tse)
<br>  2. R: [Voyage-linux] How to realize a Point to Point Connection<br>     (Tommaso)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 06 Feb 2006 13:01:01 +0800
<br>From: Punky Tse <<a href="mailto:punkytse@punknix.com">punkytse@punknix.com</a>><br>Subject: Re: [Voyage-linux] How to realize a Point to Point Connection<br>To: Punky Tse <<a href="mailto:punkytse@punknix.com">
punkytse@punknix.com</a>><br>Cc: <a href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a>, Tommaso <<a href="mailto:t.cavanna@wave-srl.com">t.cavanna@wave-srl.com</a>><br>Message-ID: <<a href="mailto:43E6D80D.2030203@punknix.com">
43E6D80D.2030203@punknix.com</a>><br>Content-Type: text/plain; charset=windows-1252; format=flowed<br><br>Tommaso,<br><br>I got your meaning wrong...  I thought you are talking about long<br>distance link.<br><br>What mode (a/b/g) do you run master mode before and what mode for
<br>Ad-hoc?  It sounds like you set 11b/g mode in master and then switch to<br>11a for ad-hoc?   If using 11a, does the antenna support 5 GHz?<br><br>The one of the difference betweeen pre1 nad pre3 is madwifi driver.<br>
pre1 uses madwifi-old while pre3 uses madwifi-ng (r1408).  I had tested<br>the madwifi-ng with Ad-hoc and it can even communicate to RM2 (prism54)<br>with good throughput in 11b/g mode (e.g. downloading Apple movie<br>trailer).  If pre3 makes no difference then its not driver problem.
<br><br>- Punky<br><br>Punky Tse wrote:<br>> Tommaso,<br>><br>> It is a tricky for tuning madwifi for long distance link. See:<br>><br>> <a href="http://madwifi.org/wiki/UserDocs/LongDistance">http://madwifi.org/wiki/UserDocs/LongDistance
</a><br>><br>> Punky<br>><br>> Tommaso wrote:<br>>><br>>> Hi to all,<br>>><br>>> I'm actually using the 0.2pre1 version over a Wrap board with one CM9<br>>> card. I have no problem having the ath0 interface working in Master
<br>>> Mode, I get a very good Access Point. Now I'm interested in testing<br>>> the possibility to perform long (>5 Km) point to point links. I'm not<br>>> a 802.11a-guru, so maybe I'm wrong, but I have put the ath interface
<br>>> of both clients in Ad-Hoc mode with the same SSID. I get the two<br>>> clients connecting each other but with a very very low speed < 1Mps,<br>>> the iwconfig reports 0 Kbps even if the received signal is bigger
<br>>> than -18 dBm (when the two clients are few meters away). I have<br>>> changed the radio cards and the antenna, but it definitely seem a<br>>> software problem.<br>>><br>>> It's a problem of the madwifi driver included in the 
0.2pre1?<br>>><br>>> Tomorrow I will update to the 0.2pre3 version, but I would to know if<br>>> the Ad-Hoc mode is the best one for a point to point link; in fact,<br>>> reading the madwifi-ng documentation I am a bit confused since you
<br>>> can use both the Ad-Hoc (iwconfig) mode and the WDS functionality<br>>> putting one client in STA mode and the other one in AP mode.<br>>><br>>> Thanks.<br>>><br>>> Tommaso<br>>>
<br>>> ------------------------------------------------------------------------<br>>><br>>> _______________________________________________<br>>> Voyage-linux mailing list<br>>> <a href="mailto:Voyage-linux@list.voyage.hk">
Voyage-linux@list.voyage.hk</a><br>>> <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>>><br>><br>><br><br><br>--<br>Regards,<br>Punky
<br>P U N K N ! X  . c o m<br>Technology + Lifestyle<br>(<a href="http://www.punknix.com">http://www.punknix.com</a>)<br><br>Voyage Linux<br>(<a href="http://www.voyage.hk/software/voyage.html">http://www.voyage.hk/software/voyage.html
</a>)<br><br><br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 6 Feb 2006 14:08:26 +0100<br>From: "Tommaso" <<a href="mailto:t.cavanna@wave-srl.com">t.cavanna@wave-srl.com</a>>
<br>Subject: R: [Voyage-linux] How to realize a Point to Point Connection<br>To: <<a href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a>><br>Message-ID: <<a href="mailto:200602061302.k16D291k017979@mail-gw.uniroma2.it">
200602061302.k16D291k017979@mail-gw.uniroma2.it</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Thank you Andrew and Punky,<br><br><br><br>  I made the first links using one wrap in Master mode with 
802.11g, in<br>this mode I can successfully connect to the AP with my laptop getting up to<br>24 Mbps of ftp transfer rate.<br><br>Then I have switched two Wraps in Ad-Hoc mode and 802.11a giving the same<br>SSID to both the Wrap and then I have tried a link within few meters. I have
<br>connected a PC via eth0 to each Wrap, then I tried to exchange IP traffic<br>between the PCs. I can exchange IP traffic between the two clients but at<br>very low speed < 1 Mbps and with iwconfig "saying" that the speed was 0
<br>kbps.<br><br>Maybe it's an IP configuration problem.<br><br>I use the following IP configuration for both the clients of the bridge,<br>this is the interfaces file for one client:<br><br><br><br>auto eth0<br><br>iface eth0 inet static
<br><br>     address <a href="http://192.168.2.11">192.168.2.11</a><br><br>     netmask     <a href="http://255.255.255.0">255.255.255.0</a><br><br><br><br>auto ath0<br><br>iface ath0 inet static<br><br>       address <a href="http://192.168.2.1">
192.168.2.1</a><br><br>       netmask <a href="http://255.255.255.0">255.255.255.0</a><br><br>       broadcast <a href="http://192.168.2.255">192.168.2.255</a><br><br>     up iwconfig ath0 essid VOYAGEM mode Ad-Hoc<br><br>
     up nat.sh ath0 eth0 "<a href="http://192.168.2.0/24">192.168.2.0/24</a>"<br><br><br><br>Then I have created a script file inserted in the if-up.d directory:<br><br><br><br>iwpriv ath0 mode 1<br><br>iwconfig ath0 enc off
<br><br><br>#Bridge<br>brctl addbr br0<br>brctl addif br0 eth0<br>brctl addif br0 ath0<br>ifconfig br0 <a href="http://192.168.2.21">192.168.2.21</a> netmask <a href="http://255.255.255.0">255.255.255.0</a><br>ifconfig br0 up
<br>#End Bridge<br><br><br>The IP configuration was the following:<br><br><br><br>Client1                       Client2<br><br>ath0: <a href="http://192.168.2.1">192.168.2.1</a>             ath0:<a href="http://192.168.2.2">
192.168.2.2</a><br><br>eht0: <a href="http://192.168.2.11">192.168.2.11</a>            eht0:<a href="http://192.168.2.12">192.168.2.12</a><br><br>br0: <a href="http://192.168.2.21">192.168.2.21</a>             br0: <a href="http://192.168.2.22">
192.168.2.22</a><br><br>PC: <a href="http://192.168.2.31">192.168.2.31</a>              PC: <a href="http://192.168.2.32">192.168.2.32</a><br><br><br><br>I haven't used route rules because surprisingly the two PCs could see each
<br>other without any route rule. It's seems a little strange, I haven't fully<br>understood why.<br><br>Looking at the Andrew example I have understood that it's not necessary to<br>assign an IP to the ath0 and eth0 when they are bridged, is it correct?
<br><br>Thanks for the advices.<br><br><br><br>Tommaso<br><br><br><br><br><br><br><br><br><br>-----Messaggio originale-----<br>Da: Punky Tse [mailto:<a href="mailto:punkytse@punknix.com">punkytse@punknix.com</a>]<br>Inviato: luned́ 6 febbraio 2006 
6.01<br>A: Punky Tse<br>Cc: Tommaso; <a href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a><br>Oggetto: Re: [Voyage-linux] How to realize a Point to Point Connection<br><br><br><br>Tommaso,<br><br><br><br>I got your meaning wrong...  I thought you are talking about long
<br><br>distance link.<br><br><br><br>What mode (a/b/g) do you run master mode before and what mode for<br><br>Ad-hoc?  It sounds like you set 11b/g mode in master and then switch to<br><br>11a for ad-hoc?   If using 11a, does the antenna support 5 GHz?
<br><br><br><br>The one of the difference betweeen pre1 nad pre3 is madwifi driver.<br><br>pre1 uses madwifi-old while pre3 uses madwifi-ng (r1408).  I had tested<br><br>the madwifi-ng with Ad-hoc and it can even communicate to RM2 (prism54)
<br><br>with good throughput in 11b/g mode (e.g. downloading Apple movie<br><br>trailer).  If pre3 makes no difference then its not driver problem.<br><br><br><br>- Punky<br><br><br><br>Punky Tse wrote:<br><br>> Tommaso,
<br><br>><br><br>> It is a tricky for tuning madwifi for long distance link. See:<br><br>><br><br>> <a href="http://madwifi.org/wiki/UserDocs/LongDistance">http://madwifi.org/wiki/UserDocs/LongDistance</a><br>
<br>><br><br>> Punky<br><br>><br><br>> Tommaso wrote:<br><br>>><br><br>>> Hi to all,<br><br>>><br><br>>> I'm actually using the 0.2pre1 version over a Wrap board with one CM9<br><br>>> card. I have no problem having the ath0 interface working in Master
<br><br>>> Mode, I get a very good Access Point. Now I'm interested in testing<br><br>>> the possibility to perform long (>5 Km) point to point links. I'm not<br><br>>> a 802.11a-guru, so maybe I'm wrong, but I have put the ath interface
<br><br>>> of both clients in Ad-Hoc mode with the same SSID. I get the two<br><br>>> clients connecting each other but with a very very low speed < 1Mps,<br><br>>> the iwconfig reports 0 Kbps even if the received signal is bigger
<br><br>>> than -18 dBm (when the two clients are few meters away). I have<br><br>>> changed the radio cards and the antenna, but it definitely seem a<br><br>>> software problem.<br><br>>><br><br>>> It's a problem of the madwifi driver included in the 
0.2pre1?<br><br>>><br><br>>> Tomorrow I will update to the 0.2pre3 version, but I would to know if<br><br>>> the Ad-Hoc mode is the best one for a point to point link; in fact,<br><br>>> reading the madwifi-ng documentation I am a bit confused since you
<br><br>>> can use both the Ad-Hoc (iwconfig) mode and the WDS functionality<br><br>>> putting one client in STA mode and the other one in AP mode.<br><br>>><br><br>>> Thanks.<br><br>>><br><br>
>> Tommaso<br><br>>><br><br>>> ------------------------------------------------------------------------<br><br>>><br><br>>> _______________________________________________<br><br>>> Voyage-linux mailing list
<br><br>>> <a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br><br>>> <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux
</a><br><br>>><br><br>><br><br>><br><br><br><br><br><br>--<br><br>Regards,<br><br>Punky<br><br>P U N K N ! X  . c o m<br><br>Technology + Lifestyle<br><br>(<a href="http://www.punknix.com">http://www.punknix.com
</a>)<br><br><br><br>Voyage Linux<br><br>(<a href="http://www.voyage.hk/software/voyage.html">http://www.voyage.hk/software/voyage.html</a>)<br><br><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...
<br>URL: <a href="http://list.voyage.hk/pipermail/voyage-linux/attachments/20060206/ae6ec154/attachment.html">http://list.voyage.hk/pipermail/voyage-linux/attachments/20060206/ae6ec154/attachment.html</a><br><br>------------------------------
<br><br>_______________________________________________<br>Voyage-linux mailing list<br><a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">
http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br><br><br>End of Voyage-linux Digest, Vol 14, Issue 4<br>*******************************************<br></blockquote></div><br>