From 42f0f273131b85af31c62906f6c99a12abc0b6c2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Apr 2026 19:18:01 +0200 Subject: ... --- hosts/vidhar/network/pppoe/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hosts/vidhar/network') diff --git a/hosts/vidhar/network/pppoe/default.nix b/hosts/vidhar/network/pppoe/default.nix index 36bf4f49..aac31ce6 100644 --- a/hosts/vidhar/network/pppoe/default.nix +++ b/hosts/vidhar/network/pppoe/default.nix @@ -14,7 +14,7 @@ in { config = { networking.vlans = { - telekom = { + pppoe = { id = 7; interface = "eno2"; }; @@ -48,8 +48,8 @@ in { "password:${config.sops.secrets."o2-password".path}" ]; - bindsTo = [ "sys-subsystem-net-devices-telekom.device" ]; - after = [ "sys-subsystem-net-devices-telekom.device" ]; + bindsTo = [ "sys-subsystem-net-devices-pppoe.device" ]; + after = [ "sys-subsystem-net-devices-pppoe.device" ]; }; sops.secrets."o2-password" = { format = "binary"; @@ -69,7 +69,7 @@ in { plugin pppoe.so pppoe-padi-timeout 1 pppoe-padi-attempts 10 - nic-telekom + nic-pppoe debug +ipv6 ''; @@ -85,7 +85,7 @@ in { "cannot:${lib.getExe' pkgs.iproute2 "tc"}" ]; } '' - ethtool -K telekom tso off gso off gro off + ethtool -K pppoe tso off gso off gro off ip link del "ifb4$1" || true ip link add name "ifb4$1" type ifb -- cgit v1.2.3