diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-20 12:35:00 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-20 12:35:00 +0000 |
commit | fca1e2883934a6d918878c05ddbea9aadb91b2a5 (patch) | |
tree | 8c186144c966717fe2db431c630ff8dcdd16d91b /target/linux/brcm-2.4/base-files/etc/init.d/netconfig | |
parent | 68e78b57eeb6c5895f6a81234cb18f52a80d74ce (diff) |
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-x | target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 11 |
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 7e3ebcdbf..4cc23d233 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") |