[Olsr-users] OLSR2D and DLEP_ROUTER plugin interplay:

s-mtafel (spam-protected)
Tue Dec 8 08:53:51 CET 2015


> Forget about destinations, they are only for things with multiple mac
> addresses... do you see any layer2 information on neighbor or
> interface level?
Good.
---------------------------------------------
Querying via *telnet* dlep_router_static:

*# := PSEUDOCOMMENT*
---------------------------------------------
$> layer2info interface

eth0    296    00:00:00:aa:00:00     # local iface

$> layer2info neighbor

Connection closed by foreign host.
[2]-  Floating point exception./dlep_router_static -l router_conf  # crashes

---------------------------------------------
>
> adding a debug source to the logging switches a certain logging output on.
Ack!

> I would guess its a problem with the path...
>
> if you add
>
> [log]
>     debug pluginsliboonf_dlep_router.so.0.10.0
>
> you should see where Olsrd2 is looking for the shared object files.

*# := PSEUDOCOMMENT
-------------------------------
*$ ./olsrd2_static -l <router_conf> -p dlep_router

08:50:20.405 DEBUG(plugins) src-api/core/oonf_subsystem.c 535: dlopen
(*/liboonf_dlep_router.so.0.10.0,0x105*) failed:
*/liboonf_dlep_router.so.*0.10.0: cannot open shared object file: No
such file or directory
08:50:20.405 WARN(plugins) src-api/core/oonf_subsystem.c 440: Could not
reload plugin 'dlep_router' into global namespace
*# 1. the / in ***/liboonf_dlep_router.so.0.10.0,0x105 *let's me guess
it's searching in root dir /*

*# 2. naivly copying ****liboonf_dlep_router.so
liboonf_dlep_router.so.0.10.0 to / *
*# 3. start again

*$ ./olsrd2_static -l <router_conf> -p dlep_router
08:51:38.534 DEBUG(plugins) src-api/core/oonf_subsystem.c 535: dlopen
(/liboonf_dlep_router.so.0.10.0,0x105) failed: (null)
08:51:38.535 WARN(plugins) src-api/core/oonf_subsystem.c 440: Could not
reload plugin 'dlep_router' into global namespace

*-------------------------------**

*My conf:

[log]
    debug plugins
    debug dlep_router
[global]
    plugins dlep_router
[dlep_router=eth0]
    local_heartbeat_interval  4.0
    discovery_interval    3.0
    discovery_port        2001

-- 
BR

Matthias Tafelmeier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20151208/717db8c6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xAD8F5E23.asc
Type: application/pgp-keys
Size: 2588 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20151208/717db8c6/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20151208/717db8c6/attachment.sig>


More information about the Olsr-users mailing list