Freifunk: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
(Änderung 244 von Suelmann (Diskussion) rückgängig gemacht.) Markierung: Rückgängigmachung |
||
(15 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 5: | Zeile 5: | ||
* [https://freifunk-muensterland.de/wiki/doku.php?id=intern:start Internes Wiki] | * [https://freifunk-muensterland.de/wiki/doku.php?id=intern:start Internes Wiki] | ||
* [https://github.com/FreiFunkMuenster GitHub] | * [https://github.com/FreiFunkMuenster GitHub] | ||
== Firmware signieren == | |||
<pre><nowiki> | |||
cd ~/Freifunk/manifest-ffms | |||
git pull | |||
./sign.sh ../firmware-secret site-ffms 191 stable | |||
</nowiki></pre> | |||
== Administration == | == Administration == | ||
Zeile 15: | Zeile 25: | ||
** <code><nowiki>ssh root@parad0x.gw.freifunk-muenster.de</nowiki></code> | ** <code><nowiki>ssh root@parad0x.gw.freifunk-muenster.de</nowiki></code> | ||
* Des-Gateways: 5.9.86.144 und 5.9.86.145 | * Des-Gateways: 5.9.86.144 und 5.9.86.145 | ||
* Ansible-Host: <code><nowiki>ssh | * Ansible-Host: <code><nowiki>ssh root@ffhost01.yadn.de -p 222</nowiki></code> | ||
* Map-Merger: ssh root@2a01:4f8:162:10d2:5:23:d0:0f | * Map-Merger: <code><nowiki>ssh root@2a01:4f8:162:10d2:5:23:d0:0f</nowiki></code> http://ffms-map.fungur.eu/map/ | ||
* Service-VM: <code><nowiki>ssh root@89.163.231.228</nowiki></code> http://89.163.231.228/map/ | |||
* Legacy-Servcie-VM: <code><nowiki>ssh root@217.79.181.126 -p 2210</nowiki></code> | |||
* Firmware-Server: <code><nowiki>ssh root@firmware.freifunk-muensterland.org -p 223</nowiki></code> | |||
== Hosts == | == Hosts == | ||
erzeugt durch <code><nowiki>cat /data/src/ffm/ansible-ffms/hosts | sed -e 's/ansible_ssh_host=/ssh root@/' -e 's/ansible_ssh_port=/-p /'</nowiki></code> | |||
<pre><nowiki> | <pre><nowiki> | ||
Allgemeine Infrastruktur-Server | # Allgemeine Infrastruktur-Server | ||
[common] | [common] | ||
buildserver ssh root@217.79.181.126 | buildserver ssh root@217.79.181.126 -p 2215 | ||
monitoring ssh root@178.62.2.100 | monitoring ssh root@178.62.2.100 | ||
services | 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 42: | Zeile 59: | ||
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-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 50: | Zeile 66: | ||
[domaene-01] | [domaene-01] | ||
remue-01 | #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 | 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 | test-des1 ssh root@5.9.86.144 | ||
test-des2 | 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> | ||
Zeile 82: | Zeile 109: | ||
== | == l2tp_client übersetzen == | ||
<pre><nowiki> | <pre><nowiki> | ||
ssh root@firmware.freifunk-muensterland.org -p 223 | |||
cd /home/gluon/gits/gluon/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-nand/tunneldigger-0.4.5 | |||
PATH=$PATH:/home/gluon/gits/gluon/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/ | |||
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/usr/include/libnl-tiny -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/usr/include -DLIBNL_TINY -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/usr/include -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/include -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include -c -I. -o l2tp_client.o l2tp_client.c | |||
mips-openwrt-linux-uclibc-gcc -L/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/usr/lib -L/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/lib -L/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -o l2tp_client l2tp_client.o asyncns.o -lpthread -lnl-tiny -lrt -lresolv | |||
mips-openwrt-linux-uclibc-strip l2tp_client | |||
</nowiki></pre> | |||
auf dem Router: | |||
<pre><nowiki> | |||
/etc/init.d/tunneldigger stop | |||
scp root@144.76.30.226:/home/gluon/gits/gluon/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-nand/tunneldigger-0.4.5/l2tp_client -P 223 /usr/bin/tunneldigger | |||
/etc/init.d/tunneldigger start | |||
</nowiki></pre> | </nowiki></pre> | ||
---- | ---- | ||
[[KategorieWissen]] | [[KategorieWissen]] | ||
Aktuelle Version vom 20. Dezember 2021, 13:56 Uhr
Freifunk
Firmware signieren
cd ~/Freifunk/manifest-ffms git pull ./sign.sh ../firmware-secret site-ffms 191 stable
Administration
- https://forum.freifunk-muensterland.de/t/admintagebuch-dokumentation-der-admintaetigkeiten/75/15
- https://freifunk-muensterland.de/wiki/doku.php?id=technik:gateway
- https://mpw.no-ip.biz/freifunk/münster-stadt/
- https://github.com/FreiFunkMuenster/site-ffms/tree/Münster-Stadt
- Backbone-Rechner:
ssh root@parad0x.gw.freifunk-muenster.de
- Des-Gateways: 5.9.86.144 und 5.9.86.145
- Ansible-Host:
ssh root@ffhost01.yadn.de -p 222
- Map-Merger:
ssh root@2a01:4f8:162:10d2:5:23:d0:0f
http://ffms-map.fungur.eu/map/ - Service-VM:
ssh root@89.163.231.228
http://89.163.231.228/map/ - Legacy-Servcie-VM:
ssh root@217.79.181.126 -p 2210
- Firmware-Server:
ssh root@firmware.freifunk-muensterland.org -p 223
Hosts
erzeugt durch cat /data/src/ffm/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
- https://freifunk-muensterland.de/wiki/doku.php?id=intern:ssh-logging
- Gateway-Einrichtung mit systemd-units in Fulda: https://wiki.mag.lab.sh/wiki/Freifunk_Fulda/Gateway/NG#Einwahlknoten_f.C3.BCr_fastd
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
l2tp_client übersetzen
ssh root@firmware.freifunk-muensterland.org -p 223 cd /home/gluon/gits/gluon/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-nand/tunneldigger-0.4.5 PATH=$PATH:/home/gluon/gits/gluon/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/ mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/usr/include/libnl-tiny -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/usr/include -DLIBNL_TINY -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/usr/include -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/include -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include -c -I. -o l2tp_client.o l2tp_client.c mips-openwrt-linux-uclibc-gcc -L/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/usr/lib -L/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-generic/lib -L/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/gluon/gits/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -o l2tp_client l2tp_client.o asyncns.o -lpthread -lnl-tiny -lrt -lresolv mips-openwrt-linux-uclibc-strip l2tp_client
auf dem Router:
/etc/init.d/tunneldigger stop scp root@144.76.30.226:/home/gluon/gits/gluon/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2_gluon-ar71xx-nand/tunneldigger-0.4.5/l2tp_client -P 223 /usr/bin/tunneldigger /etc/init.d/tunneldigger start