<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(0,0,0)">Thank you for advice and help</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(0,0,0)">I just follow the instructions of the OONF site, that say this:</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(0,0,0)">"<span style="font-family:sans-serif;font-size:12.8px;line-height:19.2px">You just need to set your "main/node IP" on the loopback interface. Set linklocal IPs on the mesh interfaces and everything should work. You also can set NO IPv4 addresses on the mesh interfaces, OLSRd2 will generate IPv4 linklocal IPs automatically."</span></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(0,0,0)"><span style="font-family:sans-serif;font-size:12.8px;line-height:19.2px"><br></span></div><div class="gmail_default" style="color:rgb(0,0,0)"><font face="sans-serif"><span style="font-size:12.8px;line-height:19.2px">Now i can start the daemon olsrd2 and access the routing information via http and telnet plugin.</span></font></div><div class="gmail_default" style="color:rgb(0,0,0)"><font face="sans-serif"><span style="font-size:12.8px;line-height:19.2px">Thank you</span></font></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i><br></i></font></div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>Cumprimentos,</i></font><div><font face="trebuchet ms, sans-serif"><i>Fábio Carvalho</i></font></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-02-02 17:46 GMT+00: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 class="">On Tue, Feb 2, 2016 at 4:39 PM, Fábio Carvalho<br>
<<a href="mailto:fabio.carvalho545@gmail.com">fabio.carvalho545@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I am new in this forum and i want to configure a mesh network with OLSRv2.<br>
> Each node of network is a simple pc running Linux Ubuntu and in each of them<br>
> i compile de oonf framework this way:<br>
><br>
> #apt-get install cmake git libnl-utils libtomcrypt-dev doxygen libnl-3-dev<br>
> libnl-genl-3-dev<br>
> #git clone <a href="http://olsr.org/git/oonf.git" rel="noreferrer" target="_blank">http://olsr.org/git/oonf.git</a><br>
> #cd /oonf/build/<br>
> #cmake ..<br>
> #make<br>
><br>
> After this i hope that oonf framework is installed, so the next step is<br>
> configure an adhoc network and interfaces:<br>
><br>
> #iwconfig wlan0<br>
> wlan0 IEEE 802.11bgn ESSID:"adhoc"<br>
> Mode:Ad-Hoc Frequency:2.412 GHz Cell: 1A:E3:9A:F0:A7:75<br>
> Tx-Power=14 dBm<br>
> Retry short limit:7 RTS thr:off Fragment thr:off<br>
> Power Management:off<br>
><br>
> #ifconfig<br>
<br>
</span>Okay, first a good advise... don't use ifconfig anymore, it doesn't<br>
tell you the whole truth. It has been deprecated since they introduced<br>
IPv6 and Netlink to Linux.<br>
<br>
use "ip addr" and "ip link" to get a better look what is going on in<br>
your system.<br>
<span class=""><br>
> lo Link encap:Local Loopback<br>
> inet addr:10.0.0.1 Mask:0.0.0.0<br>
<br>
</span>Could it be that you removed the 127.0.0.1 address from your loopback<br>
device? Adding a second address for the "OLSRv2 routable address" is<br>
good, but removing the 127.0.0.1 will get you all kind of trouble.<br>
<span class=""><br>
> inet6 addr: ::1/128 Scope:Host<br>
> UP LOOPBACK RUNNING MTU:65536 Metric:1<br>
> RX packets:2041 errors:0 dropped:0 overruns:0 frame:0<br>
> TX packets:2041 errors:0 dropped:0 overruns:0 carrier:0<br>
> collisions:0 txqueuelen:0<br>
> RX bytes:278627 (278.6 KB) TX bytes:278627 (278.6 KB)<br>
><br>
> wlan0 Link encap:Ethernet HWaddr 78:92:9c:8b:2a:f0<br>
> inet addr:169.254.9.196 Bcast:169.254.255.255 Mask:255.255.0.0<br>
> inet6 addr: fe80::7a92:9cff:fe8b:2af0/64 Scope:Link<br>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
> RX packets:7772 errors:0 dropped:0 overruns:0 frame:0<br>
> TX packets:5223 errors:0 dropped:0 overruns:0 carrier:0<br>
> collisions:0 txqueuelen:1000<br>
> RX bytes:6898152 (6.8 MB) TX bytes:755453 (755.4 KB)<br>
><br>
> Interface de loopback have the ip <a href="http://10.0.0.1/32" rel="noreferrer" target="_blank">10.0.0.1/32</a> and wlan0 interface have the<br>
> linklocal ip.<br>
> My problem is this step, when I try to run the daemon it shows me the<br>
> following error:<br>
><br>
> root@fabio-K53SD:/# /oonf/build/olsrd2_static lo wlan0<br>
><br>
> 15:07:59.859 WARN(stream_socket)<br>
> src-plugins/subsystems/os_generic/os_fd_generic_configsocket.c 154: Cannot<br>
> bind socket to address <a href="http://127.0.0.1:1980" rel="noreferrer" target="_blank">127.0.0.1:1980</a>: Cannot assign requested address (99)<br>
<br>
</span>There is no interface anymore on your system with the IP 127.0.0.1 to<br>
bind the HTTP plugin port.<br>
<span class=""><br>
> 15:07:59.861 WARN(stream_socket)<br>
> src-plugins/subsystems/os_generic/os_fd_generic_configsocket.c 154: Cannot<br>
> bind socket to address <a href="http://127.0.0.1:1980" rel="noreferrer" target="_blank">127.0.0.1:1980</a>: Cannot assign requested address (99)<br>
> 15:07:59.863 WARN(stream_socket)<br>
> src-plugins/subsystems/os_generic/os_fd_generic_configsocket.c 154: Cannot<br>
> bind socket to address <a href="http://127.0.0.1:1980" rel="noreferrer" target="_blank">127.0.0.1:1980</a>: Cannot assign requested address (99)<br>
> 15:07:59.864 WARN(stream_socket)<br>
> src-plugins/subsystems/os_generic/os_fd_generic_configsocket.c 154: Cannot<br>
> bind socket to address <a href="http://127.0.0.1:2009" rel="noreferrer" target="_blank">127.0.0.1:2009</a>: Cannot assign requested address (99)<br>
><br>
> The error is "Cannot bind socket to address <a href="http://127.0.0.1:2009" rel="noreferrer" target="_blank">127.0.0.1:2009</a>: Cannot assign<br>
> requested address (99)", what am i doing wrong?<br>
<br>
</span>There is no interface anymore on your system with the IP 127.0.0.1 to<br>
bind the Telnet plugin port.<br>
<br>
I hope this helps.<br>
</blockquote></div><br></div>