aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2012-04-21 08:07:21 +0000
committerMirko Vogt <mirko@openwrt.org>2012-04-21 08:07:21 +0000
commitac435b7daf8af149031d99284c0af96f15215482 (patch)
tree9610edbb2ebd91369cdaefa4030b01636edebff5
parent1272afb1c49c2253946b8f6a9ce6b8e2dde4e3f9 (diff)
downloadupstream-ac435b7daf8af149031d99284c0af96f15215482.tar.gz
upstream-ac435b7daf8af149031d99284c0af96f15215482.tar.bz2
upstream-ac435b7daf8af149031d99284c0af96f15215482.zip
[target/linux/lantiq] change /etc/config/network according to actual VLAN config to enable LAN port 4 on the ARV4520PW board
The VLAN mapping on the ARV4520PW board is the following: port on Router: | VLAN in software: LAN 1 | 3 LAN 2 | 2 LAN 3 | 1 LAN 4 | 0 DSL | 4 So LAN4 is not VLAN4 but VLAN0 (VLAN4 is DSL port) -> set "3 2 1 0 5t" as default switch config. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31391 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/network b/target/linux/lantiq/base-files/etc/uci-defaults/network
index 94dea9a24e..8ea0798295 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/network
@@ -56,7 +56,7 @@ case "$board" in
ARV4520PW|GIGASX76X)
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "eth0" "1" "1"
- ucidef_add_switch_vlan "eth0" "1" "1 2 3 4 5t"
+ ucidef_add_switch_vlan "eth0" "1" "3 2 1 0 5t"
set_adsl "b" "b2p"
;;