From 4c0e9c5d6d93a183ae60e711be3eb041dcc710a3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 6 Mar 2023 21:33:20 +0100 Subject: ... --- hosts/vidhar/network/dsl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/vidhar/network/dsl.nix b/hosts/vidhar/network/dsl.nix index 403b0fad..aa2adf4b 100644 --- a/hosts/vidhar/network/dsl.nix +++ b/hosts/vidhar/network/dsl.nix @@ -66,14 +66,14 @@ in { text = '' ethtool -K telekom tso off gso off gro off - tc qdisc replace dev "${pppInterface}" root cake pppoe-ptm nat diffserv4 wash bandwidth 35mbit + tc qdisc replace dev "${pppInterface}" root cake memlimit 64Mb pppoe-ptm nat diffserv4 wash bandwidth 35mbit modprobe ifb ip link del "ifb4${pppInterface}" || true ip link add name "ifb4${pppInterface}" type ifb tc qdisc del dev "${pppInterface}" ingress || true tc qdisc add dev "${pppInterface}" handle ffff: ingress - tc qdisc replace dev "ifb4${pppInterface}" root cake pppoe-ptm diffserv4 bandwidth 93mbit + tc qdisc replace dev "ifb4${pppInterface}" root cake memlimit 64Mb pppoe-ptm diffserv4 bandwidth 93mbit ip link set "ifb4${pppInterface}" up tc filter add dev "${pppInterface}" parent ffff: matchall action mirred egress redirect dev "ifb4${pppInterface}" ''; -- cgit v1.2.3