<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Remove the hna 0.0.0.0/0 from dev a. Only one node should have
    0.0.0.0/0 except if you know what you're doing.<br>
    <br>
    Michel<br>
    <br>
    Le 2011-08-16 17:04, John Tobias a écrit :
    <blockquote
cite="mid:CACUGKYOE0WnX6tqJQO34MBytXwGQ5NP4NAT8-u08HLiZ3QL6Zg@mail.gmail.com"
      type="cite">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><br>
      Table: Links<br>
      Local IP        Remote IP       Hyst.   LQ      NLQ     Cost<br>
      192.168.3.4     192.168.3.3     0.00    0.905   1.000   1.104   <br>
      <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>
      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 moz-do-not-send="true" href="http://0.0.0.0/0">0.0.0.0/0</a>      
      192.168.3.4<br>
      <br>
      Table: MID<br>
      IP address      Aliases<br>
      <br>
      Table: Routes<br>
      Destination     Gateway IP      Metric  ETX     Interface<br>
      <a moz-do-not-send="true" href="http://192.168.3.3/32">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><br>
      Table: Links<br>
      Local IP        Remote IP       Hyst.   LQ      NLQ     Cost<br>
      192.168.3.3     192.168.3.4     0.00    1.000   0.937   1.066<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>
      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 moz-do-not-send="true" href="http://0.0.0.0/0">0.0.0.0/0</a>      
      192.168.3.4<br>
      <br>
      Table: MID<br>
      IP address      Aliases<br>
      <br>
      Table: Routes<br>
      Destination     Gateway IP      Metric  ETX     Interface<br>
      <a moz-do-not-send="true" href="http://0.0.0.0/0">0.0.0.0/0</a>      
      192.168.3.4     1       1.066   wlan0<br>
      <a moz-do-not-send="true" href="http://192.168.3.4/32">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><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>
      default         192.168.3.4     0.0.0.0         UG    2     
      0        0 wlan0<br>
      <br>
      But, when I ping <a moz-do-not-send="true"
        href="http://google.com">google.com</a>, I got ping: bad address
      '<a moz-do-not-send="true" href="http://google.com">google.com</a>'.<br>
      <br>
      Btw, I am using olsrd-0.6.1 released of olsr.<br>
      <br>
      Regards,<br>
      <br>
      john<br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On Tue, Aug 16, 2011 at 1:32 PM, Markus
        Kittenberger <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:Markus.Kittenberger@gmx.at">Markus.Kittenberger@gmx.at</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          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 class="im">
              <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 class="h5">On Tue, Aug 16, 2011 at 10:07 PM, John
                  Tobias <span dir="ltr"><<a moz-do-not-send="true"
                      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: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;">
                <div>
                  <div class="h5">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 moz-do-not-send="true"
                      href="http://1.234.56.0/27" target="_blank">1.234.56.0/27</a>  
                    192.168.3.4<br>
                    <a moz-do-not-send="true"
                      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 moz-do-not-send="true"
                      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 moz-do-not-send="true"
                      href="http://1.234.56.0/27" target="_blank">1.234.56.0/27</a>  
                    192.168.3.3<br>
                    <a moz-do-not-send="true"
                      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 moz-do-not-send="true"
                      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><br>
                        <br>
                        <br>
                        <br>
                        <div class="gmail_quote">On Mon, Aug 15, 2011 at
                          8:05 PM, Michel Blais <span dir="ltr"><<a
                              moz-do-not-send="true"
                              href="mailto:michel@targointernet.com"
                              target="_blank">michel@targointernet.com</a>></span>
                          wrote:<br>
                          <blockquote class="gmail_quote" style="margin:
                            0pt 0pt 0pt 0.8ex; border-left: 1px solid
                            rgb(204, 204, 204); 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 moz-do-not-send="true"
                                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 moz-do-not-send="true"
                                  href="mailto:john.tobias.ph@gmail.com"
                                  target="_blank">john.tobias.ph@gmail.com</a>>
                                a écrit :<br type="attribution">
                              </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 moz-do-not-send="true"
                                    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 moz-do-not-send="true"
                                    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 moz-do-not-send="true"
                                    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 moz-do-not-send="true"
                                    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 moz-do-not-send="true"
                                    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 class="im">--<br>
                  Olsr-users mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Olsr-users@lists.olsr.org"
                    target="_blank">Olsr-users@lists.olsr.org</a><br>
                  <a moz-do-not-send="true"
                    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>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Michel Blais
Administrateur réseau / Network administrator
Targo Communications
<a class="moz-txt-link-abbreviated" href="http://www.targo.ca">www.targo.ca</a>
514-448-0773

</pre>
  </body>
</html>