From f6aacba030fd475c0ef8b3a705a41ceeadb59b40 Mon Sep 17 00:00:00 2001 From: BoBppy <46050967+BoBppy@users.noreply.github.com> Date: Wed, 8 Jul 2020 12:23:54 +0800 Subject: [PATCH] R2S:swap lan and wan (#5028) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit R2S的描述是eth1为LAN,eth0为WAN(强迫症xD --- target/linux/rockchip/armv8/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network index eac8233b9..ed14d58a4 100755 --- a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network +++ b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network @@ -6,7 +6,7 @@ board_config_update case "$(board_name)" in friendlyarm,nanopi-r2s) - ucidef_set_interfaces_lan_wan "eth0" "eth1" + ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; radxa,rock-pi-e) ucidef_set_interfaces_lan_wan "eth1" "eth0"