[PATCH 2/2] octeon: add EdgeRouter Lite specific network config
Adrian Schmutzler
mail at adrianschmutzler.de
Fri Jan 8 07:30:41 EST 2021
Hi,
> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Stijn Segers
> Sent: Freitag, 8. Januar 2021 11:28
> To: openwrt-devel at lists.openwrt.org
> Subject: [PATCH 2/2] octeon: add EdgeRouter Lite specific network config
>
> 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.
Why this particular assignment?
Best
Adrian
>
> Signed-off-by: Stijn Segers <foss at 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 at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210108/1d681f4f/attachment.sig>
More information about the openwrt-devel
mailing list