[Olsr-users] Problem to start daemon olsrd2
Henning Rogge
(spam-protected)
Tue Feb 2 18:46:19 CET 2016
On Tue, Feb 2, 2016 at 4:39 PM, Fábio Carvalho
<(spam-protected)> wrote:
> Hi all,
>
> I am new in this forum and i want to configure a mesh network with OLSRv2.
> Each node of network is a simple pc running Linux Ubuntu and in each of them
> i compile de oonf framework this way:
>
> #apt-get install cmake git libnl-utils libtomcrypt-dev doxygen libnl-3-dev
> libnl-genl-3-dev
> #git clone http://olsr.org/git/oonf.git
> #cd /oonf/build/
> #cmake ..
> #make
>
> After this i hope that oonf framework is installed, so the next step is
> configure an adhoc network and interfaces:
>
> #iwconfig wlan0
> wlan0 IEEE 802.11bgn ESSID:"adhoc"
> Mode:Ad-Hoc Frequency:2.412 GHz Cell: 1A:E3:9A:F0:A7:75
> Tx-Power=14 dBm
> Retry short limit:7 RTS thr:off Fragment thr:off
> Power Management:off
>
> #ifconfig
Okay, first a good advise... don't use ifconfig anymore, it doesn't
tell you the whole truth. It has been deprecated since they introduced
IPv6 and Netlink to Linux.
use "ip addr" and "ip link" to get a better look what is going on in
your system.
> lo Link encap:Local Loopback
> inet addr:10.0.0.1 Mask:0.0.0.0
Could it be that you removed the 127.0.0.1 address from your loopback
device? Adding a second address for the "OLSRv2 routable address" is
good, but removing the 127.0.0.1 will get you all kind of trouble.
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:65536 Metric:1
> RX packets:2041 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2041 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:278627 (278.6 KB) TX bytes:278627 (278.6 KB)
>
> wlan0 Link encap:Ethernet HWaddr 78:92:9c:8b:2a:f0
> inet addr:169.254.9.196 Bcast:169.254.255.255 Mask:255.255.0.0
> inet6 addr: fe80::7a92:9cff:fe8b:2af0/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:7772 errors:0 dropped:0 overruns:0 frame:0
> TX packets:5223 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:6898152 (6.8 MB) TX bytes:755453 (755.4 KB)
>
> Interface de loopback have the ip 10.0.0.1/32 and wlan0 interface have the
> linklocal ip.
> My problem is this step, when I try to run the daemon it shows me the
> following error:
>
> (spam-protected):/# /oonf/build/olsrd2_static lo wlan0
>
> 15:07:59.859 WARN(stream_socket)
> src-plugins/subsystems/os_generic/os_fd_generic_configsocket.c 154: Cannot
> bind socket to address 127.0.0.1:1980: Cannot assign requested address (99)
There is no interface anymore on your system with the IP 127.0.0.1 to
bind the HTTP plugin port.
> 15:07:59.861 WARN(stream_socket)
> src-plugins/subsystems/os_generic/os_fd_generic_configsocket.c 154: Cannot
> bind socket to address 127.0.0.1:1980: Cannot assign requested address (99)
> 15:07:59.863 WARN(stream_socket)
> src-plugins/subsystems/os_generic/os_fd_generic_configsocket.c 154: Cannot
> bind socket to address 127.0.0.1:1980: Cannot assign requested address (99)
> 15:07:59.864 WARN(stream_socket)
> src-plugins/subsystems/os_generic/os_fd_generic_configsocket.c 154: Cannot
> bind socket to address 127.0.0.1:2009: Cannot assign requested address (99)
>
> The error is "Cannot bind socket to address 127.0.0.1:2009: Cannot assign
> requested address (99)", what am i doing wrong?
There is no interface anymore on your system with the IP 127.0.0.1 to
bind the Telnet plugin port.
I hope this helps.
More information about the Olsr-users
mailing list