diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-22 12:12:50 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-22 12:12:50 +0000 |
commit | 378c626d6260c876063cb3343d480eae80286551 (patch) | |
tree | 289b55689c71093719b6f4daf4da76ded1c5003f /target/linux/ar71xx/base-files/etc | |
parent | 6010f1b825faa68d868bb090ed8bbecb897ea57d (diff) | |
download | master-187ad058-378c626d6260c876063cb3343d480eae80286551.tar.gz master-187ad058-378c626d6260c876063cb3343d480eae80286551.tar.bz2 master-187ad058-378c626d6260c876063cb3343d480eae80286551.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34854 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 7 |
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) |