PTP-Beispiel
Diese Seite enthält eine kurze Niederschrift einer möglichen Richtfunkinstallation, welche irgendwem vielleicht irgendwann hilfreich sein könnte.
Setup
Ziel: Einen UniFi-AP via Richtfunk mittels zwei NanoStations mit einem anderen Freifunk-Router zu meshen. Die NanoStations erzeugen hierbei eine transparente Layer 2-Bridge.
------- +---------------+
/ \ +--------+ | |
| UniFi | <==| VLAN 7 |==> | NanoStation 1 |
\ / +--------+ | |
------- +---------------+
/\
||
+-----+
| PTP |
+-----+
||
\/
-------- +---------------+
/ \ +----------+ | |
| MiWiFi | <==| untagged |==> | NanoStation 2 |
\ / +----------+ | |
-------- +---------------+
Konfiguration MiWiFi
- Direkte LAN-Verbindung herstellen
firstboot- Webpanel http://192.168.1.1/
- Advanced settings
- Remote access: SSH-Key hinterlegen
- Network: Enable mesh on WAN
- Back to Wizard
- Disable mesh VPN
- Node Namen und Kontakt hinterlegen
- Save & restart
- Advanced settings
Konfiguration UniFi
- Auf den Router ssh'n
vi /etc/config/networkfür Mesh auf VLAN 7- Zur Konfiguration hinzufügen
config interface 'mesh_wan7' option ifname 'eth0.7' option auto '1' option transitive '1' option fixed_mtu '1' option proto 'gluon_mesh' reboot
- Zur Konfiguration hinzufügen
Konfiguration 1. NanoStation
Diese NanoStation wird mit dem UniFi verbunden, welcher über das VLAN 7 zu Meshen versucht.
- Direkte LAN-Verbindung herstellen
- Factory Reset durch Drücken des Reset-Knopfes
192.168.1.23/24auf der eigenen Maschine konfigurieren- Eine oder zwei Ewigkeiten auf die NanoStation warten
- Webpanel https://192.168.1.20/
- username/password:
ubnt/ubnt - System Tab, System Accounts
- Schlüsselsymbol neben Administrator User Name anklicken
- Passwort von
ubntzu$PASSWORDändern - Change
- Wireless Tab
- Basic Wireless Settings
- Wireless Mode: Access Point
- WDS: Enable
- SSID:
$SSID
- Wireless Security
- Security: WPA2-AES
- WPA Preshared Key:
$PSK
- Change
- Basic Wireless Settings
- Network Tab
- Configuration Mode: Advanced
- VLAN Network
- Neues VLAN für
LAN0mit VLAN ID 7 (Mesh) - Neues VLAN für
LAN0mit VLAN ID 8 (Management)
- Neues VLAN für
- Management Network Settings
- Management Interface:
LAN0.8 - Rest passend™ konfigurieren
- Management Interface:
- Bridge Network
BRIDGE0zwischenLAN0.7undWLAN0erstellen
- Change
- Reboot
- username/password:
Konfiguration 2. NanoStation
Diese wird an den WAN-Port des MiWiFis gesteckt und sendet ungetagged das Mesh aus.
- Wiederholen der Schritte 1-4 der ersten NanoStation
- Webpanel https://192.168.1.20/
- username/password:
ubnt/ubnt - System Tab, System Accounts
- Schlüsselsymbol neben Administrator User Name anklicken
- Passwort von
ubntzu$PASSWORDändern - Change
- Wireless Tab
- Basic Wireless Settings
- Wireless Mode: Station
- WDS: Enable
- SSID:
$SSID
- Wireless Security
- Security: WPA2-AES
- WPA Preshared Key:
$PSK
- Change
- Basic Wireless Settings
- Network Tab: Nichts anzupassen
- Reboot
- username/password: