Freifunk HIL Controller Setup: Unterschied zwischen den Versionen

Aus bytewerk-Wiki
Zur Navigation springen Zur Suche springen
(init)
 
(alle interfaces umbenennen)
Zeile 1: Zeile 1:
==== Controller ====
== Controller ==
; Raspberry Pi 3
; Raspberry Pi 3
: 2x USB-2-Ethernet link to Router1 (connected to Uplink port and LAN1)
: 2x USB-2-Ethernet link to Router1 (connected to Uplink port and LAN1)
Zeile 11: Zeile 11:
: Neue Datei erstellen '''/etc/udev/rules.d/75-predictableNetworNames.rules'''
: Neue Datei erstellen '''/etc/udev/rules.d/75-predictableNetworNames.rules'''
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="b8:27:eb:5d:bc:ff", NAME="pi_uplink"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="b8:27:eb:5d:bc:ff", NAME="pi_uplink"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="b8:27:eb:08:e9:aa", NAME="pi_wlan"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="ac:7f:3e:e5:f0:3e", NAME="r1_lan1"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="ac:7f:3e:e5:f0:3e", NAME="r1_lan1"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:e1:00:00:68:55", NAME="r1_uplink"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:e1:00:00:68:55", NAME="r1_uplink"
: ATTR ist hier die MAC Adresse des adapters
: ATTR ist hier die MAC Adresse des adapters
: Danach udev neustarten

Version vom 4. Dezember 2016, 17:20 Uhr

Controller

Raspberry Pi 3
2x USB-2-Ethernet link to Router1 (connected to Uplink port and LAN1)
2x USB-2-Ethernet link to Router2 (connected to Uplink port and LAN1)
2x USB-2-Serial link to Serial console of Router1 and Router2
1x USB-2-Serial link to I/O Controlboard


Setup

Predictable Network Interface Names
Neue Datei erstellen /etc/udev/rules.d/75-predictableNetworNames.rules
 SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="b8:27:eb:5d:bc:ff", NAME="pi_uplink"
 SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="b8:27:eb:08:e9:aa", NAME="pi_wlan"
 SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="ac:7f:3e:e5:f0:3e", NAME="r1_lan1"
 SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:e1:00:00:68:55", NAME="r1_uplink"
ATTR ist hier die MAC Adresse des adapters
Danach udev neustarten