From a18968fca1e0dd61b864cd69793d386d0ab71d09 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 6 May 2018 00:25:01 +0200 Subject: [PATCH] Cleanup network configuration - board configuration does not configure network interfaces, only handles renaming - router product for Raspberry Pi 3 configures DHCP for ethernet port - router product for Alix board configures DHCP for third ethernet port, static addresses for the other two Signed-off-by: David Oberhollenzer --- board/rpi3/INIT | 2 +- product/router/alix/INIT | 1 + product/router/alix/interfaces/port2 | 1 - product/router/rpi3/INIT | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 product/router/alix/INIT delete mode 100644 product/router/alix/interfaces/port2 create mode 100644 product/router/rpi3/INIT diff --git a/board/rpi3/INIT b/board/rpi3/INIT index 1a528b1..8548754 100644 --- a/board/rpi3/INIT +++ b/board/rpi3/INIT @@ -1,3 +1,3 @@ GETTY_TTY="tty1 tty2 tty3 tty4 tty5 tty6 tty7" -DHCP_PORTS="port0" +DHCP_PORTS="" HWCLOCK="no" diff --git a/product/router/alix/INIT b/product/router/alix/INIT new file mode 100644 index 0000000..3c1d647 --- /dev/null +++ b/product/router/alix/INIT @@ -0,0 +1 @@ +DHCP_PORTS="port2" diff --git a/product/router/alix/interfaces/port2 b/product/router/alix/interfaces/port2 deleted file mode 100644 index e261933..0000000 --- a/product/router/alix/interfaces/port2 +++ /dev/null @@ -1 +0,0 @@ -ip 192.168.2.1/24 diff --git a/product/router/rpi3/INIT b/product/router/rpi3/INIT new file mode 100644 index 0000000..451884d --- /dev/null +++ b/product/router/rpi3/INIT @@ -0,0 +1 @@ +DHCP_PORTS="port0"