[OLSR-users] OLSR 0.4.10 in Linux not working

Vinicius Pacheco (spam-protected)
Fri Jul 28 15:27:20 CEST 2006


Hi everybody,

I really hope anyone can help me. I'm trying to run OLSRD in an Ad-Hoc
enviroment but i can't get the linux node to work.
To simplify my problem, consider the following topology:

Node 1
      Node 2
Windows XP--------------------------------------------------------------Linux-Fedora
5 (2.6.17-1.2157_FC5)
olsrd-0.4.10
     olsrd-0.4.10
IP:10.0.0.2
     IP:10.0.0.1
Mask:255.0.0.0
 Mask:255.0.0.0

What happens is that when i start the daemon on both nodes, the Linux
node can't update anything.
On the other hand, the Windows node receives the HELLO msgs from the
Linux node and includes the IP from Linux in its messages but the
opposite does not happen, what configures an Asymmetric link from Node
1 to Node 2.
In the debug page on the Windows Node I can see the msgs from Linux
arriving and being processed but in the Linux node i can't see
anything, it just stays there like it is not receiving any olsr msgs
(But it is!!!).

Important:
-Before and after i start the daemon on boths nodes, i can ping one another.
-In The Linux node, via Ethereal, i can see that the hello messages
from olsr from Windows node are arriving, but they are not being
processed (the debug page stays still).
-The hello msgs being received in Linux from Windows, after some
seconds, arrive informing that the link from Windows to Linux is
Asymmetric. This happens because the Linux node is behaving like it
does not receives any hello. Again, using Ethereal i can see that the
Linux does receive the hello msgs from Windows.
-When I use both nodes in Windows, everything works fine... like a charm!
-I can't test both nodes in linux because in one of the nodes the wifi
card is not supported in linux.

-------------------------------------------------------------------------------------------------------------------------------
Debug page from Linux:
[(spam-protected) etc]# olsrd

 *** olsr.org - 0.4.10 ***
 Build date: Jul 23 2006
 http://www.olsr.org

Parsing file: "/etc/olsrd.conf"
 *** olsrd configuration ***
Debug Level      : 9
IpVersion        : 4
No interfaces    : ALLOWED
TOS              : 0x10
Willingness      : 6
IPC connections  : 1
        Host 127.0.0.1
Pollrate         : 0.05
TC redundancy    : 0
MPR coverage     : 1
LQ level         : 0
LQ fish eye      : 0
LQ Dijkstra limit: 255, 0.00
LQ window size   : 10
Clear screen     : yes
Interfaces:
 dev: "eth1"
        IPv4 broadcast           : AUTO
        IPv6 addrtype            : global
        IPv6 multicast site/glbl : ff05::15/ff0e::1
        HELLO emission/validity  : 2.00/6.00
        TC emission/validity     : 5.00/15.00
        MID emission/validity    : 5.00/15.00
        HNA emission/validity    : 5.00/15.00
Not using hysteresis
Initializing parser...
Parser: registering event for type 1
Register parse function: Added function for type 1
Parser: registering event for type 2
Register parse function: Added function for type 2
Parser: registering event for type 3
Register parse function: Added function for type 3
Parser: registering event for type 4
Register parse function: Added function for type 4
Using IP version 4
Added 0.0.0.0 to IP deny set
Added 127.0.0.1 to IP deny set

 ---- Interface configuration ----

Checking eth1:
        Wireless interface detected
        Metric: 1
        MTU - IPhdr: 1472
        Index 0
        Address:10.0.0.1
        Netmask:255.0.0.0
        Broadcast address:10.255.255.255
Binding socket 5 to device eth1
Adding OLSR socket entry 5
New main address: 10.0.0.1
Scheduler event registered int: 2.00
Scheduler event registered int: 5.00
Scheduler event registered int: 5.00
Scheduler event registered int: 5.00
Scheduler event registered int: 2.50
Scheduler event registered int: 0.60
Parser: registering event for type -1
Register parse function: Added function for type -1
Adding OLSR socket entry 6
Initializing duplicatetable - hashsize 32
Scheduler event registered int: 2.00
TC: init topo
MPRS: Init
MID: init
Scheduler event registered int: 1.00
Scheduler event registered int: 1.00
Loading plugins...

Main address: 10.0.0.1

Scheduler started - polling every 0.05 seconds
Max jitter is 0.500000

------------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------------------------
Debug page from Windows:
*** olsr.org - 0.4.10 ***
 Build date: Jan  4 2006
 http://www.olsr.org

Parsing file: "C:\DOCUME~1\Pacheco\CONFIG~1\Temp\GNUA.tmp"
 *** olsrd configuration ***
Debug Level      : 9
IpVersion        : 4
No interfaces    : ALLOWED
TOS              : 0x10
Willingness      : AUTO
IPC connections  : 1
 Host 127.0.0.1
Pollrate         : 0.10
TC redundancy    : 0
MPR coverage     : 1
LQ level         : 0
LQ fish eye      : 0
LQ Dijkstra limit: 255,  0.00
LQ window size   : 10
Clear screen     : no
Interfaces:
 dev: "IF03"
 IPv4 broadcast           : AUTO
 IPv6 addrtype            : global
 IPv6 multicast site/glbl : ff05::15/ff0e::1
  HELLO emission/validity  : 2.00/6.00
 TC emission/validity     : 5.00/15.00
 MID emission/validity    : 5.00/15.00
 HNA emission/validity    : 5.00/15.00
Plugins:
 Name: "olsrd_httpinfo.dll"
Not using hysteresis
Routing enabled.
Initializing parser...
Parser: registering event for type 1
Register parse function: Added function for type 1
Parser: registering event for type 2
Register parse function: Added function for type 2
Parser: registering event for type 3
Register parse function: Added function for type 3
Parser: registering event for type 4
Register parse function: Added function for type 4
Scheduler event registered int:  20.00
Initializing APM
APM info:
 AC status 1
 Battery percentage 0%

APM info:
 AC status 1
 Battery percentage 0%

Willingness set to 6 - next update in 20.0 secs
Using IP version 4
Added 0.0.0.0 to IP deny set
Added 127.0.0.1 to IP deny set

 ---- Interface configuration ----

Index = 00000003
Index = 00000003
Index = 00000003
Index = 00000003
Checking whether interface \\.\{186E53C3-A144-4977-983E-78F09E6FE1E3}
is wireless.
 Interface IF03 set up for use with index 0

 MTU: 1472
 Address: 10.0.0.2
 Netmask: 255.0.0.0
 Broadcast address: 10.255.255.255
 Kernel index: 00000003
Adding OLSR socket entry 1864
New main address: 10.0.0.2
Scheduler event registered int: 2.00
Scheduler event registered int: 5.00
Scheduler event registered int: 5.00
Scheduler event registered int:  5.00
Scheduler event registered int: 2.50
Parser: registering event for type -1
Register parse function: Added function for type -1
Adding OLSR socket entry 1840
Initializing duplicatetable - hashsize 32
 Scheduler event registered int: 2.00
TC: init topo
MPRS: Init
MID: init
Scheduler event registered int: 1.00
Scheduler event registered int: 1.00
Loading plugins...

---------- Plugin loader ----------
Library: olsrd_httpinfo.dll
Httpinfo olsrd plugin 0.1 by Andreas Tønnesen
Checking plugin interface version...  4 - OK
Trying to fetch plugin init function... OK
Trying to fetch param function... OK
Sending parameters...
"Net"/"0.0.0.0 0.0.0.0"... OK
Running plugin_init function...
Adding OLSR socket entry 1824
---------- LIBRARY LOADED ----------

Main address: 10.0.0.2

Scheduler started - polling every 0.10 seconds
Max jitter is 0.500000

Index = 00000003
Index = 00000003
Index = 00000003
Index = 00000003
Checking whether interface \\.\{186E53C3-A144-4977-983E-78F09E6FE1E3}
is wireless.
 No address change.
 No netmask change.
 No broadcast address change.
Front end connected
Sending net-info to front end...
Connection from 127.0.0.1
Got HELLO vtime: 6.000000  htime: 2.000000
Willingness for 10.0.0.1 changed from 0 to 6 - UPDATING

**RECALCULATING MPR**

Two hop neighbors: 0
************** TABLES ****************
Routing table:
ROUTING TABLE
DESTINATION NEXT HOP HOPCNT INTERFACE
Old table:
ROUTING TABLE
DESTINATION NEXT HOP HOPCNT INTERFACE
**************************************
Updating kernel routes...
Updating kernel HNA routes...
HNA table:
ROUTING TABLE
DESTINATION NEXT HOP HOPCNT INTERFACE
mid set: 10:05:05.500000

DUP TABLE:


--- 10:05:05.50 ------------------------------------------------- HNA SET

IP net          netmask         GW IP

--- 10:05:05.50 ---------------------------------------------------- LINKS

IP address       hyst   LQ     lost   total  NLQ    ETX
10.0.0.1         0.000  0.000  0      0      0.000  0.00

--- 10:05:05.50 ------------------------------------------------ NEIGHBORS

IP address       LQ     NLQ    SYM   MPR   MPRS  will
10.0.0.1         0.000  0.000  NO    NO    NO    6

--- 10:05:05.50 ------------------------------------------------- TOPOLOGY

Source IP addr   Dest IP addr     LQ     ILQ    ETX
Index = 00000003
Index = 00000003
Index = 00000003
Index = 00000003
Checking whether interface  \\.\{186E53C3-A144-4977-983E-78F09E6FE1E3}
is wireless.
 No address change.
 No netmask change.
 No broadcast address change.
Got HELLO vtime: 6.000000 htime: 2.000000
Got HELLO vtime: 6.000000 htime: 2.000000
Index = 00000003
Index = 00000003
Index = 00000003
Index = 00000003
Checking whether interface \\.\{186E53C3-A144-4977-983E-78F09E6FE1E3}
is wireless.
 No address change.
 No netmask change.
 No broadcast address change.
Got HELLO vtime: 6.000000 htime: 2.000000
Index = 00000003
Index = 00000003
Index = 00000003
Index = 00000003

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




Thanks for the atention,

Vinícius M. Pacheco




More information about the Olsr-users mailing list