[Olsr-users] OLSR 0.6.6-2 configuration

Theodoros Bourchas (spam-protected)
Fri Nov 7 16:44:40 CET 2014


I have used "olsrd -d 9 -f /var/etc/olsrd.conf -nofork" but the issue still
persists.
Should I enable sth in the conf file or do I miss any plugin?

Thanks in advance,

Theodoros

On Fri, Nov 7, 2014 at 4:29 PM, Ferry Huberts <(spam-protected)> wrote:

> use '-nofork' as a cli option, then olsrd will not fork
>
> and 2/3/etc : the higher the more output
>
> On 07/11/14 16:28, Theodoros Bourchas wrote:
>
>> What I get in syslog (syslog-ng installed and tail -f /var/log/messages)
>> is the following and nothing else.
>> In the meantime, the nodes are discovered.
>>
>> Oct 19 16:14:55 Arduino olsrd[22547]: Writing '1' (was 1) to
>> /proc/sys/net/ipv4/ip_forward
>> Oct 19 16:14:55 Arduino olsrd[22547]: Writing '0' (was 1) to
>> /proc/sys/net/ipv4/conf/all/send_redirects
>> Oct 19 16:14:55 Arduino olsrd[22547]: Writing '0' (was 0) to
>> /proc/sys/net/ipv4/conf/all/rp_filter
>> Oct 19 16:14:55 Arduino olsrd[22547]: Writing '0' (was 1) to
>> /proc/sys/net/ipv4/conf/wlan0/send_redirects
>> Oct 19 16:14:55 Arduino olsrd[22547]: Writing '0' (was 0) to
>> /proc/sys/net/ipv4/conf/wlan0/rp_filter
>> Oct 19 16:14:55 Arduino olsrd[22547]: Adding interface wlan0
>> Oct 19 16:14:55 Arduino olsrd[22547]: New main address: 10.0.0.11
>> Oct 19 16:14:55 Arduino olsrd[22547]: olsr.org <http://olsr.org> -
>>   0.6.6-git_508ca62-hash_aa1d94e660f73196451ccb9a42668911 successfully
>> started
>>
>>
>> I also tried with "olsrd -d 2 -f /var/etc/olsrd.conf -nofork" but the
>> issue still persists.
>>
>> Theodoros
>>
>>
>> On Fri, Nov 7, 2014 at 4:05 PM, Ferry Huberts <(spam-protected)
>> <mailto:(spam-protected)>> wrote:
>>
>>     olsrd forks into the background, that is why you don't see anything
>>     more on the console.
>>
>>     look in the syslog after the fork
>>
>>     On 07/11/14 15:53, Theodoros Bourchas wrote:
>>
>>         Hello olsr community,
>>
>>         I have an Arduino Yun board and I want to use OLSR for my project.
>>         Arduino Yun comes with Olsr 0.6.6-2 version. After enabling olsr
>>         and the
>>         related packages (olsrd-mod-* and luci-app-olsr-*)in make
>>         menuconfig, I
>>         built them and I installed them in the Arduino Yun with kernel
>>         3.3.8.
>>         I configured the parameters under /etc/config/olsrd file and I
>>         launch
>>         the daemon with /etc/init.d/olsrd start.
>>         It works, but my issue comes when I have to post some debug
>>         output in
>>         the console with the routing table of olsrd.
>>         When I ran olsrd -f /tmp/etc/olsrd.conf -d 2 , I receive the
>>         following:
>>         (spam-protected):~# olsrd -d 2 -f /tmp/etc/olsrd.conf
>>
>>            *** olsr.org <http://olsr.org> <http://olsr.org> -
>>
>>            0.6.6-git_35ec602-hash___d548b7e0803fe367d1084e4d6a21ce__09
>> ***
>>
>>            Build date: 2014-10-14 10:57:11 on debian
>>         http://www.olsr.org
>>
>>         Parsing file: "/tmp/etc/olsrd.conf"
>>         Debug level: 0
>>         Noint set to 1
>>         IpVersion: 4
>>         FIBMetric: flat
>>         Link quality level 2
>>         LQ Algorithm: etx_ff
>>         OlsrPort: 698
>>         Willingness: 3
>>         NAT threshold 1.00
>>         Plugin: olsrd_arprefresh.so.0.1
>>         Plugin: olsrd_dyn_gw.so.0.5
>>         Plugin: olsrd_httpinfo.so.0.1
>>         Plugin param key:"Net" val: "0.0.0.0 0.0.0.0"
>>         Plugin param key:"port" val: "1978"
>>         Plugin: olsrd_txtinfo.so.0.1
>>         Plugin param key:"accept" val: "0.0.0.0"
>>                   Mode: mesh
>>                   HELLO validity: 10000000.00
>>                   TC validity: 1000000.00
>>                   HELLO interval: 60.00
>>                   TC interval: 60.00
>>
>>         Interface Defaultssetting ifs_in_curr_cfg = 0
>>                   Mode: mesh
>>                   HELLO validity: 100000.00
>>                   TC validity: 100000.00
>>                   MID interval: 60.00
>>                   MID validity: 100000.00
>>                   HNA interval: 60.00
>>                   HNA validity: 100000.00
>>                   HELLO interval: 60.00
>>                   TC interval: 60.00
>>                   IPv4 broadcast/multicast : AUTO (d)
>>                   Mode           : mesh (d)
>>                   IPv6 multicast           : ff02::6d
>>                   HELLO emission/validity  : 60.00/10000000.00
>>                   TC emission/validity     : 60.00/1000000.00
>>                   MID emission/validity    : 5.00/300.00
>>                   HNA emission/validity    : 5.00/300.00
>>                   Autodetect changes       : yes
>>                   IPv4 broadcast/multicast : AUTO
>>                   Mode           : mesh (d)
>>                   IPv6 multicast           : ::
>>                   HELLO emission/validity  : 60.00/100000.00
>>                   TC emission/validity     : 60.00/100000.00
>>                   MID emission/validity    : 60.00/100000.00
>>                   HNA emission/validity    : 60.00/100000.00
>>                   Autodetect changes       : no
>>            *** olsrd configuration ***
>>         Debug Level      : 2
>>         IpVersion        : 4
>>         No interfaces    : ALLOWED
>>         TOS              : 0xc0
>>         OlsrPort          : 698
>>         RtTable          : 254
>>         RtTableDefault   : 254
>>         RtTableTunnel    : 254
>>         Willingness      : 3
>>         IPC connections  : 0
>>         Pollrate         : 0.05
>>         NIC ChangPollrate: 2.50
>>         TC redundancy    : 2
>>         MPR coverage     : 7
>>         LQ level         : 2
>>         LQ fish eye      : 1
>>         LQ aging factor  : 0.050000
>>         LQ algorithm name: etx_ff
>>         NAT threshold    : 1.000000
>>         Clear screen     : yes
>>         Use niit         : yes
>>         Smart Gateway    : no
>>         SmGw. Del Srv Tun: no
>>         SmGw. Use Count  : 1
>>         SmGw. Takedown%  : 25
>>         SmGw. Pol. Script: (null)
>>         SmGw. Egress I/Fs:
>>         SmGw. Mark Egress: 91
>>         SmGw. Mark Tunnel: 101
>>         SmGw. Allow NAT  : yes
>>         SmGw. period     : 10000
>>         SmGw. stablecount: 6
>>         SmGw. threshold  : 0%
>>         Smart Gw. Uplink : both
>>         SmGw. Uplink NAT : yes
>>         Smart Gw. speed  : 128 kbit/s up, 1024 kbit/s down
>>         # Smart Gw. prefix : ::/0
>>            InterfaceDefaults:
>>                   IPv4 broadcast/multicast : AUTO
>>                   Mode           : mesh
>>                   IPv6 multicast           : ff02::6d
>>                   HELLO emission/validity  : 60.00/10000000.00
>>                   TC emission/validity     : 60.00/1000000.00
>>                   MID emission/validity    : 5.00/300.00
>>                   HNA emission/validity    : 5.00/300.00
>>                   Autodetect changes       : yes
>>            dev: "wlan0"
>>                   IPv4 broadcast/multicast : AUTO (d)
>>                   Mode           : mesh
>>                   IPv6 multicast           : ff02::6d (d)
>>                   HELLO emission/validity  : 60.00/100000.00
>>                   TC emission/validity     : 60.00/100000.00
>>                   MID emission/validity    : 60.00/100000.00
>>                   HNA emission/validity    : 60.00/100000.00
>>                   Autodetect changes       : yes (d)
>>         Plugins:
>>                   Name: "olsrd_txtinfo.so.0.1"
>>                   Name: "olsrd_httpinfo.so.0.1"
>>                   Name: "olsrd_dyn_gw.so.0.5"
>>                   Name: "olsrd_arprefresh.so.0.1"
>>         Not using hysteresis
>>         OLSRD txtinfo plugin 0.1 by Lorenz Schori
>>         Httpinfo olsrd plugin 0.1 by Andreas Tonnesen
>>         OLSRD dynamic gateway plugin 0.4 by Various artists
>>         Group 0:
>>             HNA 0.0.0.0
>>         OLSRD arprefresh plugin by Sven-Ola
>>                  *** olsr.org <http://olsr.org> <http://olsr.org> -
>>
>>            0.6.6-git_35ec602-hash___d548b7e0803fe367d1084e4d6a21ce__09
>>
>>         (2014-10-14
>>         10:57:11 on debian) ***
>>
>>
>>         and then nothing appears, despite the fact that packets are
>>         transferred
>>         and neighbors are discovered.
>>         Can you help me with this debug output problem?
>>
>>         I attach the /tmp/etc/olsr.conf file
>>
>>
>>         DebugLevel 0
>>         AllowNoInt yes
>>         IpVersion 4
>>         FIBMetric "flat"
>>         LinkQualityLevel 2
>>         LinkQualityAlgorithm "etx_ff"
>>         OlsrPort 698
>>         Willingness 3
>>         NatThreshold 1.0
>>
>>         LoadPlugin "olsrd_arprefresh.so.0.1"
>>         {
>>         }
>>
>>         LoadPlugin "olsrd_dyn_gw.so.0.5"
>>         {
>>         }
>>
>>         LoadPlugin "olsrd_httpinfo.so.0.1"
>>         {
>>                   PlParam "Net" "0.0.0.0 0.0.0.0"
>>                   PlParam "port" "1978"
>>         }
>>
>>         LoadPlugin "olsrd_txtinfo.so.0.1"
>>         {
>>                   PlParam "accept" "0.0.0.0"
>>         }
>>
>>         InterfaceDefaults
>>         {
>>                   Mode "mesh"
>>                   HelloValidityTime 10000000.0
>>                   TcValidityTime 1000000.0
>>                   HelloInterval 60.0
>>                   TcInterval 60.0
>>         }
>>
>>         Interface "wlan0"
>>         {
>>                   Mode "mesh"
>>                   HelloValidityTime 100000.0
>>                   TcValidityTime 100000.0
>>                   MidInterval 60.0
>>                   MidValidityTime 100000.0
>>                   HnaInterval 60.0
>>                   HnaValidityTime 100000.0
>>                   HelloInterval 60.0
>>                   TcInterval 60.0
>>         }
>>
>>         Thanks in advance,
>>         Theodoros
>>
>>
>>
>>
>>     --
>>     Ferry Huberts
>>
>>
>>
> --
> Ferry Huberts
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20141107/86281bef/attachment.html>


More information about the Olsr-users mailing list