aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-11-29 20:18:49 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-11-29 20:18:49 +0000
commit55987c5d964a11e7fa4dc3875ad4df86165bb780 (patch)
tree20e44f04b622066b368c180e2ab17d4d4e242331 /target/linux
parentb7ca4137f58393f9895897d75bab0a8fefa63b19 (diff)
downloadmaster-187ad058-55987c5d964a11e7fa4dc3875ad4df86165bb780.tar.gz
master-187ad058-55987c5d964a11e7fa4dc3875ad4df86165bb780.tar.bz2
master-187ad058-55987c5d964a11e7fa4dc3875ad4df86165bb780.zip
ar71xx: fix switch port map for the Sitecom WLR-8100
There was no way to determine a working config, because the switch (ar8337) was not working previously. Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4470/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38953 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 3bbfe999b3..f288862703 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -22,15 +22,15 @@ ubnt-unifi-outdoor)
ucidef_set_interface_lan "eth0 eth1"
;;
-ap132)
+ap132 |\
+wlr8100)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
ucidef_add_switch_vlan "switch0" "2" "0t 1"
;;
-ap136-010 |\
-wlr8100)
+ap136-010)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"