<div dir="ltr"><div><div><div>Actually it's working :p<br></div>I was calling netjsoninfo on the telnet console instead of "netjsoninfo graph"<br><br></div>On the link attribute, I have the following:<br>"links": [{"source":"169.254.244.81","target":"169.254.244.82","weight":37,"properties": {"weight_txt":"55.351 Mbit/s","in":37,"in_txt":"55.351 Mbit/s","outgoing_tree":"false"}},{"source":"169.254.244.82","target":"169.254.244.81","weight":37,"properties": {"weight_txt":"55.351 Mbit/s","in":37,"in_txt":"55.351 Mbit/s","outgoing_tree":"false"}}]<br><br></div>What does weight, in, weight_txt and in_txt represent?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-13 14:14 GMT+02:00 Charles Lesire-Cabaniols <span dir="ltr"><<a href="mailto:charles.lesire@gmail.com" target="_blank">charles.lesire@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Here is my current configuration: both RaspPI have Ubuntu 14.04 LTS with oonf compiled from git master. They are both connected on eth0 to my office network (so that I can ssh to them), and I try to connect them together using wlan0.<br><br></div>On RaspPI 1 :<br># The loopback network interface<br>auto lo<br>iface lo inet loopback<br><br># The primary network interface<br>auto eth0<br>iface eth0 inet static<br> address 134.212.244.81<br> netmask 255.255.0.0<br> gateway 134.212.90.100<br> dns-nameservers 134.212.90.3 134.212.90.6<br><br># WLAN<br>auto wlan0<br>iface wlan0 inet static<br> wireless-mode ad-hoc<br> wireless-essid MAMBO<br> address 169.254.244.81<br> netmask 255.255.0.0<br><br></div>On RaspPI 2 : idem with 82 instead of 81 at end of IP addresses<br><br></div>On RaspPI 1:<br>$ iwconfig wlan0<br>wlan0 IEEE 802.11bgn ESSID:"MAMBO" <br> Mode:Ad-Hoc Frequency:2.412 GHz Cell: BE:F9:B2:61:7E:59 <br> Tx-Power=20 dBm <br> Retry short limit:7 RTS thr:off Fragment thr:off<br> Power Management:off<br>$ ifconfig wlan0<br>wlan0 Link encap:Ethernet HWaddr f8:1a:67:23:f7:14 <br> inet addr:169.254.244.81 Bcast:169.254.255.255 Mask:255.255.0.0<br> inet6 addr: fe80::fa1a:67ff:fe23:f714/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:1196 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:1180 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:480375 (480.3 KB) TX bytes:499834 (499.8 KB)<br><br><div><div>On RaspPI 2:<br></div><div>$ iwconfig wlan0<br>wlan0 IEEE 802.11bgn ESSID:"MAMBO" <br> Mode:Ad-Hoc Frequency:2.412 GHz Cell: BE:F9:B2:61:7E:59 <br> Tx-Power=20 dBm <br> Retry short limit:7 RTS thr:off Fragment thr:off<br> Power Management:off<br>$ ifconfig wlan0<br>wlan0 Link encap:Ethernet HWaddr a0:f3:c1:2f:dd:ad <br> inet addr:169.254.244.82 Bcast:169.254.255.255 Mask:255.255.0.0<br> inet6 addr: fe80::a2f3:c1ff:fe2f:ddad/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:1241 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:1264 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:533113 (533.1 KB) TX bytes:561624 (561.6 KB)<br><br></div><div>Both can ping using their 169.254.244.{81,82} addresses.<br><br></div><div>Then I have launched on both './oslrd2_static wlan0'.<br><br></div><div>I don't know how to test except using the telnet interface and calling some OONF functions.<br></div><div>netjsoninfo returns an empty graph...<br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-10-13 10:30 GMT+02:00 Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, Oct 13, 2015 at 10:22 AM, Charles Lesire-Cabaniols<br>
<<a href="mailto:charles.lesire@gmail.com" target="_blank">charles.lesire@gmail.com</a>> wrote:<br>
> Ok, thanks for the answer... but you're talking to a newb, so please be more<br>
> precise ;).<br>
> Here are my questions:<br>
><br>
> 2015-10-12 19:05 GMT+02:00 Henning Rogge <<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a>>:<br>
>><br>
>> On Mon, Oct 12, 2015 at 1:36 PM, Charles Lesire-Cabaniols<br>
>> <<a href="mailto:charles.lesire@gmail.com" target="_blank">charles.lesire@gmail.com</a>> wrote:<br>
</span><span>>> > Question: Looks like setting up the IP is not necessary with olsrd2<br>
>> > (according to the doc), but without I could ping my nodes; what is the<br>
>> > good<br>
>> > configuration to set?<br>
>><br>
>> If you want to run your interfaces with linklocal addresses, olsrd2<br>
>> (in dualstack mode with IPv6) can do this for you.<br>
>><br>
>> BUT you need at least one routable (not linklocal) address on one<br>
>> interfaced used by olsrd2... in a multi-interface scenario this can be<br>
>> the loopback interface.<br>
><br>
><br>
> And so? I tried to set a static address for my loopback in<br>
> network/interfaces, but it is not taken into account.<br>
<br>
</span>have a look at the "typical OLSR deployments" page of our wiki (its<br>
linked in the User FAQ)<br>
<a href="http://www.olsr.org/mediawiki/index.php/OLSR_network_deployments" rel="noreferrer" target="_blank">http://www.olsr.org/mediawiki/index.php/OLSR_network_deployments</a><br>
<br>
when you want to use the "loopback" to store your routable IP, you<br>
need to add it to the list of interfaces for olsrd2:<br>
<br>
But this doesn't make much sense with a single Wifi interface...<br>
<br>
just set the routable address of each node to wlan0 for now and start<br>
just with "olsrd2_static wlan0".<br>
<span><br>
> And when I launch "olsrd2_static wlan0 lo", nothing specific happens in<br>
> "route -n"<br>
<br>
</span>what is your output of "ip addr" ?<br>
<span><br>
> Ok, I got it... but the netjsoninfo is empty (collectionrs = []) when my two<br>
> nodes look connected<br>
<br>
</span>It does not look like your two OLSR instances can see each other.<br>
<br>
Do you had a look at the "Troubleshooting" page of our wiki (also<br>
linked in the User FAQ)?<br>
<br>
<a href="http://www.olsr.org/mediawiki/index.php/Troubleshooting" rel="noreferrer" target="_blank">http://www.olsr.org/mediawiki/index.php/Troubleshooting</a><br>
<span><font color="#888888"><br>
Henning<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>