aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-01-29 19:12:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-01-29 19:12:32 +0000
commita2c56296d7e138da58d348c3f52c43ab7904bd3a (patch)
treec845bc519c8aa3abb59e3925e77039536c32986a /target/linux/ar71xx/base-files/etc/uci-defaults
parent3b89a20bc731667f005c1f16fc0c0d548f3a2a57 (diff)
downloadmaster-187ad058-a2c56296d7e138da58d348c3f52c43ab7904bd3a.tar.gz
master-187ad058-a2c56296d7e138da58d348c3f52c43ab7904bd3a.tar.bz2
master-187ad058-a2c56296d7e138da58d348c3f52c43ab7904bd3a.zip
ar71xx: add user-space support for the AP132 board
Based on http://patchwork.openwrt.org/patch/3162/ Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35396 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network7
1 files changed, 7 insertions, 0 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 7cd0113cd8..ac225ed055 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -22,6 +22,13 @@ ubnt-unifi-outdoor)
ucidef_set_interface_lan "eth0 eth1"
;;
+ap132)
+ 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)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1"