all repos — nixfiles @ 363ebe26af3d0ee62dc6b1334b453d74d71aa221

System and user configuration, managed by nix and home-manager

nanopi: remove lte backup connection
Alan Pearce alan@alanpearce.eu
Fri, 30 Aug 2024 17:15:46 +0200
commit

363ebe26af3d0ee62dc6b1334b453d74d71aa221

parent

c28471ee4f59e966c0613b80e081e8456f42ca34

1 files changed, 0 insertions(+), 38 deletions(-)

jump to
M system/nanopi.nixsystem/nanopi.nix
@@ -284,12 +284,6 @@ linkConfig = {           Name = "wlan0";
         };
       };
-      "10-name-lte0" = {
-        matchConfig.MACAddress = "34:4b:50:00:00:00";
-        linkConfig = {
-          Name = "lte0";
-        };
-      };
     };
     netdevs = {
       "20-bridge" = {
@@ -335,38 +329,6 @@ UplinkInterface = "wan0";           SubnetId = "42";
           Assign = true;
           Token = "::1";
-        };
-      };
-      "50-lte0" = {
-        matchConfig.Name = "lte0";
-        networkConfig = {
-          DHCP = "yes";
-          IPv6AcceptRA = true;
-          IPv4Forwarding = true;
-          IPv6Forwarding = true;
-        };
-        dhcpV4Config = {
-          UseDNS = false;
-          SendHostname = false;
-          UseRoutes = false;
-        };
-        ipv6AcceptRAConfig.UseDNS = false;
-        routes = [
-          {
-            Gateway = "_dhcp4";
-            Metric = 2048;
-            QuickAck = true;
-            InitialCongestionWindow = 30;
-            InitialAdvertisedReceiveWindow = 30;
-          }
-        ];
-        cakeConfig = {
-          Bandwidth = "1M";
-          OverheadBytes = 18;
-          MPUBytes = 64;
-          CompensationMode = "none";
-          NAT = true;
-          PriorityQueueingPreset = "diffserv8";
         };
       };
       "50-wan" = {