<p>This is a known bug, but on mesh networks  where there is no gateway any node not set up in very close temporal proximity will not be able to mesh using serval-mdp.</p>

<p>Fixing this requires either:</p>

<ul>
<li> Instructions letting people know that they must set up a ntpd server on their non-gateway connected network's, and how to do it.</li>
<li>A system for having mesh nodes check for an ntpd server on a mesh if one does not exist.</li>
<li>I am partial to the first option</li>
</ul><p>To recreate: </p>

<p>Set up nodes a day or two apart without access to gateway. Ensure they are far enough apart in date by using the date command.</p>

<p>root@NODE01:/# date</p>

<pre><code>Tue Feb 25 22:05:48 UTC 2014
</code></pre>

<p>root@NODE02:/# date</p>

<pre><code>Tue Feb 26 02:25:57 UTC 2014
</code></pre>

<p>If they are far enough apart, and share a serval key-ring they should still not be able to mesh. </p>

<p>Ensure that they can see each other:</p>

<p>root@test-001-1011232331:~# ip neighbor list</p>

<pre><code>fe80::f2de:f1ff:feda:8176 dev br-lan lladdr f0:de:f1:da:81:76 STALE
10.46.75.120 dev br-lan lladdr f0:de:f1:da:81:76 REACHABLE
100.70.49.27 dev wlan0-1 lladdr 26:a4:3c:46:31:1b STALE
</code></pre>

<p>Ensure that they can reach each other on the link layer:</p>

<p>root@test-001-1011232331:~# ping 10.46.75.120</p>

<pre><code>PING 10.46.75.120 (10.46.75.120): 56 data bytes
64 bytes from 10.46.75.120: seq=0 ttl=64 time=0.849 ms
64 bytes from 10.46.75.120: seq=1 ttl=64 time=0.708 ms
^C
</code></pre>

<p>Sync times to show that it is time based</p>

<p>NODE 01<br>
root@test-001-1011232331:/# chmod a+x /etc/rc.local <br>
root@test-001-1011232331:/# /etc/rc.local </p>

<pre><code>Tue Feb 25 21:06:32 UTC 2014
</code></pre>

<p>root@test-001-1011232331:/# /etc/init.d/network restart</p>

<p>NODE 02<br>
root@test-002-1011232331:/# chmod a+x /etc/rc.local <br>
root@test-002-1011232331:/# /etc/rc.local </p>

<pre><code>Tue Feb 25 21:06:32 UTC 2014
</code></pre>

<p>root@test-002-1011232331:/# /etc/init.d/network restart</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/olsrd-mdp/issues/1'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwODk4NzQwNCwiZGF0YSI6eyJpZCI6MjY1NDQwODN9fQ==--4f57b9bd0b758a202265bf6cea70667f0886e393.gif' height='1' width='1'></p>