Markus,<div>The three nodes in the mesh are as follows:</div><div><br><div>Node A:</div><div>Intel Centrino Ultimate-N 6300 wireless chipset on PCI-Express.</div><div>Ubuntu 10.10, kernel 2.6.35. </div>
<div><div>driver:</div><div><div><div><div><div>iwlagn, iwlcore (Intel wifi driver) </div></div></div></div></div><div><br></div><div>Node B:</div></div><div>Atheros AR9285 wireless adapter on PCI-Express</div><div>
Ubuntu 10.04, kernel 2.6.32.</div><div>driver:</div><div>ath9k atheros driver </div><div><br></div><div>Node C (embedded computer)</div><div>Marvell 88W8686 wifi chip on SDIO.</div><div>Ubuntu 10.04, kernel 2.6.39.</div>
<div>driver:</div><div>libertas </div><div><br></div><div>Can you suggest a good Wifi USB adapter that is known to work well with olsrd and Linux. I think I'll buy three of those Wifi chips and run olsr on them. It might be better than running olsr on these different chipsets that I use now.</div>
<div><br></div><div>Thanks much!</div><div>Arjun.</div><div><br></div><div><br></div><div><div class="gmail_quote">On Tue, Feb 14, 2012 at 1:58 AM, Markus Kittenberger <span dir="ltr"><<a href="mailto:Markus.Kittenberger@gmx.at" target="_blank">Markus.Kittenberger@gmx.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div>On Tue, Feb 14, 2012 at 12:49 AM, Arjun <span dir="ltr"><<a href="mailto:akarjun@gmail.com" target="_blank">akarjun@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Markus,</div><div>I am trying to get the setup to work with just 3 mesh nodes for now. The node that runs the application to control the toy has a good wifi chipset. </div></blockquote></div><div>based on wifi specs like bad, fast, good and decent, i really can't say anything,..</div>
<div><br></div><div>either u tell us chipset and driver (and, especially if its a slow one, cpu-type and speed of the router) or leave it,..<br><br></div><div><div>also how many pps/kpbs your application needs/peaks.</div>
</div><div><br></div><div>furthermore even if u have the best wifi&driver in the node in the middle, bandwith manageable over 2 hops is still less than 1/2 of one hop</div><div><br></div><div>(except if the node in the middle has 2 wifis on different channels)</div>
<div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>The Toy itself has a decent wifi chipset. So I am planning to get a fast wifi chipset only for the intermediate mesh node. Is it necessary for all the mesh nodes to use the same wifi chipset for this to work?</div>
</blockquote></div><div>no</div><div><br></div><div>but usually it works best,.. (-; </div><div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>All my mesh nodes now use different wifi chipsets although I make sure that their cell no. and channel is the same.</div>
</blockquote></div><div>(which u have to do anyways,..) </div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Thanks!</div><span><font color="#888888"><div>Arjun.</div></font></span><div><div><div><br></div><div><br></div><div class="gmail_quote">On Mon, Feb 13, 2012 at 5:27 PM, Markus Kittenberger <span dir="ltr"><<a href="mailto:Markus.Kittenberger@gmx.at" target="_blank">Markus.Kittenberger@gmx.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hmm if u replace only one wifi, this might change quite nothing<div>(as it cant use higher bitrates if the others arent compatible to this bitrates)</div>
<span><font color="#888888"><div><br></div></font></span><div><span><font color="#888888">Markus</font></span><div><div><br><br><div class="gmail_quote">On Mon, Feb 13, 2012 at 10:54 PM, Arjun <span dir="ltr"><<a href="mailto:akarjun@gmail.com" target="_blank">akarjun@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Markus and Henning,<div>I bought a faster wifi usb adapter to replace the wifi interface on my intermediate mesh node. I am also trying to lower the bandwidth usage of my application running in the mesh. I am hoping this will improve things. I will keep you guys posted.</div>
<div>Thanks a lot!</div><div><span><font color="#888888">Arjun.</font></span><div><div><br><br><div class="gmail_quote">On Sun, Feb 12, 2012 at 2:22 PM, Markus Kittenberger <span dir="ltr"><<a href="mailto:Markus.Kittenberger@gmx.at" target="_blank">Markus.Kittenberger@gmx.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div>On Sun, Feb 12, 2012 at 7:14 PM, Arjun <span dir="ltr"><<a href="mailto:akarjun@gmail.com" target="_blank">akarjun@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Markus,<div>Yes, In the case when A is two hops away, I can still ping toy D from B, C and A. But the bandwidth becomes so low and "I think" the TC/Hello packets also get dropped along with the traffic from my application. So, when A is two hops away and I run my application, I notice that the ETX value (from txtinfo) to node C quickly becomes very high and goes to Infinity. When I stop my application, the ETX value comes back down again.</div>
</blockquote></div><div>i think, you have found the reason,..</div><div><br></div><div>sounds like your wifi links (esepcially if they have to repeat on node B) are simply too slow for (the bandwidth needed) by your application.</div>
<div><br></div><div>and as you likely do not protect olsrd packets with QOS rules, they suffer from heavy packetloss aswell, and so the complete mesh breaks apart too (due to infinite costs)</div><div><br></div><div>anyways you have to improve the throughput of your links, or reduce the traffic,..</div>
<span><font color="#888888">
<div><br></div><div>Markus</div></font></span><div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><font color="#888888">
<div>-Arjun.</div></font></span><div><div><div><br></div><div><br></div><div><div class="gmail_quote">On Sun, Feb 12, 2012 at 11:49 AM, Markus Kittenberger <span dir="ltr"><<a href="mailto:Markus.Kittenberger@gmx.at" target="_blank">Markus.Kittenberger@gmx.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div>On Sun, Feb 12, 2012 at 3:48 PM, Arjun <span dir="ltr"><<a href="mailto:akarjun@gmail.com" target="_blank">akarjun@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Henning,<div>Node C is the default gateway to toy D. I have not set any routes by hand from C to D, although one interface of C is on the same subnet as the toy D. The other interface on C is on the same subnet as the mesh. I have noticed that when olsrd is not running on C, I cannot ping toy D from the mesh, although I can ping the mesh interface of C. </div>
</blockquote></div><div>(only if u are one hop away from C,..) </div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>However, when I run olsrd on C, with the HNA4 setting, I can ping toy D from the mesh. I can also run my full application from node A, when C has the iptables NAT rule and is only one hop away from node C in the mesh. The same setting does not work when node A is two hops away from node C, i.e. node B is between A and C in the mesh.</div>
</blockquote></div><div>and in this case, can B or C reach D? </div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Thanks again!</div><span><font color="#888888"><div>Arjun.</div></font></span><div><div><div><br></div></div></div></blockquote></div></div></div></blockquote></div></div>
</div></div></blockquote></div></div><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br></div></div>