[Olsr-dev] Problems with oslrd running

Markus Kittenberger (spam-protected)
Mon Mar 15 19:11:48 CET 2010


olsrd_httpinfo.so.0.1 ist the newest version

BUT, unfotunately this does not mean it will work,... (as e.g 4 years ago
the httpinfo had the same version, but many things the plugin tries to
access has changed since then,..)

therefore you should compile the plugins togehter with the olsrd

so if u did an

your_build_dir# make build_all

you will find the matching "new" olsrd_httpinfo.so.0.1 in
your_build_dir/lib/httpinfo/...

regards Markus

p.s  in future (e.g olsrd 0.7.0) we will probably change plugin versions
more often (up to as fast as olsrd version changes *G)

currently they are only only if there were significant feature improvements
in the plugins, and never on small adaptions to accomadate changes in the
olsrd core
(that means infact never)

furthermore there might be no (necessarily) specified plugin version in the
configfile anymore
-> changing the configfile when plugin version changed is not neccesary

On Mon, Mar 15, 2010 at 6:54 PM, Airton Ishimori <(spam-protected)>wrote:

> I could running olsrd-0.5.6-r8 in background (thanks for all), but I not
> could do httpinfo plugin run, maybe is the olsrd_httpinfo.so.0.1 lib that
> it`s old. Wich the most recently version of olsrd_httpinfo.so ?? exist ?
>
>
>
> On Mon, Mar 15, 2010 at 13:53, Markus Kittenberger <
> (spam-protected)> wrote:
>
>> if you really did NOT install the HTTPINFO plugin
>>
>> than tell me what is olsrd loading?
>>
>> usually there would be a file not found error message if the configured
>> plugin is missing,..
>>
>> so somewhere (e.g. /usr/lib or /lib) on your system is an probably old
>> plugin (olsrd_httpinfo.so.0.1), which probably causes your problems
>>
>> so either install a correct plugin file or remove the
>> LoadPlugin "olsrd_httpinfo.so.0.1"  { ... }
>>
>> Markus
>>
>> On Mon, Mar 15, 2010 at 5:29 PM, Airton Ishimori <(spam-protected)>wrote:
>>
>>> I not remove httinfo plugin. I just not installed the httinfo plugin.
>>>
>>> (spam-protected):~# olsrd -d 9
>>>
>>>
>>>  *** olsr.org - 0.5.6-r8 ***
>>>  Build date: 2010-03-15 09:44:55 on machine
>>>  http://www.olsr.org
>>>
>>> Parsing file: "/etc/olsrd.conf"
>>>     IPv4 broadcast/multicast : AUTO
>>>     Mode           : mesh
>>>     IPv6 multicast           : ::
>>>     HELLO emission/validity  : 2.00 (d)/60.00 (d)
>>>     TC emission/validity     : 5.00 (d)/90.00 (d)
>>>     MID emission/validity    : 5.00 (d)/90.00 (d)
>>>     HNA emission/validity    : 5.00 (d)/90.00 (d)
>>>     Autodetect changes       : no
>>>  *** olsrd configuration ***
>>> Debug Level      : 9
>>> IpVersion        : 4
>>> No interfaces    : ALLOWED
>>> TOS              : 0x10
>>> OlsrPort          : 0x2ba
>>> RtTable          : 0xfe
>>> RtTableDefault   : 0x00
>>> Willingness      : 4
>>> IPC connections  : 0
>>>     Host 127.0.0.1
>>> Pollrate         : 0.05
>>> NIC ChangPollrate: 2.50
>>> TC redundancy    : 2
>>> MPR coverage     : 3
>>> LQ level         : 2
>>> LQ fish eye      : 1
>>> LQ Dijkstra limit: 255, 0.00
>>> LQ aging factor  : 0.100000
>>> LQ algorithm name: default
>>> NAT threshold    : 0.500000
>>> Clear screen     : no
>>>  InterfaceDefaults:
>>>     IPv4 broadcast/multicast : AUTO
>>>     Mode           : mesh
>>>     IPv6 multicast           : ff02::1
>>>     HELLO emission/validity  : 2.00/20.00
>>>     TC emission/validity     : 5.00/300.00
>>>     MID emission/validity    : 5.00/300.00
>>>     HNA emission/validity    : 5.00/300.00
>>>     Autodetect changes       : yes
>>>  dev: "eth1"
>>>     IPv4 broadcast/multicast : AUTO (d)
>>>     Mode           : mesh (d)
>>>     IPv6 multicast           : ff02::1 (d)
>>>     HELLO emission/validity  : 2.00/60.00
>>>     TC emission/validity     : 5.00/90.00
>>>     MID emission/validity    : 5.00/90.00
>>>     HNA emission/validity    : 5.00/90.00
>>>     Autodetect changes       : yes (d)
>>> Plugins:
>>>     Name: "olsrd_httpinfo.so.0.1"
>>> Not using hysteresis
>>> HNA4 entries:
>>>     0.0.0.0/Prefix 0 = Netmask: 0.0.0.0
>>> 0.0.0.0
>>>     10.152.0.64/Prefix 27 = Netmask: 255.255.255.224
>>> 255.255.255.224
>>>     10.151.2.0/Prefix 27 = Netmask: 255.255.255.224
>>> 255.255.255.224
>>>
>>> IP forwarding is enabled on this system
>>> Initializing parser...
>>> Parser: registering event for type 201
>>> Register parse function: Added function for type 201
>>> Parser: registering event for type 202
>>> Register parse function: Added function for type 202
>>> 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
>>> 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: 0
>>>     MTU - IPhdr: 1472
>>>     Index 3
>>>     Address:10.151.2.1
>>>     Netmask:255.255.0.0
>>>     Broadcast address:10.151.255.255
>>> Binding socket 5 to device eth1
>>> Binding socket 7 to device eth1
>>> Adding OLSR socket entry 5
>>> New main address: 10.151.2.1
>>> TIMER: start Hello Generation timer 0x10010920 firing in 00:00:01.837,
>>> ctx 0x1000bd88
>>> TIMER: start TC Generation timer 0x10010940 firing in 00:00:04.407, ctx
>>> 0x1000bd88
>>> TIMER: start MID Generation timer 0x10010960 firing in 00:00:04.000, ctx
>>> 0x1000bd88
>>> TIMER: start HNA Generation timer 0x10010980 firing in 00:00:04.878, ctx
>>> 0x1000bd88
>>> TIMER: start Interface Polling timer 0x100109a0 firing in 00:00:01.953,
>>> ctx (nil)
>>> TIMER: start unknown timer 0x100109c0 firing in 00:00:00.600, ctx (nil)
>>> Using 'etx_ff' algorithm for lq calculation.
>>> Parser: registering packetparser
>>> Registered packetparser  function
>>> TIMER: start unknown timer 0x100109e0 firing in 00:00:01.000, ctx (nil)
>>> TIMER: start unknown timer 0x10010a00 firing in 00:00:14.132, ctx (nil)
>>> RIB: init routing tree
>>> TC: init topo
>>> TC: add entry 10.151.2.1
>>> RIB: add prefix 10.151.2.1/32 from 10.151.2.1
>>> MPRS: Init
>>> MID: init
>>>
>>> ---------- LOADING LIBRARY olsrd_httpinfo.so.0.1 ----------
>>> Httpinfo olsrd plugin 0.1 by Andreas Tønnesen
>>> Checking plugin interface version:  5 - OK
>>> Trying to fetch plugin init function: OK
>>> Trying to fetch parameter table and it's size...
>>> Sending parameters...
>>> "Net"/"0.0.0.0 0.0.0.0"... Illegal instruction
>>>
>>>
>>>
>>> On Mon, Mar 15, 2010 at 12:59, Markus Kittenberger <
>>> (spam-protected)> wrote:
>>>
>>>> interesting,..
>>>>
>>>> what happens if u remove the usage of httpinfo plugin from the
>>>> olsrd.conf?
>>>>
>>>> furthermore try an higher debuglevel
>>>>
>>>> and how did you create the httpinfo plugin file?
>>>>
>>>> Markus
>>>>
>>>> On Mon, Mar 15, 2010 at 4:40 PM, Airton Ishimori <
>>>> (spam-protected)> wrote:
>>>>
>>>>> I executed the follow command..
>>>>>
>>>>> (spam-protected):~# olsrd -nofork
>>>>>
>>>>>
>>>>>  *** olsr.org - 0.5.6-r8 ***
>>>>>  Build date: 2010-03-15 09:44:55 on machine
>>>>>  http://www.olsr.org
>>>>>
>>>>> Parsing file: "/etc/olsrd.conf"
>>>>>     IPv4 broadcast/multicast : AUTO
>>>>>     Mode           : mesh
>>>>>     IPv6 multicast           : ::
>>>>>     HELLO emission/validity  : 2.00 (d)/60.00 (d)
>>>>>     TC emission/validity     : 5.00 (d)/90.00 (d)
>>>>>     MID emission/validity    : 5.00 (d)/90.00 (d)
>>>>>     HNA emission/validity    : 5.00 (d)/90.00 (d)
>>>>>     Autodetect changes       : no
>>>>> ---------- LOADING LIBRARY olsrd_httpinfo.so.0.1 ----------
>>>>> Httpinfo olsrd plugin 0.1 by Andreas Tønnesen
>>>>> Checking plugin interface version:  5 - OK
>>>>> Illegal instruction
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Mar 15, 2010 at 12:24, Markus Kittenberger <
>>>>> (spam-protected)> wrote:
>>>>>
>>>>>> please run this on the console
>>>>>>
>>>>>> olsrd -nofork
>>>>>>
>>>>>> an report what (especially the last line) the output is,..
>>>>>>
>>>>>> regards Markus
>>>>>>
>>>>>>  On Mon, Mar 15, 2010 at 2:34 PM, Airton Ishimori <
>>>>>> (spam-protected)> wrote:
>>>>>>
>>>>>>>  Hey,
>>>>>>>
>>>>>>> My olsrd not keep running... but I can call olsrd manually with olsrd
>>>>>>> command, however the olsrd daemon not keep running. When I call olsrd in the
>>>>>>> prompt, the output is
>>>>>>>
>>>>>>> (spam-protected):~# olsrd
>>>>>>>
>>>>>>>  *** olsr.org - 0.5.6-r8 ***
>>>>>>>  Build date: 2010-03-15 09:44:55 on machine
>>>>>>>  http://www.olsr.org
>>>>>>>
>>>>>>> Parsing file: "/etc/olsrd.conf"
>>>>>>>     IPv4 broadcast/multicast : AUTO
>>>>>>>     Mode           : mesh
>>>>>>>     IPv6 multicast           : ::
>>>>>>>     HELLO emission/validity  : 2.00 (d)/60.00 (d)
>>>>>>>     TC emission/validity     : 5.00 (d)/90.00 (d)
>>>>>>>     MID emission/validity    : 5.00 (d)/90.00 (d)
>>>>>>>     HNA emission/validity    : 5.00 (d)/90.00 (d)
>>>>>>>     Autodetect changes       : no
>>>>>>> olsr.org - 0.5.6-r8 detaching from the current process...
>>>>>>>
>>>>>>> My olsrd.conf file is configured with Debug Level 0 (default, that
>>>>>>> means the olsrd keep running in background).
>>>>>>>
>>>>>>> My ps comand show me this:
>>>>>>>
>>>>>>> (spam-protected):~# ps -e
>>>>>>>   PID  Uid     VmSize Stat Command
>>>>>>>     1 root        356 S   init
>>>>>>>     2 root            SW  [keventd]
>>>>>>>     3 root            RWN [ksoftirqd_CPU0]
>>>>>>>     4 root            SW  [kswapd]
>>>>>>>     5 root            SW  [bdflush]
>>>>>>>     6 root            SW  [kupdated]
>>>>>>>     8 root            SW  [mtdblockd]
>>>>>>>    70 root            SWN [jffs2_gcd_mtd4]
>>>>>>>    92 root        348 S   syslogd -C 16
>>>>>>>    95 root        344 S   logger -s -p 6 -t
>>>>>>>    98 root        356 S   init
>>>>>>>   100 root        300 S   klogd
>>>>>>>   369 root        320 S   wifi up
>>>>>>>   411 root        392 S   /usr/sbin/dropbear
>>>>>>>   416 root        368 S   httpd -p 80 -h /www -r id2
>>>>>>>   420 root        264 S   telnetd -l /bin/login
>>>>>>>   433 root        336 S   crond -c /etc/crontabs
>>>>>>>   450 nobody      412 S   dnsmasq -K -F
>>>>>>> 10.152.0.67,10.152.0.86,255.255.255.224,0 -I vlan1
>>>>>>>   526 root        492 S   /usr/bin/wifidog
>>>>>>>   702 root        492 S   /usr/bin/wifidog
>>>>>>>   703 root        492 S   /usr/bin/wifidog
>>>>>>>   704 root        492 S   /usr/bin/wifidog
>>>>>>>   705 root        492 S   /usr/bin/wifidog
>>>>>>>   717 root        444 S   iperf -s -D
>>>>>>>   833 root        596 S   /usr/sbin/dropbear
>>>>>>>   834 root        528 S   -ash
>>>>>>>  1344 root        344 R   ps -e
>>>>>>>
>>>>>>> The my olsrd was installed from ipk package generate with
>>>>>>> OpenWRT-SDK, becouse I wanted. However, but not would has different for run
>>>>>>> olsrd daemon...
>>>>>>>
>>>>>>> The olsrd was installed into OpenWRT whiterussian on LinkSys Router
>>>>>>> 54GL.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Olsr-dev mailing list
>>>>>>> (spam-protected)
>>>>>>> http://lists.olsr.org/mailman/listinfo/olsr-dev
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100315/d9529ad8/attachment.html>


More information about the Olsr-dev mailing list