aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-20 12:35:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-20 12:35:00 +0000
commit599cf4f524016ebd16882f7ec64e2aff325d3b82 (patch)
tree8c186144c966717fe2db431c630ff8dcdd16d91b /target/linux/brcm-2.4/base-files/etc/init.d/netconfig
parentfe2cb26703de11356d8a3089dad47a76eff9337f (diff)
downloadupstream-599cf4f524016ebd16882f7ec64e2aff325d3b82.tar.gz
upstream-599cf4f524016ebd16882f7ec64e2aff325d3b82.tar.bz2
upstream-599cf4f524016ebd16882f7ec64e2aff325d3b82.zip
Add WL-700gE support (based on work by jr)
Includes kernel/diag patch and a new target profile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6142 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/base-files/etc/init.d/netconfig')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig11
1 files changed, 11 insertions, 0 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 7e3ebcdbf1..4cc23d233b 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
@@ -101,6 +101,17 @@ start() {
c["wan_ifname"]=""
}
+ # ASUS WL-700gE
+ # These are actually same as defaults above. For some reason this script applies
+ # Generic BCM94704 settings instead so we revert to proper settings here.
+ # Hopefully someone will fix this properly soon.
+ if (model == "ASUS WL-700gE") {
+ c["lan_ifname"]="eth0.0"
+ c["wan_ifname"]="eth0.1"
+ c["vlan0ports"]="1 2 3 4 5*"
+ c["vlan1ports"]="0 5"
+ }
+
print "#### VLAN configuration "
print "config switch eth0"
p("vlan0", "vlan0ports")