[Olsr-users] DLEP Radio test: Can mac80211_hwsim help?

Henning Rogge (spam-protected)
Tue Dec 16 08:23:03 CET 2014


On Tue, Dec 16, 2014 at 6:27 AM, Vigneswaran R <(spam-protected)> wrote:
> I could get some information using layer2info as shown below.

Yes :)

(I meant the layer2info plugin when I said "layer2 viewer")

> # echo "/layer2info interface"|nc 127.0.0.1 2009
> wlan1    74    02:00:00:00:01:00                    2.412 GHz    0 Hz    20
> MHz    0  Hz
>
> I used the following configuration entries.
>
> dlep_radio.conf
> ===============
> [global]
>         plugin          dlep_radio
>         plugin          layer2info
>         plugin          nl80211_listener
>
> [dlep_radio=tap0]
>         source          wlan1
>
> [nl80211_listener]
>         if              wlan1
>         interval        1.0
>
> [layer2_viewer]
Remove this line or replace it with "[layer2info]".

> I am not sure whether layer2_viewer is in effect or not. Because, when I
> tried "olsrd2_static --set global.plugin=layer2_viewer
> --schema=layer2_viewer" to know the plugin options, I got the following
> message,
>
> WARN(plugins) src-api/core/oonf_subsystem.c 544: Loading of plugin
> layer2_viewer failed.
> Unknown section type 'layer2_viewer'

My fault when I used the wrong name.

Henning




More information about the Olsr-users mailing list