On Monday 27 June 2011 09:48:38 Max Ip wrote:
I would like to run bat0 interface directly after restarting the
computer (like we have it for wlan0 or eth0)
Could you please help me how do I do this?
This is a task for your distributions and we cannot help you here. For
example, I think there should be uci support for batman-adv in OpenWRT. There
could be support in other networking scripts of other distributions, but
usually there is some kind of "user init-script" which is called as last init
script so that the user can make his own modifications. (On Debian this would
be /etc/rc.local). You can just add the commands needed for the setup to this
file and it will be automatically done after the system started. Some
networking scripts also allow hooks to be added so that the batman-adv device
can automatically be started/removed when another network interface
appears/disappears or gets/looses a link.