The gateway server dis/appearance is handled by /etc/hotplug.d/net/ framework, i'm currently working on a general script to handle that using uci config,
In the meanwhile, you can find more info in batman-adv wiki page
http://www.open-mesh.org/wiki/batman-adv/Uevent
or if you are in a hurry, check a hacky script
https://bitbucket.org/guidoi/batmesh/src/tip/batman-adv-auto-gw-mode/files/e...
On Sun, Nov 25, 2012 at 12:52 PM, Walter Robert Ditzler ditwal001@gmail.com wrote:
hi all,
i am wondering if events in batman-adv can be triggered such as:
- get message when: host/batman-adv lost connection
- get message when: host/batman-adv is connected to min. 1 gateway server
if yes, even whith other events, does anyone have an example how to read the event in a bash script for further processing?
thanks a lot,
walter.