diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-07-26 16:10:44 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-07-26 16:10:44 +0000 |
commit | 2307fc302d5967b44b15e7e7da85c23978f86ff0 (patch) | |
tree | e3ff91f8422a2aebc5e4e1139c3773aa7d6dfc6d /target/linux | |
parent | 626129613adb0920b8e7d2a71df049ac4100877d (diff) |
[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
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 7 |
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" } |