fix the default network configuration for the ASUS WL-330gE (#8751)
[openwrt/openwrt.git] / target / linux / brcm47xx / base-files / etc / init.d / netconfig
index d7839b6b494833c43ec84b1cb36684a4bf019542..4de108a0c096d98bd4611e6e77ca6a993fddb61b 100755 (executable)
@@ -104,8 +104,8 @@ start() {
                }
                if (model == "ASUS WL-330gE") {
                        c["wan_ifname"] = ""
                }
                if (model == "ASUS WL-330gE") {
                        c["wan_ifname"] = ""
-                       c["lan_ifname"] = "eth0"
-                       c["vlan0ports"] = ""
+                       c["lan_ifname"] = "eth0.0"
+                       c["vlan0ports"] = "4 5"
                        c["vlan1ports"] = ""
                }
                if ((model == "ASUS WL-500g") || (model == "Microsoft MN-700")) {
                        c["vlan1ports"] = ""
                }
                if ((model == "ASUS WL-500g") || (model == "Microsoft MN-700")) {