X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/035f5fa612c6cffa585e1047f2ec5ac1edd8f151..d60b20b806678265553bd231b93e16ee77044b7c:/target/linux/brcm-2.4/base-files/etc/init.d/netconfig diff --git a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig index d63f17b12..435288fa8 100755 --- a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig +++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig @@ -107,7 +107,7 @@ start() { c["vlan0ports"] = "" c["vlan1ports"] = "" } - if (model == "ASUS WL-500g") { + if ((model == "ASUS WL-500g") || (model == "Microsoft MN-700")) { c["wan_ifname"] = "eth1" c["lan_ifname"] = "eth0" } @@ -207,6 +207,12 @@ start() { c["vlan0ports"] = "0 1 2 3 4 5u" c["vlan1ports"] = "" } + if (model == "OvisLink WL-1600GL") { + c["lan_ifname"] = "eth0.0" + c["wan_ifname"] = "eth0.1" + c["vlan0ports"] = "0 1 2 3 5*" + c["vlan1ports"] = "4 5" + } if (c["vlan0ports"] || c["vlan1ports"]) { print "#### VLAN configuration "