On Thursday, April 12, 2012 19:05:54 Mitar wrote:
In batman-adv you can add/remove interfaces at runtime without problems so you doesn't need bridging or similar nasty things
Great. Can you also say to work on all "tun+" interfaces, so that any interface which starts with "tun" is automatically operated on?
No, batman-adv is not a user space daemon with a configuration file, hence you can't tell batman-adv to wait for tun+. However, you can easily write a simple shell script for hotplug which adds whatever interface you want to batman-adv as soon as it is created. Or, if you are using OpenWrt, you can simply extend the existing hotplug shell script to interprete the "+" as you like.
Regards, Marek