From dc0ffc03e6c6d8bde403079e26be02ee8970f4f3 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 16 Feb 2013 15:24:48 +0000 Subject: [PATCH] brcm47xx: fix network config on simpleshare The included patch will generate a correct network configuration on the simpletech simpleshare. Thank you for the patch Will Holmes (RealOpty) This closes #12361. SVN-Revision: 35623 --- target/linux/brcm47xx/base-files/etc/init.d/netconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/linux/brcm47xx/base-files/etc/init.d/netconfig b/target/linux/brcm47xx/base-files/etc/init.d/netconfig index 98747f5803..3839f9f106 100755 --- a/target/linux/brcm47xx/base-files/etc/init.d/netconfig +++ b/target/linux/brcm47xx/base-files/etc/init.d/netconfig @@ -217,6 +217,12 @@ start() { c["vlan0ports"] = "0 1 2 3 5" c["vlan1ports"] = "4 5" } + if (model == "SimpleTech SimpleShare NAS") { + c["lan_ifname"] = "eth0" + c["wan_ifname"] = "" + c["vlan0ports"] = "" + c["vlan1ports"] = "" + } if (c["vlan0ports"] || c["vlan1ports"]) { print "#### VLAN configuration " -- 2.30.2