diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-07-26 16:10:44 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-07-26 16:10:44 +0000 |
commit | 1c27b386135765feb52d6e3be9e21e62f62d77d8 (patch) | |
tree | e3ff91f8422a2aebc5e4e1139c3773aa7d6dfc6d /target/linux/brcm-2.4/base-files/etc/init.d/netconfig | |
parent | db61dbe67ce470063fb824973947f449d4994e9e (diff) | |
download | master-187ad058-1c27b386135765feb52d6e3be9e21e62f62d77d8.tar.gz master-187ad058-1c27b386135765feb52d6e3be9e21e62f62d77d8.tar.bz2 master-187ad058-1c27b386135765feb52d6e3be9e21e62f62d77d8.zip |
[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/brcm-2.4/base-files/etc/init.d/netconfig')
-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" } |