BATMAN-adv: Unterschied zwischen den Versionen

Aus Freifunk Kiel
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „Auszug /etc/network/interfaces: <pre> auto br-kfn iface br-kfn inet6 manual bridge_ports none up ip link set $IFACE up down ip link set $I…“)
 
Zeile 20: Zeile 20:
 
         wireless_essid batman.kiel.freifunk.net
 
         wireless_essid batman.kiel.freifunk.net
 
         wireless_ap 02:CA:FF:EE:BA:BE
 
         wireless_ap 02:CA:FF:EE:BA:BE
         up ip link set $IFACE up
+
         up ip link set $IFACE mtu 1528 up
 
         post-up batctl if add $IFACE
 
         post-up batctl if add $IFACE
 
         pre-down batctl if del $IFACE
 
         pre-down batctl if del $IFACE
Zeile 28: Zeile 28:
 
/etc/tinc/kiel.freifunk.net/tinc-up:
 
/etc/tinc/kiel.freifunk.net/tinc-up:
 
<pre>
 
<pre>
ip link set $INTERFACE mtu 1527 up
+
ip link set $INTERFACE mtu 1528 up
 
batctl if add $INTERFACE
 
batctl if add $INTERFACE
 
</pre>
 
</pre>

Version vom 15. September 2011, 22:13 Uhr

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