Freifunk: Unterschied zwischen den Versionen

Aus Shea Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 23: Zeile 23:


<pre><nowiki>  
<pre><nowiki>  
Allgemeine Infrastruktur-Server
# Allgemeine Infrastruktur-Server  
[common]
[common]
buildserver ssh root@217.79.181.126 -p 2215
buildserver ssh root@217.79.181.126 -p 2215
monitoring  ssh root@178.62.2.100
monitoring  ssh root@178.62.2.100
services   ssh root@217.79.181.126 -p 2210
services-legacy ssh root@217.79.181.126 -p 2210
webserver  ssh root@89.163.231.227
webserver  ssh root@89.163.231.227


# Backbone Server
# Service-VM für Zentrale Dienste (Karte, Statistik) 
[services]
services    ssh root@89.163.231.228
 
# Backbone Server  
[backbone]
[backbone]
c1024    ssh root@176.9.88.123
c1024    ssh root@176.9.88.123
fanlin  ssh root@89.163.221.125
fanlin  ssh root@89.163.221.125  
parad0x  ssh root@5.9.67.189
parad0x  ssh root@5.9.67.189


# Supernode Server
# Supernode Server  
[supernodes]
[supernodes]
sn-fanlin-1  ssh root@85.14.245.16
sn-fanlin-1  ssh root@85.14.245.16
Zeile 43: Zeile 47:
sn-parad0x-1  ssh root@5.9.166.66
sn-parad0x-1  ssh root@5.9.166.66
sense        ssh root@176.221.46.161
sense        ssh root@176.221.46.161
sn-sense-3    ssh root@134.119.36.210
sn-sense-4    ssh root@134.119.42.10  
sn-sense-4    ssh root@134.119.42.10
sn-descilla-1 ssh root@5.9.86.154
sn-descilla-1 ssh root@5.9.86.154
# sn-descilla-2 ssh root@5.9.86.145
# sn-descilla-2 ssh root@5.9.86.145
Zeile 51: Zeile 54:


[domaene-01]
[domaene-01]
remue-01       ssh root@148.251.208.170
#remue-01 ssh root@148.251.208.170
greyworm-01    ssh root@89.163.247.45
greyworm-01    ssh root@89.163.247.45
sense-02       ssh root@134.119.20.233
sense-02 ssh root@134.119.20.233
 
[domaene-02]
greyworm-02    ssh root@89.163.247.46
sense-03 ssh root@134.119.36.210


[domaene-test]
[domaene-test]
test-des1       ssh root@5.9.86.144
test-des1 ssh root@5.9.86.144
test-des2       ssh root@5.9.86.145
test-des2 ssh root@5.9.86.145
 
# Sonstige Server
[ffms-arbeitsmittel]
ffms-ansible    ssh root@148.251.208.168
 
[ffms-mapserver]
ffms-map    ssh root@2a01:4f8:162:10d2:5:23:d0:0f
</nowiki></pre>
</nowiki></pre>



Version vom 1. Januar 1970, 01:00 Uhr

Freifunk

Administration

Hosts

erzeugt durch cat /data/src/ffm/ffservice/ansible-ffms/hosts | sed -e 's/ansible_ssh_host=/ssh root@/' -e 's/ansible_ssh_port=/-p /'

 
# Allgemeine Infrastruktur-Server 
[common]
buildserver ssh root@217.79.181.126 -p 2215
monitoring  ssh root@178.62.2.100
services-legacy ssh root@217.79.181.126 -p 2210
webserver   ssh root@89.163.231.227

# Service-VM für Zentrale Dienste (Karte, Statistik)  
[services]
services    ssh root@89.163.231.228

# Backbone Server 
[backbone]
c1024    ssh root@176.9.88.123
fanlin   ssh root@89.163.221.125 
parad0x  ssh root@5.9.67.189

# Supernode Server 
[supernodes]
sn-fanlin-1   ssh root@85.14.245.16
sn-fanlin-2   ssh root@213.202.222.143
fussel        ssh root@37.120.168.53
sn-parad0x-1  ssh root@5.9.166.66
sense         ssh root@176.221.46.161
sn-sense-4    ssh root@134.119.42.10 
sn-descilla-1 ssh root@5.9.86.154
# sn-descilla-2 ssh root@5.9.86.145
sn-kgbvax-2   ssh root@136.243.99.72
sn-kgbvax-3   ssh root@136.243.99.49

[domaene-01]
#remue-01	ssh root@148.251.208.170
greyworm-01     ssh root@89.163.247.45
sense-02	ssh root@134.119.20.233

[domaene-02]
greyworm-02     ssh root@89.163.247.46
sense-03	ssh root@134.119.36.210 

[domaene-test]
test-des1	ssh root@5.9.86.144
test-des2	ssh root@5.9.86.145

# Sonstige Server
[ffms-arbeitsmittel]
ffms-ansible    ssh root@148.251.208.168

[ffms-mapserver]
ffms-map    ssh root@2a01:4f8:162:10d2:5:23:d0:0f


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