Re: [B.A.T.M.A.N.] Migration to Batman

Antonio Quartulli
2012-04-13T06:22:42Z

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

On Fri, Apr 13, 2012 at 12:17:31AM +0200, Marek Lindner wrote:
> 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.

A little remark here. You MUST use interfaces that support ethernet frames
transmission. Therefore (IIRC) you can use tap interfaces but not tun ones.

Cheers,

--
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]