[Olsr-users] Help with layer2info plugin

Fábio Carvalho (spam-protected)
Sun Mar 13 01:38:41 CET 2016


I have discovered the problem for the daemon does not load the plugin
nl80211 on OONF version v.0.11.1.

The CMakeList.txt file of folder olsrd2 only load the plugin like optional:

IF (NOT OONF_OPTIONAL_STATIC_PLUGINS)
    set (OONF_OPTIONAL_STATIC_PLUGINS nl80211_listener)
ENDIF (NOT OONF_OPTIONAL_STATIC_PLUGINS)

If i add one line on OONF_STATIC_PLUGINS the plugin is loaded without any
problems.


*Cumprimentos,*
*Fábio Carvalho*

2016-03-11 7:02 GMT+00:00 Henning Rogge <(spam-protected)>:

> On Thu, Mar 10, 2016 at 11:08 PM, Fábio Carvalho
> <(spam-protected)> wrote:
> > I compiled the new release v0.11.1 and the plugin nl80211 is not loaded
> for
> > olsrd2. I will try with other platforms.
>
> There is not much difference between 0.10 and 0.11 in terms of
> nl80211... I really suggest checking your build system.
>
> If "olsrd2_static --version" does not show the nl80211_listener
> plugin, something is wrong with your build environment.
>
> > On version v0.10.0 when i execute this command echo "layer2info json
> > neighbor" | nc 127.0.0.1 2009 the output is:
> > {"neighbor": [{
> > "if":"wlan0",
> > "if_index":3,
> > "if_local_addr":"f8:d1:11:08:a7:6c",
> > "neigh_addr":"14:cc:20:15:c4:b8",
> > "neigh_lastseen":0,
> > "neigh_tx_signal":"",
> > "neigh_rx_signal":"-13  dBm",
> > "neigh_tx_bitrate":"54 Mbit/s",
> > "neigh_rx_bitrate":"54 Mbit/s",
> > "neigh_tx_max_bitrate":"",
> > "neigh_rx_max_bitrate":"",
> > "neigh_tx_bytes":"56.356 kbyte",
> > "neigh_rx_bytes":"102.112 kbyte",
> > "neigh_tx_frames":"104",
> > "neigh_rx_frames":"1.007 k",
> > "neigh_tx_throughput":"",
> > "neigh_tx_retries":"0",
> > "neigh_tx_failed":"0",
> > "neigh_latency":"",
> > "neigh_tx_resources":"",
> > "neigh_rx_resources":"",
> > "neigh_tx_rlq":"",
> > "neigh_rx_rlq":""}]}
>
> Only fields supported by the nl80211_listener are filled with data.
> Some fields are just there because they are available fields in DLEP.
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160313/3b58bd2e/attachment.html>


More information about the Olsr-users mailing list