diff --git a/flake.lock b/flake.lock index ba9f75d..4d548a1 100644 --- a/flake.lock +++ b/flake.lock @@ -304,11 +304,11 @@ ] }, "locked": { - "lastModified": 1700524221, - "narHash": "sha256-YQGjhwhd68N9fILRwZXlT3z6yXP5kRH8B6bxD2uQq14=", + "lastModified": 1701027558, + "narHash": "sha256-rINl9hvpQLfQtrXUy+R8bAtkKnU/1yOajVLfpFh0qWg=", "owner": "chayleaf", "repo": "nixos-router", - "rev": "e9d2ec7ad1f34cb9f1f71c1400430af817431a3b", + "rev": "c69ede702d9e8d367cc45cc8869f549eccc90ea1", "type": "github" }, "original": { diff --git a/system/hosts/router/default.nix b/system/hosts/router/default.nix index 5e6aa97..49b7d2d 100644 --- a/system/hosts/router/default.nix +++ b/system/hosts/router/default.nix @@ -362,6 +362,14 @@ in { vht_capab = "[RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][SOUNDING-DIMENSION-4][BF-ANTENNA-4][VHT160][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]"; } // hapdConfig; }; + # Unfortunately, this router's networking hardware is highly prone to breakage + # Many people have reported their routers' TCP offloading being faulty, with an error + # like this being thrown at random (it can be shortly after boot, or in a few days): + # NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 3 timed out 5388 ms + # My hardware broke after a few months of use as well, so here's a potential fix + router.interfaces.eth0.extraInitCommands = '' + ${pkgs.ethtool}/bin/ethtool --offload eth0 tso off + ''; # ethernet lan0-3 router.interfaces.lan0 = { bridge = "br0";