From aa80373147a95f879ff5017ce3f53ca66368a125 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 22 Dec 2012 12:12:50 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34854 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/uci-defaults/network | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults') 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) -- cgit v1.2.3