Freifunk HIL Controller Setup

Version vom 4. Dezember 2016, 17:20 Uhr von HKay (Diskussion | Beiträge) (alle interfaces umbenennen)

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