summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-05-30 16:00:59 +0000
committerJohn Crispin <john@openwrt.org>2013-05-30 16:00:59 +0000
commitc2b1e9eeef0aa5ff1f91615878f91e0fce4fdc7d (patch)
tree46b55aad5f9a8180d141b62bc7c1901b8dd2815e /target/linux
parent090a75447ba7c4f45047c5d3628bfc70514570a4 (diff)
downloadmtk-20170518-c2b1e9eeef0aa5ff1f91615878f91e0fce4fdc7d.zip
mtk-20170518-c2b1e9eeef0aa5ff1f91615878f91e0fce4fdc7d.tar.gz
mtk-20170518-c2b1e9eeef0aa5ff1f91615878f91e0fce4fdc7d.tar.bz2
lantiq: Fix ar8216 switch configuration
On linux 3.8 the switch is named as "switch0", but the network configuration script names it as "eth0", causing no communication over ethernet due to no proper VLAN config. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 36782
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/02_network4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index a48fc68..9ae7c70 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -60,8 +60,8 @@ ACMP252|GIGASX76X)
# ar8316
ARV4519PW|ARV7518PW)
ucidef_set_interface_lan "eth0.1"
- ucidef_add_switch "eth0" "1" "1"
- ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
;;
WBMR)