From f93267bccff672e59ec0d0cf262e6574b00cc3e0 Mon Sep 17 00:00:00 2001 From: Pawel Dembicki Date: Tue, 30 Jun 2020 11:29:46 +0200 Subject: ipq806x: enable Linksys EA8500 eth1 interface At this moment Linksys EA8500 uses only eth0. This patch change switch registers, which allow to use eth1 as lan and eth0 as wan. The method work with similar Linksys EA7500V1 and it work with EA8500. Suggested-by: Sungbo Eo Tested-by: Brian Onn Tested-by: Adrian Panella Signed-off-by: Pawel Dembicki --- target/linux/ipq806x/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ipq806x/base-files/etc') diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network index 65946d7ac5..529a8d9f39 100755 --- a/target/linux/ipq806x/base-files/etc/board.d/02_network +++ b/target/linux/ipq806x/base-files/etc/board.d/02_network @@ -37,7 +37,7 @@ linksys,ea7500-v1) linksys,ea8500) hw_mac_addr=$(mtd_get_mac_ascii devinfo hw_mac_addr) ucidef_add_switch "switch0" \ - "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" + "1:lan" "2:lan" "3:lan" "4:lan" "6@eth1" "5:wan" "0@eth0" ucidef_set_interface_macaddr "lan" "$hw_mac_addr" ucidef_set_interface_macaddr "wan" "$hw_mac_addr" ;; -- cgit v1.2.3