jep!<div><br></div><div>dns servers do not sneak on its own to your configuration files,..</div><div>(usually dhcp brings them, (-;)</div><div><br></div><div>so add one in /etc/resolv.conf</div><div><br></div><div>btw setting up dns is not related to oslrd anymore:</div>
<div> oslrd just creates routes to your mesh,.. (and to extrenal networks)</div><div> everything else (including if and which dns to use) is up to you,..<br><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 11:18 PM, John Tobias <span dir="ltr"><<a href="mailto:john.tobias.ph@gmail.com">john.tobias.ph@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 bgcolor="#FFFFFF"><div>Hi Markus,</div><div><br></div><div>No dns server on devA.</div><div><br></div><font color="#888888"><div>
john</div></font><div><div></div><div class="h5"><div><br></div><div><br><br><div><br></div></div><div><br>On Aug 16, 2011, at 2:14 PM, Markus Kittenberger <<a href="mailto:Markus.Kittenberger@gmx.at" target="_blank">Markus.Kittenberger@gmx.at</a>> wrote:<br>
<br></div><div></div><blockquote type="cite"><div>did u set up an dns server on devA ???<div><br></div><div>MArkus<br><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 11:04 PM, John Tobias <span dir="ltr"><<a href="mailto:john.tobias.ph@gmail.com" target="_blank"></a><a href="mailto:john.tobias.ph@gmail.com" target="_blank">john.tobias.ph@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Guys,<br><br>Thanks for your patient. I corrected the Hna4 of devB, I put "0.0.0.0 0.0.0.0".<br><br><b>Here's the latest status of DevB:</b><div>

<br>Table: Links<br>Local IP        Remote IP       Hyst.   LQ      NLQ     Cost<br></div>
192.168.3.4     192.168.3.3     0.00    0.905   1.000   1.104   <br><div><br>Table: Neighbors<br>IP address      SYM     MPR     MPRS    Will.   2 Hop Neighbors<br>192.168.3.3     YES     NO      NO      4       1<br>
<br>Table: Topology<br>
Dest. IP        Last hop IP     LQ      NLQ     Cost<br></div>192.168.3.4     192.168.3.3     1.000   0.905   1.104<br>192.168.3.3     192.168.3.4     0.905   1.000   1.104<br><br>Table: HNA<br>Destination     Gateway<br>

<a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a>       192.168.3.4<div><br>
<br>Table: MID<br>IP address      Aliases<br><br>Table: Routes<br>Destination     Gateway IP      Metric  ETX     Interface<br></div><a href="http://192.168.3.3/32" target="_blank">192.168.3.3/32</a>  192.168.3.3     1       1.104   wlan0 <br>


<br><br>
<b>Here's the latest status of DevA:</b><div><br>Table: Links<br>Local IP        Remote IP       Hyst.   LQ      NLQ     Cost<br></div>192.168.3.3     192.168.3.4     0.00    1.000   0.937   1.066<div>
<br><br>Table: Neighbors<br>IP address      SYM     MPR     MPRS    Will.   2 Hop Neighbors<br>
192.168.3.4     YES     NO      NO      4       0<br><br>Table: Topology<br>Dest. IP        Last hop IP     LQ      NLQ     Cost<br></div>192.168.3.4     192.168.3.3     1.000   0.937   1.066<br>192.168.3.3     192.168.3.4     0.940   0.835   1.271<br>


<br>Table: HNA<br>Destination     Gateway<br><a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a>       192.168.3.4<div><br><br>Table: MID<br>IP address      Aliases<br><br>Table: Routes<br>Destination     Gateway IP      Metric  ETX     Interface<br>


</div><a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a>       192.168.3.4     1       1.066   wlan0<br><a href="http://192.168.3.4/32" target="_blank">192.168.3.4/32</a>  192.168.3.4     1       1.066   wlan0<br><br>

<b>Here's the latest routing table of DevA:</b><div><br>
Kernel IP routing table<br>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br>192.168.3.4     *               255.255.255.255 UH    2      0        0 wlan0<br>192.168.3.0     *               255.255.255.0   U     0      0        0 wlan0<br>

</div>
default         192.168.3.4     0.0.0.0         UG    2      0        0 wlan0<br><br>But, when I ping <a href="http://google.com" target="_blank"></a><a href="http://google.com" target="_blank">google.com</a>, I got ping: bad address '<a href="http://google.com" target="_blank"></a><a href="http://google.com" target="_blank">google.com</a>'.<br>


<br>Btw, I am using olsrd-0.6.1 released of olsr.<br><br>Regards,<br><font color="#888888"><br>john</font><div><div></div><div><br><br><br><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 1:32 PM, Markus Kittenberger <span dir="ltr"><<a href="mailto:Markus.Kittenberger@gmx.at" target="_blank"></a><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">as i already said in my previous mail,..<div><br></div><div>you have to announce the "outside world" with olsr on devB</div>


<div><br></div><div>e.g. such an hna</div><div><div><br></div><div>Hna4</div><div>{</div><div>
<div>        0.0.0.0         0.0.0.0</div></div></div><div>}</div><div><br></div><font color="#888888"><div>Markus</div></font><div><br><div class="gmail_quote"><div><div></div><div>On Tue, Aug 16, 2011 at 10:07 PM, John Tobias <span dir="ltr"><<a href="mailto:john.tobias.ph@gmail.com" target="_blank"></a><a href="mailto:john.tobias.ph@gmail.com" target="_blank">john.tobias.ph@gmail.com</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>Hi Michel,<br><br>I used your default config on my two devices DevA and DevB. I just added the "olsrd_txtinfo.so.0.1" section and in interface section, I only put "wlan0".<br>



<br>LoadPlugin "olsrd_txtinfo.so.0.1"<br>
{<br>    PlParam     "Accept"   "127.0.0.1"<br>}<br><br>Before running the oslr, I bring up the wlan0 on both devices (see the command below), ping it, both devices responded to each other.<br>iwconfig wlan0 essid mesh0 mode ad-hoc channel 1<br>




ifconfig wlan0 192.168.13.3 netmask 255.255.255.0 (devA)<br>ifconfig wlan0 192.168.13.4 netmask 255.255.255.0 (devB)<br><br>Again, DevB is capable of reaching outside world because of eth0 - it has an IP 192.168.1.168 and default gateway 192.168.1.1<br>




Here is the routing table of DevB:<br><br>Kernel IP routing table<br>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br>192.168.3.3     *               255.255.255.255 UH    2      0        0 wlan0<br>




192.168.3.0     *               255.255.255.0   U     0      0        0 wlan0<br>192.168.1.0     *               255.255.255.0   U     0      0        0 eth0<br>default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0<br>




<br>While DevA is not capable of reaching outside world.<br>Here is the routing table of DevA:<br><br>Kernel IP routing table<br>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br>192.168.3.4     *               255.255.255.255 UH    2      0        0 wlan0<br>




192.168.3.0     *               255.255.255.0   U     0      0        0 wlan0<br><br><br><b>DevB status:</b><div><br>Table: Links<br>Local IP        Remote IP       Hyst.   LQ      NLQ     Cost<br></div>192.168.3.4     192.168.3.3     0.00    1.000   1.000   1.000   <br>



<div>
<br>Table: Neighbors<br>IP address      SYM     MPR     MPRS    Will.   2 Hop Neighbors<br></div>192.168.3.3     YES     NO      NO      4       0<div><br><br>Table: Topology<br>Dest. IP        Last hop IP     LQ      NLQ     Cost<br>



</div>
192.168.3.4     192.168.3.3     1.000   1.000   1.000<br>192.168.3.3     192.168.3.4     1.000   1.000   1.000<br><br>Table: HNA<br>Destination     Gateway<br><a href="http://1.234.56.0/27" target="_blank">1.234.56.0/27</a>   192.168.3.4<br>




<a href="http://123.45.67.0/24" target="_blank">123.45.67.0/24</a>  192.168.3.4<div><br><br>Table: MID<br>IP address      Aliases<br><br>Table: Routes<br>Destination     Gateway IP      Metric  ETX     Interface<br>
</div><a href="http://192.168.3.3/32" target="_blank">192.168.3.3/32</a>  192.168.3.3     1       1.000   wlan0  <br>
<br><br><b>DevA status:</b><div><br>Table: Links<br>Local IP        Remote IP       Hyst.   LQ      NLQ     Cost<br></div>192.168.3.3     192.168.3.4     0.00    1.000   1.000   1.000<div><br><br>Table: Neighbors<br>
IP address      SYM     MPR     MPRS    Will.   2 Hop Neighbors<br></div>
192.168.3.4     YES     NO      NO      4       0<div><br><br>Table: Topology<br>Dest. IP        Last hop IP     LQ      NLQ     Cost<br></div>192.168.3.4     192.168.3.3     1.000   1.000   1.000<br>192.168.3.3     192.168.3.4     1.000   1.000   1.000<br>




<br>Table: HNA<br>Destination     Gateway<br><a href="http://1.234.56.0/27" target="_blank">1.234.56.0/27</a>   192.168.3.3<br><a href="http://123.45.67.0/24" target="_blank">123.45.67.0/24</a>  192.168.3.3<div>
<br><br>Table: MID<br>IP address      Aliases<br>
<br>Table: Routes<br>Destination     Gateway IP      Metric  ETX     Interface<br></div><a href="http://192.168.3.4/32" target="_blank">192.168.3.4/32</a>  192.168.3.4     1       1.000   wlan0<br><br><br>I have a follow up questions:<br>



1. In my step-by-step procedures, did I miss something?. If I have a mistake, could you correct it?<br>
2. With regards to the kernel, are there any required modules?.<br><br><br>Regards,<br><font color="#888888"><br>john</font><div><div></div><div><br><br><br><br><div class="gmail_quote">On Mon, Aug 15, 2011 at 8:05 PM, Michel Blais <span dir="ltr"><<a href="mailto:michel@targointernet.com" target="_blank"></a><a href="mailto:michel@targointernet.com" target="_blank">michel@targointernet.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>This is the link with the default config i used at first. You should add security plugin if you run public network.</p>





<p><a href="http://staros.tog.net/wiki/OLSR" target="_blank"></a><a href="http://staros.tog.net/wiki/OLSR" target="_blank">http://staros.tog.net/wiki/OLSR</a></p>
<div class="gmail_quote"><div>Le 2011-08-15 22:24, "John Tobias" <<a href="mailto:john.tobias.ph@gmail.com" target="_blank"></a><a href="mailto:john.tobias.ph@gmail.com" target="_blank">john.tobias.ph@gmail.com</a>> a écrit :<br type="attribution">
</div><div>
<div></div><div>> Hi Guys,<br>> <br>> I was trying to configure my two devices to enable the mesh network support.<br>
> I will call them DevA and DevB, the two devices seems they can see to each<br>> other (I can ping them vice-versa). DevB has a capability to go outside<br>> world (WAN), but DevA need to use the mesh network in order to go outside<br>





> world. When, I issue a command 'ping <a href="http://google.com" target="_blank"></a><a href="http://google.com" target="_blank">google.com</a>' on DevA, it doesn't work.<br>> Any idea what am I missing (Please see DevA and DevB configuration below)?<br>




> <br>> NOTE: I do not have a router that support mesh networking and I am not sure<br>
> if I needed it.<br>> <br>> DevA:<br>> wlan0     Link encap:Ethernet  HWaddr 00:0E:8E:30:BC:07<br>>           inet addr:192.168.13.3  Bcast:192.168.13.255  Mask:255.255.255.0<br>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>





>           RX packets:28579 errors:105 dropped:0 overruns:0 frame:0<br>>           TX packets:3344 errors:0 dropped:0 overruns:0 carrier:0<br>>           collisions:0 txqueuelen:1000<br>>           RX bytes:3761333 (3.5 Mb)  TX bytes:361494 (353.0 Kb)<br>





> <br>> Table: Links<br>> Local IP        Remote IP       Hyst.   LQ      NLQ     Cost<br>> 192.168.13.3    192.168.13.4    0.00    1.000   0.862   1.158<br>> <br>> Table: Neighbors<br>> IP address      SYM     MPR     MPRS    Will.   2 Hop Neighbors<br>





> 192.168.13.4    YES     NO      NO      3       0<br>> <br>> Table: Topology<br>> Dest. IP        Last hop IP     LQ      NLQ     Cost<br>> 192.168.13.4    192.168.13.3    1.000   0.862   1.158<br>> 192.168.13.3    192.168.13.4    0.862   1.000   1.158<br>





> <br>> Table: HNA<br>> Destination     Gateway<br>> <a href="http://192.168.13.0/24" target="_blank">192.168.13.0/24</a> 192.168.13.3<br>> <br>> Table: MID<br>> IP address      Aliases<br>> <br>> Table: Routes<br>





> Destination     Gateway IP      Metric  ETX     Interface<br>> <a href="http://192.168.13.4/32" target="_blank">192.168.13.4/32</a> 192.168.13.4    1       1.158   wlan0<br>> <br>> <br>> *DevB:*<br>> eth0      Link encap:Ethernet  HWaddr 00:25:19:BF:AF:F4<br>





>           inet addr:192.168.1.168  Bcast:192.168.1.255  Mask:255.255.255.0<br>>           UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1<br>>           RX packets:9247 errors:0 dropped:0 overruns:0 frame:0<br>





>           TX packets:3892 errors:0 dropped:0 overruns:0 carrier:0<br>>           collisions:0 txqueuelen:1000<br>>           RX bytes:651031 (635.7 Kb)  TX bytes:1595657 (1.5 Mb)<br>> <br>> wlan0     Link encap:Ethernet  HWaddr 00:0E:8E:30:BB:A2<br>





>           inet addr:192.168.13.4  Bcast:192.168.13.255  Mask:255.255.255.0<br>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>>           RX packets:194197 errors:480 dropped:0 overruns:0 frame:0<br>





>           TX packets:15546 errors:0 dropped:0 overruns:0 carrier:0<br>>           collisions:0 txqueuelen:1000<br>>           RX bytes:25706893 (24.5 Mb)  TX bytes:1726766 (1.6 Mb)<br>> <br>> Table: Links<br>





> Local IP        Remote IP       Hyst.   LQ      NLQ     Cost<br>> 192.168.13.4    192.168.13.3    0.00    0.862   1.000   1.158<br>> <br>> Table: Neighbors<br>> IP address      SYM     MPR     MPRS    Will.   2 Hop Neighbors<br>





> 192.168.13.3    YES     NO      NO      5       0<br>> <br>> Table: Topology<br>> Dest. IP        Last hop IP     LQ      NLQ     Cost<br>> 192.168.13.4    192.168.13.3    1.000   0.862   1.158<br>> 192.168.13.3    192.168.13.4    0.862   1.000   1.158<br>





> <br>> Table: HNA<br>> Destination     Gateway<br>> <a href="http://192.168.13.0/24" target="_blank">192.168.13.0/24</a> 192.168.13.4<br>> <br>> Table: MID<br>> IP address      Aliases<br>> <br>> Table: Routes<br>





> Destination     Gateway IP      Metric  ETX     Interface<br>> <a href="http://192.168.13.3/32" target="_blank">192.168.13.3/32</a> 192.168.13.3    1       1.158   wlan0<br>> <br>> <br>> Thanks,<br>> <br>




> john<br>
</div></div></div>
</blockquote></div><br>
</div></div><br></div></div><div>--<br>
Olsr-users mailing list<br>
<a href="mailto:Olsr-users@lists.olsr.org" target="_blank"></a><a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a><br>
<a href="https://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank"></a><a href="https://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-users</a><br></div>
</blockquote></div><br></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></blockquote></div></div></div></blockquote></div><br></div>