From 9b2e1bdd8d051b16142b21d16d753a9d6f3c3eb2 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sat, 26 Jul 2008 16:10:44 +0000 Subject: fix Dell TrueMobile 2300 v1/v2 detection and network configuration (closes #2788) SVN-Revision: 11935 --- target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (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 ec25543ee7..44e2de25c9 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