[LEDE-DEV] [PATCH] ramips:Correct switch configuration for Newifi D1
Chuanhong Guo
gch981213 at gmail.com
Sat Feb 11 05:32:07 PST 2017
Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
---
This patch fixes siwtch configuration for Newifi D1.I don't know why it used to be so strange and unable to use.:(
BTW this patch should (and could) be applied to both the master branch and the lede-17.01 branch.(I think I needn't send it twice,right?)
target/linux/ramips/base-files/etc/board.d/02_network | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 3ef04e6..35ce00c 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -237,11 +237,8 @@ ramips_setup_interfaces()
"0:lan" "4:lan" "6t at eth0"
;;
newifi-d1)
- ucidef_set_interface_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" \
- "0:lan" "1:lan" "2:lan" "3:lan" "5:wan" "6t at eth0" "7t at eth0"
- ucidef_add_switch "switch1" \
- "4:lan" "6t at eth0" "7t at eth0"
+ "1:lan:2" "2:lan:1" "4:wan" "6 at eth0"
;;
rt-n56u)
ucidef_add_switch "switch0" \
--
2.9.3
More information about the Lede-dev
mailing list