freifunk:gateway:konfiguration
Inhaltsverzeichnis
Konfiguration
Dienste
Name | Zweck | ffmd-repo | Ort | inst. Version | autostart | sonstiges | ||
---|---|---|---|---|---|---|---|---|
alfred | mesh-metadaten | alfred | alfred | mesh-metadaten | alfred | |||
alfred-json | json aus alfred erstellen | alfred-json | 0.2-5-gad51202 | |||||
batman-adv | mesh-protokoll | - | ||||||
fastd | mesh-protokoll | - | v17 | |||||
ffmap-backend | backend zu Map | ffmap-backend | /opt/ffmap-backend/ | |||||
ffmap-d3 | map | ffmap-d3 | /var/www/map/ | anpassen der neuen Version (grüner/blauer Punkt) /var/www/map/config.json Variable: current-firmware | ||||
ffmap-stat-panel | Statistik für Panel im Space | - | /opt/ffmap-stat-panel /var/www/map | |||||
ffffng | Registerformular | ffffng | /home/fastdform/opt/ | |||||
Reihenfolge der Dienste
- openvpn (erzeugt device mullvad)
- fastd (erzeugt device ffmd-mesh-vpn, erzeugt nach startup bat0
tinc (erzeugt device icvpn)- bird
- bird6
- isc-dhcp-server ( (DHCP nur auf GW1 )
- unbounds
radvd- alfred (alfred nur auf GW1 )
batadv-vis
geprüft am 09.06.2020
Start der notwendigen Dienste nach reboot
- die Datei start-gateway.sh ausführen (als root)
#!/bin/sh service openvpn start sleep 5 service fastd start sleep 5 #service tinc start #sleep 5 #service bird start #service bird6 start service isc-dhcp-server start service pdns start service unbound start service radvd start service alfred start service batadv-vis start
WEB1: prometheus (Statistik-Datenbank)
- http://37.120.170.49:9090/graph → Oberfläche
- config: /etc/prometheus/prometheus.yml
global: scrape_interval: 1m scrape_timeout: 10s evaluation_interval: 1m scrape_configs: - job_name: prometheus honor_timestamps: true scrape_interval: 1m scrape_timeout: 10s metrics_path: /metrics scheme: http static_configs: - targets: - localhost:9090 - job_name: hopglass honor_timestamps: true scrape_interval: 1m scrape_timeout: 10s metrics_path: /metrics scheme: http static_configs: - targets: - web1.md.freifunk.net:4000
- systemctl start/stop prometheus-systemd
- liegt unter: /etc/systemd/system/prometheus-systemd.service
[Unit] Description=Prometheus service After=network.target [Service] User=prometheus Group=nogroup ExecStart=/usr/sbin/prometheus -config.file /etc/prometheus/prometheus.yml -storage.local.path /var/lib/prometheus/data -web.console.templates /etc/prometheus/consoles -web.console.libraries /etc/prometheus/console_libraries -storage.local.retention 760h0m0s ExecReload=/bin/kill -HUP $MAINPID Restart=always [Install] WantedBy=multi-user.target
freifunk/gateway/konfiguration.txt · Zuletzt geändert: 2020-06-09 20:35 von kwasir