aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-07-26 16:10:44 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-07-26 16:10:44 +0000
commit9b2e1bdd8d051b16142b21d16d753a9d6f3c3eb2 (patch)
tree0f55ca26f06047522dd59c2e5cbfffd376966f8b /target/linux/brcm-2.4
parent1b84749c770594e40e669ff94806ddce34fb02e0 (diff)
downloadupstream-9b2e1bdd8d051b16142b21d16d753a9d6f3c3eb2.tar.gz
upstream-9b2e1bdd8d051b16142b21d16d753a9d6f3c3eb2.tar.bz2
upstream-9b2e1bdd8d051b16142b21d16d753a9d6f3c3eb2.zip
fix Dell TrueMobile 2300 v1/v2 detection and network configuration (closes #2788)
SVN-Revision: 11935
Diffstat (limited to 'target/linux/brcm-2.4')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig7
1 files changed, 6 insertions, 1 deletions
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"
}