From 0cde46b3e78cb09fdcda211edc8cea6d40acd2e4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 21 Jan 2010 23:48:23 +0000 Subject: add support for OvisLink WL-1600GL SVN-Revision: 19262 --- target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target') 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 d63f17b..d1e45e5 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 @@ -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 " -- cgit v1.1