[Olsr-users] Help with layer2info plugin

Henning Rogge (spam-protected)
Fri Mar 11 08:02:54 CET 2016


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



More information about the Olsr-users mailing list