Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:[email protected]]
> On Behalf Of Stijn Segers
> Sent: Freitag, 8. Januar 2021 11:28
> To: [email protected]
> 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 <[email protected]>
> ---
>  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
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Attachment: openpgp-digital-signature.asc
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to