bmx7 icon indicating copy to clipboard operation
bmx7 copied to clipboard

channel information i originators

Open der-nele opened this issue 3 years ago • 2 comments

hello

is it possible or easy to make that bmx7 is sharing the channel information in the mesh. to see in originators with router use with channel. for more easy channel tuning.

thanks for this good working tool

der-nele avatar Apr 25 '21 10:04 der-nele

Hello,

That should be possible. Either with sms plugin or maybe it is already integrated with iwinfo plugin.

Using the sms plugin you can synchronize "small" files in a virtual directory structure in memory among other bmx7 nodes that also have the sms plugin enabled. Therefore

  • run bmx7 with the sms plugin. Startup with something like: bmx7 plugin=bmx7_sms.so syncSms=is-list dev=eth1

  • (maybe periodically every few minutes or after parameter change) dump your wireless config to the file to be propagated to other nodes: iw list > /var/run/bmx7/sms/sendSms/iw-list If you haven't done already during bmx7 startup like above: Instruct a running bmx7 daemon to syncronize the content of the file iw-list to other nodes: bmx7 -c syncSms iw-list

All other nodes having the sms plugin loaded will see the file in their rcvdSms directory with a node-specific filename which is named as : like this: /var/run/bmx7/sms/rcvdSms/AF0989B15A9EFB20F9A97F1491EBD9774CC8DA3BDA0C96A8F55FEDB1:iw-list

Using the iwinfo plugin (mostly developed for openwrt ath9 cards) I guess channel information is already included, shared among nodes, and considered for routing. Then it should also be possible to extract this info using either bmx7 -c descriptions # this should print attributes of each node

When using also json plugin: bmx7 plugin=bmx7_json.so plugin=bmx7_iwinfo.so ... This information is also available in json format in the directory: /var/lib/bmx7/json/... The /var/run/bmx7/json/netjson/network-graph.json might actually give you all you need then...

There is some poor help for all of this here: https://github.com/bmx-routing/bmx7/blob/master/doc/Plugins.md

So feel free to improve that and do a merge request :-)

Best regards, Axel

On 25.04.21 12:32, der-nele wrote:

hello

is it possible or easy to make that bmx7 is sharing the channel information in the mesh. to see in originators with router use with channel. for more easy channel tuning.

thanks for this good working tool

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bmx-routing/bmx7/issues/59, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKBBHTDRWDFRKE7S3KYQ33TKPVTNANCNFSM43REMNTQ.

axn avatar May 01 '21 05:05 axn

ok thak you. i find some one how help me for that...

der-nele avatar May 04 '21 09:05 der-nele