The Ubiquiti EdgeRouter Lite has three network interfaces. Add a
specific match in /etc/board.d/01_network so they all get set up.
Default to eth0 for WAN and an eth1 + eth2 bridge for LAN.

Signed-off-by: Stijn Segers <f...@volatilesystems.org>
---
 target/linux/octeon/base-files/etc/board.d/01_network | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/octeon/base-files/etc/board.d/01_network 
b/target/linux/octeon/base-files/etc/board.d/01_network
index 749d99be1d..4ad5f95598 100755
--- a/target/linux/octeon/base-files/etc/board.d/01_network
+++ b/target/linux/octeon/base-files/etc/board.d/01_network
@@ -14,6 +14,9 @@ itus,shield-router)
 ubnt,edgerouter-4)
        ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "lan0"
        ;;
+ubnt,erlite)
+       ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
+       ;;
 *)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
        ;;
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to