Standorte/Forchheim/Katzenstein: Unterschied zwischen den Versionen
Zeile 22: | Zeile 22: | ||
'''2,4-<abbr title="Gigahertz">GHz</abbr>-Funkkanal:''' 1<br /> | '''2,4-<abbr title="Gigahertz">GHz</abbr>-Funkkanal:''' 1<br /> | ||
'''5-<abbr title="Gigahertz">GHz</abbr>-Funkkanal:''' 48<br /> | '''5-<abbr title="Gigahertz">GHz</abbr>-Funkkanal:''' 48<br /> | ||
=== Konfiguration === | |||
{| role="presentation" class="wikitable mw-collapsible autocollapse" | {| role="presentation" class="wikitable mw-collapsible autocollapse" | ||
| <strong> | | <strong>/etc/hoodfile</strong> | ||
|- | |- | ||
| <pre>{ | | <pre>{ | ||
Zeile 54: | Zeile 56: | ||
} | } | ||
}</pre> | }</pre> | ||
|} | |||
{| role="presentation" class="wikitable mw-collapsible autocollapse" | |||
| <strong>/etc/gateway</strong> | |||
|- | |||
| <pre>config version | |||
option config_version '1' | |||
config add_vlan | |||
option vlan '1' | |||
option ports '1 2 4t 6t' | |||
config add_vlan | |||
option vlan '2' | |||
option ports '0t 4t 5' | |||
config add_vlan | |||
option vlan '3' | |||
option ports '3 4t 6t' | |||
config client | |||
option iface 'eth1.1' | |||
option ipaddr '10.83.97.1/24' | |||
option dhcp_start '10.83.97.10' | |||
option dhcp_limit '245' | |||
option ip6addr '2a0b:f4c0:xxxx:1::1/64' | |||
config wan | |||
option iface 'eth0.2' | |||
config batman | |||
option iface 'eth1.3' | |||
config dns | |||
list server 'fd43:5602:29bd:ffff::42' | |||
list server 'fd43:5602:29bd:ffff::62' | |||
list server 'fd43:5602:29bd:ffff:a:a:a:a' | |||
config wireguardpeer 'fff_gw_aquarius' | |||
option endpoint_host 'ds.aquarius.sgstbr.de' | |||
option endpoint_port '57283' | |||
option persistent_keepalive '25' | |||
option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' | |||
option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' | |||
config wireguardpeer 'fff_jupiter' | |||
option endpoint_host 'fff-jupiter.fff.community' | |||
option endpoint_port '31352' | |||
option persistent_keepalive '25' | |||
option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' | |||
option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' | |||
config wireguardpeer 'fff_gw_fo1' | |||
option endpoint_host 'fff-gw-fo1.hyperweb.eu' | |||
option endpoint_port '51824' | |||
option persistent_keepalive '25' | |||
option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' | |||
option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' | |||
config babelfilter 'babel_fff_gw_aquarius' | |||
option net '2a0b:f4c0:xxxx::/48' | |||
option type 'redist' | |||
config babelfilter 'babel_fff_jupiter' | |||
option net '2a0b:f4c0:xxxx::/48' | |||
option type 'redist' | |||
config babelfilter 'babel_fff_gw_fo1' | |||
option net '2a0b:f4c0:xxxx::/48' | |||
option type 'redist'</pre> | |||
|} | |||
{| role="presentation" class="wikitable mw-collapsible autocollapse" | |||
| <strong>/etc/firstbootfff</strong> | |||
|- | |||
| <pre>uci set network.wan.type='bridge' # Bridge für private WLANs | |||
uci set network.vlan1.ports="1 2 4t 6t" # WebUI-Port-Setup | |||
uci set network.vlan2.ports="0t 4t 5" # WebUI-Port-Setup | |||
uci set network.vlan3.ports="3 4t 6t" # WebUI-Port-Setup | |||
uci commit network # WebUI-Port-Setup | |||
uci set wireless.radio0.htmode=VHT40 | |||
uci set wireless.radio0.txpower=16 # laut FCC Antennengewinn von 5 bzw. 4 dBi | |||
uci set wireless.radio1.txpower=17 # laut FCC Antennengewinn von 3 dBi | |||
uci set wireless.w5ap_private='wifi-iface' | |||
uci set wireless.w5ap_private.device='radio0' | |||
uci set wireless.w5ap_private.network='wan' | |||
uci set wireless.w5ap_private.ifname='w5ap_private' | |||
uci set wireless.w5ap_private.ieee80211w='2' | |||
uci set wireless.w5ap_private.mode='ap' | |||
uci set wireless.w5ap_private.encryption='psk2' # wenn unterstützt 'sae' bzw. 'sae-mixed' | |||
uci set wireless.w5ap_private.key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | |||
uci set wireless.w5ap_private.ssid='TP-LINK_A0D2_5G' | |||
uci set wireless.w5ap_private.disabled='0' | |||
uci set wireless.w2ap_private=wifi-iface | |||
uci set wireless.w2ap_private.device='radio1' | |||
uci set wireless.w2ap_private.network='wan' | |||
uci set wireless.w2ap_private.ifname='w2ap_private' | |||
uci set wireless.w2ap_private.ieee80211w='2' | |||
uci set wireless.w2ap_private.mode='ap' | |||
uci set wireless.w2ap_private.encryption='psk2' # wenn unterstützt 'sae' bzw. 'sae-mixed' | |||
uci set wireless.w2ap_private.key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | |||
uci set wireless.w2ap_private.ssid='TP-LINK_A0D3' | |||
uci set wireless.w2ap_private.disabled='0' | |||
uci commit wireless | |||
uci add dhcp host | |||
uci set dhcp.@host[-1].name='ESP_49CA16' # Geigerzähler RadiationD-v1.1(CAJOE) | |||
uci set dhcp.@host[-1].mac='60:01:94:xx:xx:xx' | |||
uci set dhcp.@host[-1].ip='10.83.97.9' | |||
uci add dhcp host | |||
uci set dhcp.@host[-1].name='Feinstaubsensor-3674732' # Feinstaubsensor Nova PM Sensor SDS011 | |||
uci set dhcp.@host[-1].mac='60:01:94:xx:xx:xx' | |||
uci set dhcp.@host[-1].ip='10.83.97.8' | |||
uci add dhcp host | |||
uci set dhcp.@host[-1].name='dragino-1cfd3c' # LoRaWAN-Gateway Dragino LG01-N | |||
uci set dhcp.@host[-1].mac='a8:40:41:xx:x:xx' | |||
uci set dhcp.@host[-1].ip='10.83.97.7' | |||
uci add dhcp host | |||
uci set dhcp.@host[-1].name='esp32-02a8f8' # LoRaWAN-Gateway Heltec Automation WIFI LoRa 32 V2, 433-510 MHz | |||
uci set dhcp.@host[-1].mac='a4:cf:12:xx:xx:xx' | |||
uci set dhcp.@host[-1].ip='10.83.97.6' | |||
uci commit dhcp</pre> | |||
|} | |} | ||
Version vom 26. Dezember 2019, 00:43 Uhr
Dieser Standort ist in Betrieb!
Der Standort ist in Betrieb. Der tatsächliche Status der Anlage kann im Monitoring überprüft werden.
Das Gateway der dezentralen Hood Forchheim-Katzenstein steht im Süden des „Katzenstein“ in der Bergstraße, Forchheim im ersten Stock und mesht mit einem Router in der Garage.
Status
- Januar 2018: Der Standort nimmt den Regelbetrieb in der Hood Fürth, die damals als V2 auch Forchheim mit abdeckte, auf.
- Juni 2018: Umstellung des Regelbetriebs auf dezentrale Hood.
- März 2019: Zusätzlich öffentliches Internet mit IPv6 über einen Border-Router von F3 Netze e. V.
Technik
Hood
Name: Forchheim-Katzenstein
Nach dem Flurnamen, der eine kleine, unbedeutende Erhebung bezeichnet; mit „Katze“ wird manchmal Geringfügiges oder Minderwertiges ausgedrückt, vgl. Katzensprung oder Katzensilber. In der amtlichen Karte um 1820 ist es als „Kaʒenstein“ bezeichnet.
VPN-Anbindung:
- aquarius.sgstbr.de (Hetzner Datacenter-Park, Falkenstein/Vogtl.)
- fff-jupiter.fff.community (Hetzner Datacenter-Park, Falkenstein/Vogtl.)
Die Anbindung erfolgt jeweils via WireGuard.
ESSID: katzenstein.freifunk.net
2,4-GHz-Funkkanal: 1
5-GHz-Funkkanal: 48
Konfiguration
/etc/hoodfile |
{ "version": 1, "network": { "ula_prefix": "fd43:5602:29bd:48:/64" }, "vpn": [], "hood": { "name": "Forchheim-Katzenstein", "essid": "katzenstein.freifunk.net", "mesh_bssid": "ca:ff:ee:ba:be:23", "mesh_essid": "mesh.katzenstein.freifunk.net", "mesh_id": "mesh.katzenstein.freifunk.net", "protocol": "batman-adv-v15", "channel2": "1", "mode2": "ht20", "mesh_type2": "802.11s", "channel5": "48", "mode5": "ht20", "mesh_type5": "802.11s", "upgrade_path": "http://[fd43:5602:29bd:ffff::feee]:83", "ntp_ip": "fd43:5602:29bd:ffff::42", "timestamp": "1577308200", "location": { "lat": "49.71869", "lon": "11.08249" } } } |
/etc/gateway |
config version option config_version '1' config add_vlan option vlan '1' option ports '1 2 4t 6t' config add_vlan option vlan '2' option ports '0t 4t 5' config add_vlan option vlan '3' option ports '3 4t 6t' config client option iface 'eth1.1' option ipaddr '10.83.97.1/24' option dhcp_start '10.83.97.10' option dhcp_limit '245' option ip6addr '2a0b:f4c0:xxxx:1::1/64' config wan option iface 'eth0.2' config batman option iface 'eth1.3' config dns list server 'fd43:5602:29bd:ffff::42' list server 'fd43:5602:29bd:ffff::62' list server 'fd43:5602:29bd:ffff:a:a:a:a' config wireguardpeer 'fff_gw_aquarius' option endpoint_host 'ds.aquarius.sgstbr.de' option endpoint_port '57283' option persistent_keepalive '25' option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' config wireguardpeer 'fff_jupiter' option endpoint_host 'fff-jupiter.fff.community' option endpoint_port '31352' option persistent_keepalive '25' option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' config wireguardpeer 'fff_gw_fo1' option endpoint_host 'fff-gw-fo1.hyperweb.eu' option endpoint_port '51824' option persistent_keepalive '25' option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=' config babelfilter 'babel_fff_gw_aquarius' option net '2a0b:f4c0:xxxx::/48' option type 'redist' config babelfilter 'babel_fff_jupiter' option net '2a0b:f4c0:xxxx::/48' option type 'redist' config babelfilter 'babel_fff_gw_fo1' option net '2a0b:f4c0:xxxx::/48' option type 'redist' |
/etc/firstbootfff |
uci set network.wan.type='bridge' # Bridge für private WLANs uci set network.vlan1.ports="1 2 4t 6t" # WebUI-Port-Setup uci set network.vlan2.ports="0t 4t 5" # WebUI-Port-Setup uci set network.vlan3.ports="3 4t 6t" # WebUI-Port-Setup uci commit network # WebUI-Port-Setup uci set wireless.radio0.htmode=VHT40 uci set wireless.radio0.txpower=16 # laut FCC Antennengewinn von 5 bzw. 4 dBi uci set wireless.radio1.txpower=17 # laut FCC Antennengewinn von 3 dBi uci set wireless.w5ap_private='wifi-iface' uci set wireless.w5ap_private.device='radio0' uci set wireless.w5ap_private.network='wan' uci set wireless.w5ap_private.ifname='w5ap_private' uci set wireless.w5ap_private.ieee80211w='2' uci set wireless.w5ap_private.mode='ap' uci set wireless.w5ap_private.encryption='psk2' # wenn unterstützt 'sae' bzw. 'sae-mixed' uci set wireless.w5ap_private.key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' uci set wireless.w5ap_private.ssid='TP-LINK_A0D2_5G' uci set wireless.w5ap_private.disabled='0' uci set wireless.w2ap_private=wifi-iface uci set wireless.w2ap_private.device='radio1' uci set wireless.w2ap_private.network='wan' uci set wireless.w2ap_private.ifname='w2ap_private' uci set wireless.w2ap_private.ieee80211w='2' uci set wireless.w2ap_private.mode='ap' uci set wireless.w2ap_private.encryption='psk2' # wenn unterstützt 'sae' bzw. 'sae-mixed' uci set wireless.w2ap_private.key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' uci set wireless.w2ap_private.ssid='TP-LINK_A0D3' uci set wireless.w2ap_private.disabled='0' uci commit wireless uci add dhcp host uci set dhcp.@host[-1].name='ESP_49CA16' # Geigerzähler RadiationD-v1.1(CAJOE) uci set dhcp.@host[-1].mac='60:01:94:xx:xx:xx' uci set dhcp.@host[-1].ip='10.83.97.9' uci add dhcp host uci set dhcp.@host[-1].name='Feinstaubsensor-3674732' # Feinstaubsensor Nova PM Sensor SDS011 uci set dhcp.@host[-1].mac='60:01:94:xx:xx:xx' uci set dhcp.@host[-1].ip='10.83.97.8' uci add dhcp host uci set dhcp.@host[-1].name='dragino-1cfd3c' # LoRaWAN-Gateway Dragino LG01-N uci set dhcp.@host[-1].mac='a8:40:41:xx:x:xx' uci set dhcp.@host[-1].ip='10.83.97.7' uci add dhcp host uci set dhcp.@host[-1].name='esp32-02a8f8' # LoRaWAN-Gateway Heltec Automation WIFI LoRa 32 V2, 433-510 MHz uci set dhcp.@host[-1].mac='a4:cf:12:xx:xx:xx' uci set dhcp.@host[-1].ip='10.83.97.6' uci commit dhcp |
Eine Weiterleitung von „katzenstein.freifunk.net“ auf das Wiki von Freifunk Franken ist eingerichtet.
Hardware
AVM FRITZ!Box 6490 Cable (Internetmodem)
TP-Link Archer C7 v2.0 (Meshrouter)
TP-Link Archer C2600 v1.1 (dezentrales Gateway)
Internetanbindung
Kabelinternet, EuroDOCSIS 3.0, 106 Mbit/s Downstream, 6,4 Mbit/s Upstream
Dienste
Geigerzähler
Mikrocontroller: Espressif ESP8266, Geiger-Müller-Zählrohr: North Optic J305β, Platine: RadiationD-v1.1(CAJOE)
Feinstaubsensor
Mikrocontroller: Espressif ESP8266, Feinstaubsensor: Nova PM Sensor SDS011 (aktuell im privaten Netz)
LoRaWAN-Gateway
Dragino LG01-N LoRa IoT Gateway 868 MHz
Mikrocontroller: Espressif ESP32, Platine: Heltec Automation, WIFI LoRa 32 V2, 433-510 MHz (Test)
Mikrocontroller: Espressif ESP32, Platine: Heltec Automation, WIFI LoRa 32 V2, 868-915 MHz (Test)
Mögliche Funknachbarn
Vorerst sind keine konkreten Funkstrecken geplant.
Beteiligte Freifunker
- Benutzer:Rokufukka-iō (Ansprechpartner)
Weblinks
- aquarius.sgstbr.de - Peers – Statistiken vom Server (nur mit IPv6 erreichbar; siehe Interface „andreas“)
- FFF Monitoring: fff-fo-katzenstein-garage – Statistiken des Routers
- FFF Monitoring: fff-gw-fo-katzenstein – Statistiken des dezentralen Gateways
- FFF Monitoring: Statistics for Forchheim-Katzenstein – Statistiken der dezentralen Hood
- fff-jupiter.fff.community - mrtg – Statistiken vom Server (siehe Interface „fffankawg“)
- Generated flowchart of the IPv4 network of freifunk franken. Aktuelles IPv4-Routing (siehe Adresse „10.83.97.1“; PDF)
- Generated flowchart of the IPv6 network of freifunk franken. Aktuelles IPv6-Routing (siehe Adresse „fd43:5602:29bd:48:*“; PDF)
- Homepage von Adrian Schmutzler - Freifunk Franken Firmware – Eingesetzte Gateway- und Router-Firmware
- Internet-der-Dinge-(IdD)-Geigerzähler – Daten des Geigerzählers (nur im Freifunk erreichbar)
- Luftdaten info - PM 10, PM 2.5 – Daten des Feinstaubsensors auf Madavi
- The Things Network: Rokufukka-iou – Benutzerprofil, eigene LoRa-Gateways