aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults/network
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-22 12:12:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-22 12:12:50 +0000
commit64d31e6c6b137e6b15b1fd3a2cc465fc7d4105af (patch)
treed45fbcd214f3d4911d3c8a01184c7fe0b78d3f80 /target/linux/ar71xx/base-files/etc/uci-defaults/network
parent5dec87afefef15bd619d7586f1f5d241a695104d (diff)
downloadupstream-64d31e6c6b137e6b15b1fd3a2cc465fc7d4105af.tar.gz
upstream-64d31e6c6b137e6b15b1fd3a2cc465fc7d4105af.tar.bz2
upstream-64d31e6c6b137e6b15b1fd3a2cc465fc7d4105af.zip
ar71xx: register the second ethernet interface on the AP136
Also fix the default network configuration according to the new setup. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34854
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/network')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 7832da59b5..d6b60650c7 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -22,6 +22,13 @@ ubnt-unifi-outdoor)
ucidef_set_interface_lan "eth0 eth1"
;;
+ap136)
+ ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
+ ucidef_add_switch_vlan "switch0" "2" "5 6"
+ ;;
+
db120 |\
rb-2011l | \
rb-2011uas-2hnd)