From 2307fc302d5967b44b15e7e7da85c23978f86ff0 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 26 Jul 2008 16:10:44 +0000 Subject: [brcm-2.4] fix Dell TrueMobile 2300 v1/v2 detection and network configuration (closes #2788) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11935 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'target/linux/brcm-2.4/base-files/etc') 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 ec25543ee..44e2de25c 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 @@ -65,8 +65,13 @@ start() { c["vlan0ports"] = "0 1 2 3 5*" c["vlan1ports"] = "4 5" } - if (model == "Dell TrueMobile 2300") { + c["lan_ifname"] = "eth0" + c["wan_ifname"] = "eth1" + c["vlan0ports"] = "0 1 2 3 4 5u" + c["vlan1ports"] = "" + } + if (model == "Dell TrueMobile 2300 v2") { c["vlan0ports"] = "0 1 2 3 5*" c["vlan1ports"] = "4 5" } -- cgit v1.2.3