summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/vidhar/network/dsl.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/vidhar/network/dsl.nix b/hosts/vidhar/network/dsl.nix
index b267517c..1e8e9c73 100644
--- a/hosts/vidhar/network/dsl.nix
+++ b/hosts/vidhar/network/dsl.nix
@@ -56,11 +56,10 @@ in {
56 "ppp/ip-pre-up".source = let 56 "ppp/ip-pre-up".source = let
57 app = pkgs.writeShellApplication { 57 app = pkgs.writeShellApplication {
58 name = "ip-pre-up"; 58 name = "ip-pre-up";
59 runtimeInputs = with pkgs; [ iproute2 ethtool kmod ]; 59 runtimeInputs = with pkgs; [ iproute2 ethtool ];
60 text = '' 60 text = ''
61 ethtool -K telekom tso off gso off gro off 61 ethtool -K telekom tso off gso off gro off
62 62
63 modprobe ifb
64 ip link del "ifb4${pppInterface}" || true 63 ip link del "ifb4${pppInterface}" || true
65 ip link add name "ifb4${pppInterface}" type ifb 64 ip link add name "ifb4${pppInterface}" type ifb
66 ip link set "ifb4${pppInterface}" up 65 ip link set "ifb4${pppInterface}" up
@@ -148,6 +147,7 @@ in {
148 }; 147 };
149 }; 148 };
150 }; 149 };
150 boot.kernelModules = [ "ifb" ];
151 boot.kernel.sysctl = { 151 boot.kernel.sysctl = {
152 "net.ipv6.conf.all.forwarding" = true; 152 "net.ipv6.conf.all.forwarding" = true;
153 "net.ipv6.conf.default.forwarding" = true; 153 "net.ipv6.conf.default.forwarding" = true;