Standorte/Forchheim/Katzenstein: Unterschied zwischen den Versionen

Aus Freifunk Franken
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
 
(15 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 16: Zeile 16:
'''<abbr title="Virtual Private Network">VPN</abbr>-Anbindung:'''
'''<abbr title="Virtual Private Network">VPN</abbr>-Anbindung:'''
* [[Server#Server_.22aquarius.sgstbr.de.22|aquarius.sgstbr.de]] (Hetzner Datacenter-Park, Falkenstein/<abbr title="Vogtland">Vogtl.</abbr>)
* [[Server#Server_.22aquarius.sgstbr.de.22|aquarius.sgstbr.de]] (Hetzner Datacenter-Park, Falkenstein/<abbr title="Vogtland">Vogtl.</abbr>)
* [[Server#Gateway_Server_.22fff-gondor.22|fff-gondor.hyperweb.eu]] (Hetzner Datacenter-Park, Nürnberg)<br />
* [[Server#Gateway_Server_.22fff-gw-cd1.22|fff-jupiter.fff.community]] (Hetzner Datacenter-Park, Falkenstein/<abbr title="Vogtland">Vogtl.</abbr>)
* [[Server#Gateway_Server_.22fff-gw-cd1.22|fff-jupiter.fff.community]] (Hetzner Datacenter-Park, Falkenstein/<abbr title="Vogtland">Vogtl.</abbr>)
Die Anbindung erfolgt jeweils via WireGuard.<br />
Die Anbindung erfolgt jeweils via WireGuard.<br />
Zeile 23: Zeile 24:
'''5-<abbr title="Gigahertz">GHz</abbr>-Funkkanal:''' 48<br />
'''5-<abbr title="Gigahertz">GHz</abbr>-Funkkanal:''' 48<br />


{| role="presentation" class="wikitable mw-collapsible autocollapse"
=== Konfiguration ===
| <strong>Hoodfile</strong>
 
|-
/etc/hoodfile
| <pre>{
 
<span style="font-size:80%"><pre>{
   "version": 1,
   "version": 1,
   "network": {
   "network": {
Zeile 35: Zeile 37:
       "name": "Forchheim-Katzenstein",
       "name": "Forchheim-Katzenstein",
       "essid": "katzenstein.freifunk.net",
       "essid": "katzenstein.freifunk.net",
       "mesh_bssid": "ca:ff:ee:ba:be:23",
       "mesh_bssid": "",
       "mesh_essid": "mesh.katzenstein.freifunk.net",
       "mesh_essid": "mesh.katzenstein.freifunk.net",
       "mesh_id": "mesh.katzenstein.freifunk.net",
       "mesh_id": "mesh.katzenstein.freifunk.net",
Zeile 47: Zeile 49:
       "upgrade_path": "http://[fd43:5602:29bd:ffff::feee]:83",
       "upgrade_path": "http://[fd43:5602:29bd:ffff::feee]:83",
       "ntp_ip": "fd43:5602:29bd:ffff::42",
       "ntp_ip": "fd43:5602:29bd:ffff::42",
       "timestamp": "1577308200",
       "timestamp": "1635867600",
       "location": {
       "location": {
         "lat": "49.71869",
         "lat": "49.71869",
Zeile 53: Zeile 55:
       }
       }
   }
   }
}</pre>
}</pre></span>
|}
 
/etc/config/gateway
 
<span style="font-size:80%"><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 'wg_aquarius'
        option endpoint_host 'aquarius.sgstbr.de'
        option endpoint_port '57283'
        option persistent_keepalive '25'
        option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx='
        option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx='
        option mtu '1420'
 
config wireguardpeer 'wg_gondor'
        option endpoint_host 'fff-gondor.hyperweb.eu'
        option endpoint_port '51824'
        option persistent_keepalive '25'
        option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx='
        option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx='
        option mtu '1420'
 
config wireguardpeer 'wg_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='
        option mtu '1420'
       
config babelfilter 'babel'
        option net '2a0b:f4c0:xxxx::/48'
        option type 'redist'</pre></span>
 
/etc/firstbootfff
 
<span style="font-size:80%"><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.ieee80211w='1' # Management Frame Protection, optional
uci set wireless.w2ap.ieee80211w='1'
uci set wireless.w5ap1='wifi-iface'
uci set wireless.w5ap1.device='radio0'
uci set wireless.w5ap1.network='wan'
uci set wireless.w5ap1.ifname='w5ap1'
uci set wireless.w5ap1.mode='ap'
uci set wireless.w5ap1.encryption='psk2'
uci set wireless.w5ap1.ieee80211w='2' # Management Frame Protection, erforderlich
uci set wireless.w5ap1.ocv='1' # Operating Channel Validation, aktiviert
uci set wireless.w5ap1.key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
uci set wireless.w5ap1.ssid='TP-LINK_A0D2_5G'
uci set wireless.w5ap1.disabled='0'
uci set wireless.w2ap1=wifi-iface
uci set wireless.w2ap1.device='radio1'
uci set wireless.w2ap1.network='wan'
uci set wireless.w2ap1.ifname='w2ap1'
uci set wireless.w2ap1.mode='ap'
uci set wireless.w2ap1.encryption='psk2'
uci set wireless.w2ap1.ieee80211w='2'
uci set wireless.w2ap1.ocv='1'
uci set wireless.w2ap1.key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
uci set wireless.w2ap1.ssid='TP-LINK_A0D3'
uci set wireless.w2ap1.disabled='0'
uci commit wireless
uci add dhcp host
uci set dhcp.@host[-1].name='ESP_49CA16' # Geigerzähler
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
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
uci set dhcp.@host[-1].mac='a8:40:41:xx:x:xx'
uci set dhcp.@host[-1].ip='10.83.97.7'
uci commit dhcp</pre></span>


Eine Weiterleitung von „katzenstein.freifunk.net“ auf das Wiki von Freifunk Franken ist eingerichtet.
Eine Weiterleitung von „katzenstein.freifunk.net“ auf das Wiki von Freifunk Franken ist eingerichtet.
Zeile 64: Zeile 177:


=== Internetanbindung ===
=== Internetanbindung ===
Kabelinternet, Euro<abbr title="Data Over Cable Service Interface Specification">DOCSIS</abbr> 3.0, 106&nbsp;<abbr title="Megabit pro Sekunde">Mbit/s</abbr> Downstream, 6,4&nbsp;<abbr title="Megabit pro Sekunde">Mbit/s</abbr> Upstream
Kabelinternet, Euro<abbr title="Data Over Cable Service Interface Specification">DOCSIS</abbr> 3.0, 115&nbsp;<abbr title="Megabit pro Sekunde">Mbit/s</abbr> Downstream, 11,5&nbsp;<abbr title="Megabit pro Sekunde">Mbit/s</abbr> Upstream


=== Dienste ===
=== Dienste ===
'''Feinstaubsensor'''<br />
Mikrocontroller: Espressif ESP8266, Feinstaubsensor: Nova PM Sensor SDS011; OK Lab Stuttgart, Code for Germany
[[Datei:Forchheim-Katzenstein Feinstaubsensor.JPG|200px|Feinstaubsensor]]
'''Geigerzähler'''<br />
'''Geigerzähler'''<br />
Mikrocontroller: Espressif ESP8266, Geiger-Müller-Zählrohr: North Optic J305β, Platine: RadiationD-v1.1(CAJOE)<br />
Mikrocontroller: Espressif ESP8266, Geiger-Müller-Zählrohr: North Optic J305β, Platine: RadiationD-v1.1(CAJOE) (Test)<br />
 
'''Feinstaubsensor'''<br />
Mikrocontroller: Espressif ESP8266, Feinstaubsensor: Nova PM Sensor SDS011 (aktuell im privaten Netz)<br />


''' LoRaWAN-Gateway'''<br />
''' LoRaWAN-Gateway'''<br />
Dragino LG01-N LoRa IoT Gateway 868&nbsp;<abbr title="Megahertz">MHz</abbr><br />
Dragino LG01-N LoRa IoT Gateway 868&nbsp;<abbr title="Megahertz">MHz</abbr> (Test)<br />
Mikrocontroller: Espressif ESP32, Platine: Heltec Automation, WIFI LoRa 32 V2, 433-510&nbsp;<abbr title="Megahertz">MHz</abbr> (Test)<br />
Mikrocontroller: Espressif ESP32, Platine: Heltec Automation, WIFI LoRa 32 V2, 433-510&nbsp;<abbr title="Megahertz">MHz</abbr> (Test)<br />
Mikrocontroller: Espressif ESP32, Platine: Heltec Automation, WIFI LoRa 32 V2, 868-915&nbsp;<abbr title="Megahertz">MHz</abbr> (Test)
Mikrocontroller: Espressif ESP32, Platine: Heltec Automation, WIFI LoRa 32 V2, 868-915&nbsp;<abbr title="Megahertz">MHz</abbr> (Test)
'''Smart Meter Gateway'''<br />
Smart Meter Gateway von PPC (Test)<br />
[[Datei:Forchheim-Katzenstein_Smart_Meter_Gateway_1.JPG|200px|moderne Messeinrichtungen]] [[Datei:Forchheim-Katzenstein_Smart_Meter_Gateway_2.JPG|200px|Smart Meter Gateway]]


== Mögliche Funknachbarn ==
== Mögliche Funknachbarn ==
Zeile 87: Zeile 207:


== Weblinks ==
== Weblinks ==
* [https://aquarius.sgstbr.de/grafana/d/000000002/peers?refresh=10s&orgId=1 aquarius.sgstbr.de - Peers] – Statistiken vom Server (nur mit <abbr title="Internet Protocol Version 6">IPv6</abbr> erreichbar; siehe Interface „andreas“)
* [https://ds.aquarius.sgstbr.de/grafana/d/000000002/peers?refresh=10s&orgId=1 ds.aquarius.sgstbr.de - Peers] – Statistiken vom Server (nur mit <abbr title="Internet Protocol Version 6">IPv6</abbr> erreichbar; siehe Interface „andreas“)
* [https://monitoring.freifunk-franken.de/mac/a42bb0dedc84 FFF Monitoring: fff-fo-katzenstein-garage] – Statistiken des Routers
* [https://monitoring.freifunk-franken.de/mac/a42bb0dedc84 FFF Monitoring: fff-fo-katzenstein-garage] – Statistiken des Routers
* [https://monitoring.freifunk-franken.de/mac/a42bb0faa0d3 FFF Monitoring: fff-gw-fo-katzenstein] – Statistiken des dezentralen Gateways
* [https://monitoring.freifunk-franken.de/mac/a42bb0faa0d3 FFF Monitoring: fff-gw-fo-katzenstein] – Statistiken des dezentralen Gateways
* [https://monitoring.freifunk-franken.de/hoodstatistics/30006 FFF Monitoring: Statistics for Forchheim-Katzenstein] – Statistiken der dezentralen Hood
* [https://monitoring.freifunk-franken.de/hoodstatistics/30006 FFF Monitoring: Statistics for Forchheim-Katzenstein] – Statistiken der dezentralen Hood
* [http://fff-gondor.hyperweb.eu/ fff-gondor.hyperweb.eu - BabelWeb von Gateway "fff-gondor"] – Statistiken vom Server (siehe Interface „wg-katzenstein“)
* [http://fff-jupiter.fff.community/mrtg/ fff-jupiter.fff.community - mrtg] – Statistiken vom Server (siehe Interface „fffankawg“)
* [http://fff-jupiter.fff.community/mrtg/ fff-jupiter.fff.community - mrtg] – Statistiken vom Server (siehe Interface „fffankawg“)
* [http://fff.mifritscher.de/graph-4.pdf Generated flowchart of the IPv4 network of freifunk franken.] Aktuelles <abbr title="Internet Protocol Version 4">IPv4</abbr>-Routing (siehe Adresse „10.83.97.1“; <abbr title="Portable Document Format">PDF</abbr>)
* [http://fff.mifritscher.de/graph-4.pdf Generated flowchart of the IPv4 network of freifunk franken.] Aktuelles <abbr title="Internet Protocol Version 4">IPv4</abbr>-Routing (siehe Adresse „10.83.97.1“; <abbr title="Portable Document Format">PDF</abbr>)

Aktuelle Version vom 2. November 2021, 17:49 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.

Logo Freifunk Forchheim
Logo Freifunk Forchheim


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:

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": "",
      "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": "1635867600",
      "location": {
         "lat": "49.71869",
         "lon": "11.08249"
      }
   }
}

/etc/config/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 'wg_aquarius'
        option endpoint_host 'aquarius.sgstbr.de'
        option endpoint_port '57283'
        option persistent_keepalive '25'
        option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx='
        option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx='
        option mtu '1420'

config wireguardpeer 'wg_gondor'
        option endpoint_host 'fff-gondor.hyperweb.eu'
        option endpoint_port '51824'
        option persistent_keepalive '25'
        option remote_public_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx='
        option local_private_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx='
        option mtu '1420'

config wireguardpeer 'wg_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='
        option mtu '1420'
        
config babelfilter 'babel'
        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.ieee80211w='1' # Management Frame Protection, optional
uci set wireless.w2ap.ieee80211w='1'
uci set wireless.w5ap1='wifi-iface'
uci set wireless.w5ap1.device='radio0'
uci set wireless.w5ap1.network='wan'
uci set wireless.w5ap1.ifname='w5ap1'
uci set wireless.w5ap1.mode='ap'
uci set wireless.w5ap1.encryption='psk2'
uci set wireless.w5ap1.ieee80211w='2' # Management Frame Protection, erforderlich
uci set wireless.w5ap1.ocv='1' # Operating Channel Validation, aktiviert
uci set wireless.w5ap1.key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
uci set wireless.w5ap1.ssid='TP-LINK_A0D2_5G'
uci set wireless.w5ap1.disabled='0'
uci set wireless.w2ap1=wifi-iface
uci set wireless.w2ap1.device='radio1'
uci set wireless.w2ap1.network='wan'
uci set wireless.w2ap1.ifname='w2ap1'
uci set wireless.w2ap1.mode='ap'
uci set wireless.w2ap1.encryption='psk2'
uci set wireless.w2ap1.ieee80211w='2'
uci set wireless.w2ap1.ocv='1'
uci set wireless.w2ap1.key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
uci set wireless.w2ap1.ssid='TP-LINK_A0D3'
uci set wireless.w2ap1.disabled='0'
uci commit wireless
uci add dhcp host
uci set dhcp.@host[-1].name='ESP_49CA16' # Geigerzähler
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
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
uci set dhcp.@host[-1].mac='a8:40:41:xx:x:xx'
uci set dhcp.@host[-1].ip='10.83.97.7'
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, 115 Mbit/s Downstream, 11,5 Mbit/s Upstream

Dienste

Feinstaubsensor
Mikrocontroller: Espressif ESP8266, Feinstaubsensor: Nova PM Sensor SDS011; OK Lab Stuttgart, Code for Germany

Feinstaubsensor

Geigerzähler
Mikrocontroller: Espressif ESP8266, Geiger-Müller-Zählrohr: North Optic J305β, Platine: RadiationD-v1.1(CAJOE) (Test)

LoRaWAN-Gateway
Dragino LG01-N LoRa IoT Gateway 868 MHz (Test)
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)

Smart Meter Gateway
Smart Meter Gateway von PPC (Test)

moderne Messeinrichtungen Smart Meter Gateway

Mögliche Funknachbarn

Vorerst sind keine konkreten Funkstrecken geplant.

Südosten Süden Südwesten Westen

Beteiligte Freifunker

Weblinks