<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<blockquote
cite="mid:CAGnRvurMYO-5cu3Ra825eTkkYTmNNjMhf6Hpv8A92+Lz+j=6ng@mail.gmail.com"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-unicode">
<pre wrap="">Forget about destinations, they are only for things with multiple mac
addresses... do you see any layer2 information on neighbor or
interface level?
</pre>
</div>
</blockquote>
Good. <br>
---------------------------------------------<br>
Querying via <b>telnet</b> dlep_router_static:<br>
<br>
<b># := PSEUDOCOMMENT</b><br>
---------------------------------------------<br>
$> layer2info interface <br>
<br>
eth0 296 00:00:00:aa:00:00 # local iface<br>
<br>
$> layer2info neighbor<br>
<br>
Connection closed by foreign host.<br>
[2]- Floating point exception./dlep_router_static -l router_conf #
crashes<br>
<br>
---------------------------------------------<br>
<blockquote
cite="mid:CAGnRvurMYO-5cu3Ra825eTkkYTmNNjMhf6Hpv8A92+Lz+j=6ng@mail.gmail.com"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-unicode">
<pre wrap="">
adding a debug source to the logging switches a certain logging output on.
</pre>
</div>
</blockquote>
Ack!<br>
<pre wrap="">
</pre>
<blockquote
cite="mid:CAGnRvurMYO-5cu3Ra825eTkkYTmNNjMhf6Hpv8A92+Lz+j=6ng@mail.gmail.com"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-unicode">
<pre wrap="">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.
</pre>
</div>
</blockquote>
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;" lang="x-unicode">
<pre wrap="">
</pre>
</div>
<b># := PSEUDOCOMMENT<br>
-------------------------------<br>
</b>$ ./olsrd2_static -l <router_conf> -p dlep_router<br>
<br>
08:50:20.405 DEBUG(plugins) src-api/core/oonf_subsystem.c 535:
dlopen (<b>/liboonf_dlep_router.so.0.10.0,0x105</b>) failed: <b>/liboonf_dlep_router.so.</b>0.10.0:
cannot open shared object file: No such file or directory<br>
08:50:20.405 WARN(plugins) src-api/core/oonf_subsystem.c 440: Could
not reload plugin 'dlep_router' into global namespace<br>
<b># 1. the / in </b><b><b>/liboonf_dlep_router.so.0.10.0,0x105 </b>let's
me guess it's searching in root dir /</b><br>
<br>
<b># 2. naivly copying </b><b><b></b>liboonf_dlep_router.so
liboonf_dlep_router.so.0.10.0 to / </b><br>
<b># 3. start again<br>
<br>
</b>$ ./olsrd2_static -l <router_conf> -p dlep_router<br>
08:51:38.534 DEBUG(plugins) src-api/core/oonf_subsystem.c 535:
dlopen (/liboonf_dlep_router.so.0.10.0,0x105) failed: (null)<br>
08:51:38.535 WARN(plugins) src-api/core/oonf_subsystem.c 440: Could
not reload plugin 'dlep_router' into global namespace<br>
<br>
<b>-------------------------------</b><b><br>
<br>
</b>My conf: <br>
<br>
[log]<br>
debug plugins <br>
debug dlep_router<br>
[global]<br>
plugins dlep_router<br>
[dlep_router=eth0]<br>
local_heartbeat_interval 4.0<br>
discovery_interval 3.0<br>
discovery_port 2001<br>
<pre class="moz-signature" cols="72">--
BR
Matthias Tafelmeier</pre>
</body>
</html>