Batman-adv: Configuration Approach Changed - Feb 2019

A quick heads-up for others, the configuration approach changed significantly with commit 54af5a2 on Sun Feb 24, 2019

While there is an update script, if you

  • Install a new image
  • Boot
  • Copy your old-style config

it doesn't look like the config will be updated.

The description on the commit message is pretty complete and I'll see how that goes.

I've put a warning on the batman-adv wiki page for now.

I think that explicitly running /rom/etc/uci-defaults/99-migrate-batadv_hardif probably would have resolved most things "automatically".

Things look a lot more "sane" now than they did with everything named the same and in different places. Seems like Sven did a great job of improving the config.

For reference, this is my hand-crafted config of the moment (first section is verbatim from the commit message):

config interface 'bat0'
        option proto 'batadv'
        option routing_algo 'BATMAN_IV'
        option aggregated_ogms 1
        option ap_isolation 0
        option bonding 0
        option fragmentation 1
        #option gw_bandwidth '10000/2000'
        option gw_mode 'off'
        #option gw_sel_class 20
        option log_level 0
        option orig_interval 1000
        option bridge_loop_avoidance 1
        option distributed_arp_table 1
        option multicast_mode 1
        option network_coding 0
        option hop_penalty 30
        option isolation_mark '0x00000000/0x00000000'

config interface 'nwi_mesh0'
        option ifname 'mesh0'
        option mtu '2304'
        option proto 'batadv_hardif'
        option master 'bat0'