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