BATMAN-adv

Aus Freifunk Kiel
Zur Navigation springen Zur Suche springen

Auszug /etc/network/interfaces:

auto br-kfn
iface br-kfn inet6 manual
        bridge_ports none
        up ip link set $IFACE up
        down ip link set $IFACE down

allow-hotplug bat0
iface bat0 inet6 manual
        up ip link set $IFACE up
        post-up brctl addif br-kfn $IFACE
        pre-down brctl addif br-kfn $IFACE
        down ip link set $IFACE down

auto wlan0
iface wlan0 inet6 manual
        wireless_mode ad-hoc
        wireless_channel 10
        wireless_essid batman.kiel.freifunk.net
        wireless_ap 02:CA:FF:EE:BA:BE
        up ip link set $IFACE mtu 1528 up
        post-up batctl if add $IFACE
        pre-down batctl if del $IFACE
        down ip link set $IFACE down

/etc/tinc/kiel.freifunk.net/tinc-up:

ip link set $INTERFACE mtu 1528 up
batctl if add $INTERFACE