From 38a7f0b03bc10e692d300efd4b798a921eabbe34 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 7 Jan 2024 16:45:10 +0000 Subject: [PATCH] turris omnia: add all lan devices I think we might turn "lan" into a bridge, but that's for later --- devices/turris-omnia/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/devices/turris-omnia/default.nix b/devices/turris-omnia/default.nix index 60020e6..45fab85 100644 --- a/devices/turris-omnia/default.nix +++ b/devices/turris-omnia/default.nix @@ -219,9 +219,13 @@ ifname = "wan"; }; - lan = link.build { - ifname = "lan1"; - }; + lan0 = link.build { ifname = "lan0"; }; + lan1 = link.build { ifname = "lan1"; }; + lan2 = link.build { ifname = "lan2"; }; + lan3 = link.build { ifname = "lan3"; }; + lan4 = link.build { ifname = "lan4"; }; + lan5 = link.build { ifname = "lan5"; }; + lan = lan0; # maybe we should build a bridge? wlan = link.build { ifname = "wlan0";