Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
anleitungen:edge_router_x:start [2019/08/21 20:39] – [Debricking] frank | anleitungen:edge_router_x:start [2020/02/26 16:24] (aktuell) – frank | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Edge Router X ====== | ====== Edge Router X ====== | ||
- | |||
+ | * Standardmäßig ist eth0 der WAN Port und eth1-eth4 sind Client Ports. Um das zu ändern, siehe [[# | ||
+ | * Konfig-Modus: | ||
+ | |||
+ | {{ : | ||
===== Freifunk Firmware aufspielen ===== | ===== Freifunk Firmware aufspielen ===== | ||
Zeile 12: | Zeile 15: | ||
Man verbindet zunächst seinen Rechner mit eth0 des Routers und vergibt eine IP Adresse aus dem Bereich 192.168.1.0/ | Man verbindet zunächst seinen Rechner mit eth0 des Routers und vergibt eine IP Adresse aus dem Bereich 192.168.1.0/ | ||
+ | |||
+ | Komplette netzwerk-Config mit | ||
+ | |||
+ | * Wan eth0 | ||
+ | * Mesh eth1 u. eth2 | ||
+ | * Client eth3 u. eth4 | ||
< | < | ||
Zeile 47: | Zeile 56: | ||
</ | </ | ||
- | Nun meldet man sich wieedr | + | Nun meldet man sich wieder |
< | < | ||
Zeile 152: | Zeile 161: | ||
Der Router startet neu und ist jetzt ein Freifunk Router, den man wie gewohnt über die Weboberfläche unter der IP 192.168.1.1 im Config-Modus erreicht und konfigurieren kann. | Der Router startet neu und ist jetzt ein Freifunk Router, den man wie gewohnt über die Weboberfläche unter der IP 192.168.1.1 im Config-Modus erreicht und konfigurieren kann. | ||
- | ==== Debricking ==== | + | ===== Debricking |
Zeile 161: | Zeile 170: | ||
{{ : | {{ : | ||
+ | **Fehlerbild auf der Seriellen Konsole:** | ||
< | < | ||
Zeile 201: | Zeile 211: | ||
</ | </ | ||
+ | Wenn man im uboot Menü die Option (4) wählt, wird der Loop unterbrochen und man kann die Optionen schön ansehen, wenn man dort den Befehl tftpboot eingibt erfährt man außerdem,: | ||
< | < | ||
Zeile 217: | Zeile 228: | ||
</ | </ | ||
- | Auf dem eigenen Rechner muss also ein TFTPd((Bei Arch Linux z.B. der tftp-hpa, der wird in ''/ | + | Auf dem eigenen Rechner muss also ein TFTPd((Bei Arch Linux z.B. der tftp-hpa, der wird in ''/ |
< | < | ||
Zeile 231: | Zeile 242: | ||
</ | </ | ||
- | Nur einmal drücken! Dann kommt die Abfrage, ob man das wirklich möchte, dann kann man die IPs und den Namen des Factory-Images angeben und das Image wird geschrieben und gebootet. | + | Nur einmal drücken! Dann kommt die Abfrage, ob man das wirklich möchte, dann kann man die IPs und den Namen des Factory-Images angeben und das Image wird geholt, |
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
- | Zum debrick | + | Zum Debrick |
</ | </ | ||
Anschließend kann man das Sysupgrade Image z.B. per SCP vom eigenen Rechner holen und mit '' | Anschließend kann man das Sysupgrade Image z.B. per SCP vom eigenen Rechner holen und mit '' | ||
+ | |||
+ | ===== Netzwerkeinstellungen für Mesh-VPN, Mesh + Client ===== | ||
+ | |||
+ | Um auf eth1/eth2 Mesh und eth3/eth4 Client Netz zu haben, geht man folgendermaßen vor. | ||
+ | |||
+ | |||
+ | ==== Vorher: ==== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ==== Nachher: ==== | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | < | ||
+ | root@ffmsg-stabue-offload:/ | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option proto ' | ||
+ | option ipaddr ' | ||
+ | option netmask ' | ||
+ | |||
+ | config globals ' | ||
+ | option ula_prefix ' | ||
+ | |||
+ | config device ' | ||
+ | option name ' | ||
+ | option macaddr ' | ||
+ | |||
+ | config device ' | ||
+ | option name ' | ||
+ | option macaddr ' | ||
+ | |||
+ | config interface ' | ||
+ | option proto ' | ||
+ | option ifname ' | ||
+ | option ip6table ' | ||
+ | option sourcefilter ' | ||
+ | option peerdns ' | ||
+ | option reqprefix ' | ||
+ | |||
+ | config switch | ||
+ | option name ' | ||
+ | option reset ' | ||
+ | option enable_vlan ' | ||
+ | |||
+ | config switch_vlan | ||
+ | option device ' | ||
+ | option vlan ' | ||
+ | option ports '3 4 6t' | ||
+ | |||
+ | config switch_vlan | ||
+ | option device ' | ||
+ | option vlan ' | ||
+ | option ports '0 6t' | ||
+ | |||
+ | config switch_vlan | ||
+ | option device ' | ||
+ | option vlan ' | ||
+ | option ports '1 2 6t' | ||
+ | |||
+ | config interface ' | ||
+ | option igmp_snooping ' | ||
+ | option ifname ' | ||
+ | option multicast_querier ' | ||
+ | option peerdns ' | ||
+ | option auto ' | ||
+ | option type ' | ||
+ | option proto ' | ||
+ | option macaddr ' | ||
+ | |||
+ | config rule6 ' | ||
+ | option mark ' | ||
+ | option lookup ' | ||
+ | |||
+ | config route6 ' | ||
+ | option type ' | ||
+ | option table ' | ||
+ | option target '::/ | ||
+ | option metric ' | ||
+ | option gateway '::' | ||
+ | option interface ' | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option index ' | ||
+ | option proto ' | ||
+ | option disabled ' | ||
+ | option transitive ' | ||
+ | |||
+ | config interface ' | ||
+ | option igmp_snooping ' | ||
+ | option index ' | ||
+ | option proto ' | ||
+ | option transitive ' | ||
+ | option macaddr ' | ||
+ | option ifname ' | ||
+ | option disabled ' | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option transitive ' | ||
+ | option mtu ' | ||
+ | option macaddr ' | ||
+ | option fixed_mtu ' | ||
+ | option proto ' | ||
+ | |||
+ | config interface ' | ||
+ | option igmp_snooping ' | ||
+ | option type ' | ||
+ | option auto ' | ||
+ | option ra_holdoff ' | ||
+ | option multicast_querier ' | ||
+ | option macaddr ' | ||
+ | list ifname ' | ||
+ | list ifname ' | ||
+ | list ifname ' | ||
+ | option ipv6 ' | ||
+ | option keep_ra_dnslifetime ' | ||
+ | option sourcefilter ' | ||
+ | option peerdns ' | ||
+ | option robustness ' | ||
+ | option reqprefix ' | ||
+ | option query_interval ' | ||
+ | option query_response_interval ' | ||
+ | option proto ' | ||
+ | |||
+ | config device ' | ||
+ | option type ' | ||
+ | option name ' | ||
+ | option peer_name ' | ||
+ | option macaddr ' | ||
+ | option peer_macaddr ' | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option ipaddr ' | ||
+ | option ip6addr ' | ||
+ | option ip6deprecated ' | ||
+ | option proto ' | ||
+ | |||
+ | config interface ' | ||
+ | option proto ' | ||
+ | |||
+ | config interface ' | ||
+ | option multicast_router ' | ||
+ | option ifname ' | ||
+ | option auto ' | ||
+ | option macaddr ' | ||
+ | option learning ' | ||
+ | option proto ' | ||
+ | |||
+ | config route6 ' | ||
+ | option target ' | ||
+ | option gateway '::' | ||
+ | option interface ' | ||
+ | |||
+ | </ | ||