Freifunk

Aus Shea Wiki
Zur Navigation springen Zur Suche springen

Freifunk

Administration

Tunnel IPs vom Rheinland: https://docs.google.com/document/d/1MymnkVW6Rv_ZSYViGo8od3lO6NHJ_-ircy_lu2_OJso/edit (vieles darin ist aber falsch)

Sonstiges

Ausgeführte Befehle

git clone https://github.com/FreiFunkMuenster/ffmap-backend
apt install python3-bs4


Knoten umziehen

uci add_list autoupdater.stable.mirror=http://[2a01:4f8:162:10d2:5:23:d0:0f]/site-ffms/stable/sysupgrade
uci del_list autoupdater.stable.mirror=http://firmware.ffms/site-ffms/stable/sysupgrade
uci set autoupdater.stable.good_signatures=0
uci commit
autoupdater


Temp

remue-01

echo bat0=bat0 >>/run/network/ifstate

auto bat0
iface bat0 inet manual
#iface bat0 inet static
#        address 10.43.8.2
#        netmask 255.255.248.0
        pre-up modprobe batman-adv
        pre-up ip link add bat0 type batadv||:
        post-up ip link set dev bat0 up
        post-up batctl it 10000
        post-up batctl gw server 1024Mbit/1024Mbit
        post-up ip rule add from all fwmark 0x1 table ffnet
        post-up ip rule add iif bat0 table ffnet
        post-up ip rule add iif lo lookup ffnet suppress_prefixlength 0
        post-up ip a a 10.43.8.2 dev bat0
        post-up ip a a 2a03:2260:115:100::2 bat0
        pre-down batctl if del bat0
        pre-down ip addr flush dev bat0
        post-down ip rule del from all fwmark 0x1 table ffnet
        post-down ip rule del iif bat0 table ffnet
        post-down ip rule del iif lo lookup ffnet suppress_prefixlength 0
#       post-down modprobe -r batman-adv
#
#iface bat0 inet6 static
#        address 2a03:2260:115:100::2
#        netmask 64
        post-up ip -6 rule add from all fwmark 0x1 table ffnet
        post-up ip -6 rule add iif bat0 table ffnet
        post-up ip -6 rule add iif lo lookup ffnet suppress_prefixlength 0 
        post-down ip -6 rule del from all fwmark 0x1 table ffnet
        post-down ip -6 rule del iif bat0 table ffnet
        post-down ip -6 rule del iif lo lookup ffnet suppress_prefixlength 0
        post-down ip link del $IFACE



KategorieWissen