[Olsr-users] Problem to start daemon olsrd2

Fábio Carvalho (spam-protected)
Tue Feb 2 16:39:31 CET 2016


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*
lo        Link encap:Local Loopback
          inet addr:10.0.0.1  Mask:0.0.0.0
          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)
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?*

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160202/2895b5a0/attachment.html>


More information about the Olsr-users mailing list