[Olsr-users] Help with layer2info plugin

Fábio Carvalho (spam-protected)
Sun Feb 28 17:50:23 CET 2016


I execute command ./olsrd2_static --version and output was:
OLSRd2 version 0.10.0
 Git commit: v0.10.0-69-g5e80a98
Visit http://www.olsr.org
Static plugin: cfg_compact
Static plugin: class
Static plugin: clock
Static plugin: duplicate_set
Static plugin: ff_dat_metric
Static plugin: http
Static plugin: interface
Static plugin: lan_import
Static plugin: layer2
Static plugin: layer2info
Static plugin: link_config
Static plugin: neighbor_probing
Static plugin: netjsoninfo
Static plugin: nhdp
Static plugin: nhdpinfo
Static plugin: olsrv2
Static plugin: olsrv2info
Static plugin: os_clock
Static plugin: os_fd
Static plugin: os_interface
Static plugin: os_routing
Static plugin: os_system
Static plugin: packet_socket
Static plugin: rfc5444
Static plugin: socket
Static plugin: stream_socket
Static plugin: systeminfo
Static plugin: telnet
Static plugin: timer
Static plugin: viewer

The n80211 plugin doesn't appear on list, so i recompile again the oonf
framework after install the required dependencies:

apt-get install libnl-3-dev libnl-genl-3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnl-3-dev is already the newest version.
libnl-genl-3-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

The dependicies have been installed correctly.
Now i compile again the oonf framework.

/olsrv2/oonf/build# cmake ..
Linux detected
Git commit: v0.10.0-69-g5e80a98, Git version: 0.10.0
-- Using 'nl-genl-3;nl-3' for nl80211 access
-- Configuring done
-- Generating done
-- Build files have been written to: /olsrv2/oonf/build

/olsrv2/oonf/build#make
...
[ 39%] Built target oonf_nl80211_listener
[ 41%] Built target oonf_static_nl80211_listener
[ 42%] Built target oonf_eth_listener
...

After compile, the nl80211_plugin doesn't appear on list.


*Cumprimentos,*
*Fábio Carvalho*

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

> On Fri, Feb 26, 2016 at 8:25 AM, Henning Rogge <(spam-protected)> wrote:
> > On Thu, Feb 25, 2016 at 11:33 PM, Fábio Carvalho
> > <(spam-protected)> wrote:
> >> But, when i access to telnet plugin and execute any command from
> layer2info
> >> it doesn't return any information.
> ...
> >>
> >> Should i establish one DLEP session for get these information? Or, the
> >> nl80211 plugin isn't working correctly?
> >
> > I would guess that your build system did lack the necessary files to
> > create the nl80211_listener plugin (which reads the data from the
> > Linux kernel).
> >
> > you can check with "olsrd2_static --version" to see the list of
> > integrated plugins.
>
> I have also added a User FAQ entry about this to the webpage:
> http://www.olsr.org/mediawiki/index.php/User_FAQ
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160228/1c158b70/attachment.html>


More information about the Olsr-users mailing list