• Verein
  • Linux
  • Freifunk
  • namespace
  • Repaircafé
  • Hey, Alter!
Logo

Freifunk Gera-Greiz

  • Mitmachen
  • Firmware
  • Wiki
  • Karte
  • Netzwerk
  • Backbone
  • Freifunkkommune Gera alte Projektwebseite
  • Statistiken
  • Traffic GW1
  • Traffic GW2
  • Traffic GW3
  • Zabbix
  • Status
  1. Aktuelle Seite:  
  2. Startseite
  3. Freifunk
  4. Netzwerk

Steuerung von Gluon-Geräten per ansible

Auch für die Konfiguration von Gluon-Geräten ist ansible einsetzbar. Die folgenden Beispiele zeigen verschiedene Möglichkeiten.

export ANSIBLE_HOST_KEY_CHECKING=False

Kontaktadressen setzen

ansible all -i inventory/gluonHardware.ini -m raw -a "uci set gluon-node-info.@owner[0].contact=Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein.'" -m raw -a "uci commit" -u root --ask-pass

Passwörter vereinheitlichen

  • einfach mehrmals mit allen vorhandenen Passwörter abfahren
  • nur bei den passenden Geräten können die Änderungen vorgenommen werden
ansible all -i inventory/gluonHardware.ini -m raw -a "echo -e \"GEHEIMES_PASSWORT\nGEHEIMES_PASSWORT\" | passwd root" -u root --ask-pass

Datenkontrolle

ansible all -i inventory/gluonHardware.ini -m raw -a "uci show system.@system[0].hostname" -u root --ask-pass

 

Details
Veröffentlicht: 28. November 2022
Zuletzt aktualisiert: 28. November 2022
  • Freifunk

AC-Mesh, Downgrade per TFTP

Download alte Firmware: https://www.ubnt.com/download/unifi/unifi-mesh/uap-ac-m nach /tmp

tftp
connect 192.168.1.20
binary
rexmt 1
timeout 60
put BZ.qca956x.v3.7.58.6385.170508.0957.bin
Details
Veröffentlicht: 22. Juni 2022
Zuletzt aktualisiert: 22. Juni 2022
  • Freifunk
  • TFTP
  • Ubiquiti

Per Tunneldigger ins Freifunk-Netzwerk (Mesh)

Grundpakete installieren

sudo apt-get install build-essential cmake pkg-config libnl-genl-3-dev libnl-3-dev
cd /opt/
sudo git clone https://github.com/wlanslovenija/tunneldigger.git
cd tunneldigger/client/

sudo cmake .
sudo make

Kernel-Module laden

sudo nano /etc/modules
l2tp_eth

Dienste anlegen/starten

sudo nano /etc/systemd/system/tunneldigger.service
[Unit]
Description=Tunneldigger-client
After=syslog.target network.target

[Service]
Type=simple
User=root
Group=root
PIDFile=/run/tunneldigger.pid
ExecStart=/opt/tunneldigger/client/tunneldigger -u "%H" -b 1.vpn.freifunk-gera-greiz.de:20181 -b 2.vpn.freifunk-gera-greiz.de:20181 -b 3.vpn.freifunk-gera-greiz.de:20181 -i mesh-vpn-l2tp-1 -a
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable tunneldigger.service
sudo systemctl start tunneldigger.service
Details
Veröffentlicht: 14. Juni 2022
Zuletzt aktualisiert: 14. Juni 2022
  • Freifunk
  • Server
  • Installation
  • Dienste

Freifunk-Karte bereitstellen/installieren (Yanic)

InfluxDB installieren

wget -O- https://repos.influxdata.com/influxdb.key | sudo tee /usr/share/keyrings/influxdb.key
echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt update
sudo apt install -y influxdb

sudo nano /etc/influxdb/influxdb.conf
reporting-disabled = true
bind-address = "127.0.0.1:8088"
[meta]
dir = "/var/lib/influxdb/meta"
[data]
dir = "/var/lib/influxdb/data"
wal-dir = "/var/lib/influxdb/wal"
series-id-set-cache-size = 100
[http]
bind-address = "127.0.0.1:8086"
auth-enabled = true
log-enabled = false
systemctl enable --now influxdb

Go installieren

cd /usr/local/
wget https://go.dev/dl/go1.18.linux-amd64.tar.gz -O go-release-linux-amd64.tar.gz
tar xvf go-release-linux-amd64.tar.gz
rm go-release-linux-amd64.tar.gz
sudo nano /etc/profile.d/golang.sh
#!/bin/sh
export GOPATH=/opt/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
chmod 755 /etc/profile.d/golang.sh

Yanic installieren

go install github.com/FreifunkBremen/yanic@main
cp /opt/go/pkg/mod/github.com/\!freifunk\!bremen/Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein.fa0/config_example.toml /etc/yanic.conf 
nano /etc/yanic.conf
[respondd]
enable           = true
synchronize      = "1m"
collect_interval = "1m"

[respondd.sites.ffhb]
domains            = ["city"]

[[respondd.interfaces]]
ifname = "br-ffhb"
ip_address = "fd2f:5119:f2d::5"

[webserver]
enable  = false
bind    = "127.0.0.1:8080"
webroot = "/var/www/html/meshviewer"

[nodes]
state_path    = "/var/lib/yanic/state.json"
prune_after   = "7d"
save_interval = "5s"
offline_after = "10m"

[[nodes.output.geojson]]
enable   = true
path = "/var/www/html/meshviewer/data/nodes.geojson"

[[nodes.output.meshviewer-ffrgb]]
enable   = true
path = "/var/www/html/meshviewer/data/meshviewer.json"

[nodes.output.meshviewer-ffrgb.filter]
no_owner = false

[[nodes.output.meshviewer]]
enable = false
version    = 2
nodes_path = "/var/www/html/meshviewer/data/nodes.json"
graph_path = "/var/www/html/meshviewer/data/graph.json"

[nodes.output.meshviewer.filter]
no_owner = true

[[nodes.output.nodelist]]
enable   = true
path = "/var/www/html/meshviewer/data/nodelist.json"

[nodes.output.nodelist.filter]
no_owner = true

[[nodes.output.raw]]
enable   = true
path = "/var/www/html/meshviewer/data/raw.json"

[nodes.output.raw.filter]
no_owner = true

[database]
delete_after    = "7d"
delete_interval = "1h"

[[database.connection.influxdb]]
enable   = false
address  = "http://localhost:8086"
database = "ffhb"
username = ""
password = ""

[[database.connection.graphite]]
enable   = false
address  = "localhost:2003"
prefix   = "freifunk"

[[database.connection.respondd]]
enable   = false
type     = "udp6"
address  = "stats.bremen.freifunk.net:11001"

[[database.connection.logging]]
enable   = false
path     = "/var/log/yanic.log"
cp /opt/go/pkg/mod/github.com/\!freifunk\!bremen/Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein.fa0/contrib/init/linux-systemd/yanic.service /lib/systemd/system/yanic.service
systemctl daemon-reload
mkdir -p /var/lib/yanic
mkdir -p /var/www/html/meshviewer/data
touch /var/log/yanic.log
chown yanic /var/log/yanic.log /var/lib/yanic /var/www/html/meshviewer/data
systemctl start yanic
systemctl enable yanic
Details
Veröffentlicht: 14. Juni 2022
Zuletzt aktualisiert: 14. Juni 2022
  • Freifunk
  • Yanic
  • Installation
  • Dienste

Bandbreitentests 1,5km in Ronneburg

Bandbreitentests mit iperf auf ca. 1,5 km Abstand ohne direkte Sichtverbindung

Knoten 1 (MDY) <- 1,3 km -> Baum <- 200 m -> Knoten 2 (Unitas)

Vorbereitung

opkg update 
okpg install iperf3 -d ram

Messung

root@Ronneburg-Goethe-02:/# /tmp/usr/bin/iperf3 -6 -t 60 get-server-output -i 10 -c 2a03:2260:100b::6a72:51ff:fe3a:a5dc
root@Test-MDY-Unitas-01:~# /tmp/usr/bin/iperf3 -6 server -i 10

Knoteninformationen

    Test-MDY-Unitas-01
cat /lib/gluon/gluon-version v2017.1 v2017.1
iwinfo
client0   ESSID: "Freifunk"
          Access Point: DA:5C:70:B1:6B:58
          Mode: Master  Channel: 6 (2.437 GHz)
          Tx-Power: 12 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: 168C:002E 0777:E0A2 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

mesh0 ESSID: unknown Access Point: 00:00:00:00:00:00 Mode: Mesh Point Channel: 6 (2.437 GHz) Tx-Power: 12 dBm Link Quality: 36/70 Signal: -74 dBm Noise: -95 dBm Bit Rate: 35.4 MBit/s Encryption: unknown Type: nl80211 HW Mode(s): 802.11bgn Hardware: 168C:002E 0777:E0A2 [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0

client0   ESSID: "Freifunk"
          Access Point: C6:A2:5C:5E:01:B0
          Mode: Master  Channel: 6 (2.437 GHz)
          Tx-Power: 20 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: 168C:002E 0777:E0A2 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

mesh0 ESSID: unknown Access Point: 00:00:00:00:00:00 Mode: Mesh Point Channel: 6 (2.437 GHz) Tx-Power: 20 dBm Link Quality: 48/70 Signal: -62 dBm Noise: -95 dBm Bit Rate: 57.4 MBit/s Encryption: unknown Type: nl80211 HW Mode(s): 802.11bgn Hardware: 168C:002E 0777:E0A2 [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0

iw dev mesh0 station dump
Station c6:a2:5c:5e:01:b1 (on mesh0)
	inactive time:	0 ms
	rx bytes:	3992210179
	rx packets:	30120547
	tx bytes:	44914749
	tx packets:	266370
	tx retries:	677178
	tx failed:	49253
	rx drop misc:	106806
	signal:  	-79 [-81, -85] dBm
	signal avg:	-78 [-80, -85] dBm
	Toffset:	18446743395818054698 us
	tx bitrate:	13.0 MBit/s MCS 1
	rx bitrate:	6.5 MBit/s MCS 0
	mesh llid:	29087
	mesh plid:	10180
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	820432 seconds
Station 1a:0c:a2:63:e3:31 (on mesh0)
	inactive time:	0 ms
	rx bytes:	8821104383
	rx packets:	67695630
	tx bytes:	108464693
	tx packets:	404395
	tx retries:	237769
	tx failed:	6857
	rx drop misc:	2075
	signal:  	-71 [-74, -74] dBm
	signal avg:	-70 [-73, -73] dBm
	Toffset:	18446743287084107612 us
	tx bitrate:	43.3 MBit/s MCS 4 short GI
	rx bitrate:	52.0 MBit/s MCS 11
	expected throughput:	20.49Mbps
	mesh llid:	3722
	mesh plid:	49150
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	820432 seconds
Station fa:c1:ca:d6:b5:99 (on mesh0)
	inactive time:	0 ms
	rx bytes:	1824730059
	rx packets:	13213797
	tx bytes:	788534
	tx packets:	7856
	tx retries:	758
	tx failed:	1
	rx drop misc:	1451
	signal:  	-33 [-39, -34] dBm
	signal avg:	-32 [-38, -33] dBm
	Toffset:	1493903112605 us
	tx bitrate:	115.6 MBit/s MCS 13 short GI
	rx bitrate:	144.4 MBit/s MCS 15 short GI
	expected throughput:	42.388Mbps
	mesh llid:	51905
	mesh plid:	1691
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	142371 seconds
Station 32:d2:fc:da:b4:51 (on mesh0)
	inactive time:	0 ms
	rx bytes:	1834141616
	rx packets:	13285022
	tx bytes:	619947
	tx packets:	6750
	tx retries:	367
	tx failed:	1
	rx drop misc:	1705
	signal:  	-22 [-32, -22] dBm
	signal avg:	-21 [-31, -21] dBm
	Toffset:	2738317944 us
	tx bitrate:	57.8 MBit/s MCS 5 short GI
	rx bitrate:	72.2 MBit/s MCS 7 short GI
	expected throughput:	31.218Mbps
	mesh llid:	45207
	mesh plid:	40405
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	142371 seconds
Station 46:38:aa:d6:ec:4d (on mesh0)
	inactive time:	0 ms
	rx bytes:	1859084816
	rx packets:	13250101
	tx bytes:	16511608
	tx packets:	86482
	tx retries:	6597
	tx failed:	1
	rx drop misc:	730
	signal:  	-60 [-68, -61] dBm
	signal avg:	-59 [-67, -60] dBm
	Toffset:	1493377648188 us
	tx bitrate:	130.0 MBit/s MCS 14 short GI
	rx bitrate:	86.7 MBit/s MCS 12 short GI
	expected throughput:	37.994Mbps
	mesh llid:	14761
	mesh plid:	38470
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	142371 seconds
Station da:5c:70:b1:6b:59 (on mesh0)
	inactive time:	1530 ms
	rx bytes:	981703776
	rx packets:	7327709
	tx bytes:	143643
	tx packets:	709
	tx retries:	2601
	tx failed:	216
	rx drop misc:	1197
	signal:  	-84 [-85, -92] dBm
	signal avg:	-83 [-84, -92] dBm
	Toffset:	677891471895 us
	tx bitrate:	6.5 MBit/s MCS 0
	rx bitrate:	6.5 MBit/s MCS 0
	expected throughput:	2.197Mbps
	mesh llid:	10180
	mesh plid:	29087
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	142371 seconds
iwinfo mesh0 assoclist
C6:A2:5C:5E:01:B1  -79 dBm / -95 dBm (SNR 16)  410 ms ago
	RX: 6.5 MBit/s, MCS 0, 20MHz                30149086 Pkts.
	TX: 13.0 MBit/s, MCS 1, 20MHz                 266370 Pkts.

1A:0C:A2:63:E3:31 -70 dBm / -95 dBm (SNR 25) 10 ms ago RX: 26.0 MBit/s, MCS 3, 20MHz 67764753 Pkts. TX: 43.3 MBit/s, MCS 10, 20MHz 404879 Pkts.

FA:C1:CA:D6:B5:99  -31 dBm / -95 dBm (SNR 64)  80 ms ago
	RX: 130.0 MBit/s, MCS 14, 20MHz             13287181 Pkts.
	TX: 115.6 MBit/s, MCS 13, 20MHz                 7890 Pkts.

32:D2:FC:DA:B4:51 -20 dBm / -95 dBm (SNR 75) 390 ms ago RX: 72.2 MBit/s, MCS 7, 20MHz 13359158 Pkts. TX: 130.0 MBit/s, MCS 14, 20MHz 6917 Pkts.

46:38:AA:D6:EC:4D -58 dBm / -95 dBm (SNR 37) 20 ms ago RX: 86.7 MBit/s, MCS 12, 20MHz 13324606 Pkts. TX: 130.0 MBit/s, MCS 14, 20MHz 86924 Pkts.

DA:5C:70:B1:6B:59 -83 dBm / -95 dBm (SNR 12) 560 ms ago RX: 6.5 MBit/s, MCS 0, 20MHz 7330894 Pkts. TX: 6.5 MBit/s, MCS 0, 20MHz 709 Pkts.

Testreihe 1: Ubiquiti NanoStation loco M2 – Ubiquiti NanoStation loco M2

[ ID] Interval Transfer Bandwidth Retr 
[ 4] 0.00-60.00 sec 3.77 MBytes 527 Kbits/sec 62 sender 
[ 4] 0.00-60.00 sec 3.64 MBytes 510 Kbits/sec receiver
 - - - - - - - - - - - - - - - - - - - - - - - - - 
[ ID] Interval Transfer Bandwidth Retr 
[ 4] 0.00-60.00 sec 2.84 MBytes 397 Kbits/sec 70 sender 
[ 4] 0.00-60.00 sec 2.74 MBytes 383 Kbits/sec receiver
 - - - - - - - - - - - - - - - - - - - - - - - - - 
[ ID] Interval Transfer Bandwidth Retr 
[ 4] 0.00-60.00 sec 4.52 MBytes 631 Kbits/sec 64 sender 
[ 4] 0.00-60.00 sec 4.40 MBytes 615 Kbits/sec receiver

Testreihe 2: Ubiquiti NanoStation loco M2 – Ubiquiti NanoStation loco M2 (per Internet)

root@Test-MDY-Unitas-01:~# batctl traceroute fdb5:78b:64cc::6a72:51ff:fe4e:9bdd
traceroute to fdb5:78b:64cc::6a72:51ff:fe4e:9bdd (da:5c:70:b1:6b:5b), 50 hops max, 20 byte packets
 1: 46:38:aa:d6:ec:4b  1.003 ms  0.879 ms  1.141 ms
 2: de:ad:be:ef:03:04  39.721 ms  39.388 ms  40.363 ms
 3: de:ad:be:ef:02:03  49.764 ms  48.435 ms  48.550 ms
 4: 1a:0c:a2:63:e3:33  174.570 ms  198.697 ms  207.635 ms
 5: da:5c:70:b1:6b:5b  175.072 ms  249.065 ms  166.216 ms

[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-60.00  sec  23.1 MBytes  3.23 Mbits/sec  153             sender
[  4]   0.00-60.00  sec  23.0 MBytes  3.21 Mbits/sec                  receiver

 

Details
Veröffentlicht: 23. November 2021
Zuletzt aktualisiert: 05. Juli 2017

Unterkategorien

Allgemein

Freifunkkommune Gera

FAQ

Öffentlichkeitsarbeit

Flohmarkt

Soziale Projekte

Organisation

Anleitungen

Dokumentation

Seite 1 von 44

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

namespace geöffnet?

<name>space
geschlossen seit 06.06.2026 17:29 Uhr

Weitere Informationen

  • Routerempfehlungen
RSS

Veranstaltungen / Ereignisse

05 Aug. 2026
18:30 - 22:00
namespace geöffnet
21 Aug. 2026
15:00 - 18:00
Repaircafé auf Tour in Gera/Zentrum
  • Willkommen
  • Impressum
  • Kontakt
  • Login
© 2026 Bürgernetz Gera-Greiz e.V.