summaryrefslogtreecommitdiff
path: root/hosts/vidhar/network/gpon.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-07-09 19:11:29 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-07-09 19:11:29 +0200
commitd2a60dec0e131ab24c56965a7c8fa84d3899d8ab (patch)
tree18de6beca72ddb97e08530411e1343d04dab0e51 /hosts/vidhar/network/gpon.nix
parentc6af884353a633989ee4561a4fc9f641aef7506f (diff)
downloadnixos-d2a60dec0e131ab24c56965a7c8fa84d3899d8ab.tar
nixos-d2a60dec0e131ab24c56965a7c8fa84d3899d8ab.tar.gz
nixos-d2a60dec0e131ab24c56965a7c8fa84d3899d8ab.tar.bz2
nixos-d2a60dec0e131ab24c56965a7c8fa84d3899d8ab.tar.xz
nixos-d2a60dec0e131ab24c56965a7c8fa84d3899d8ab.zip
bump gpon speed
Diffstat (limited to 'hosts/vidhar/network/gpon.nix')
-rw-r--r--hosts/vidhar/network/gpon.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/vidhar/network/gpon.nix b/hosts/vidhar/network/gpon.nix
index c15a6e8d..6751978f 100644
--- a/hosts/vidhar/network/gpon.nix
+++ b/hosts/vidhar/network/gpon.nix
@@ -70,8 +70,8 @@ in {
70 70
71 tc qdisc add dev "${pppInterface}" handle ffff: ingress 71 tc qdisc add dev "${pppInterface}" handle ffff: ingress
72 tc filter add dev "${pppInterface}" parent ffff: basic action ctinfo dscp 0x0000003f 0x00000040 action mirred egress redirect dev "ifb4${pppInterface}" 72 tc filter add dev "${pppInterface}" parent ffff: basic action ctinfo dscp 0x0000003f 0x00000040 action mirred egress redirect dev "ifb4${pppInterface}"
73 tc qdisc replace dev "ifb4${pppInterface}" root cake memlimit 128Mb pppoe-ptm diffserv4 bandwidth 238mbit 73 tc qdisc replace dev "ifb4${pppInterface}" root cake memlimit 128Mb pppoe-ptm diffserv4 bandwidth 285mbit
74 tc qdisc replace dev "${pppInterface}" root cake memlimit 128Mb pppoe-ptm nat diffserv4 wash bandwidth 48mbit 74 tc qdisc replace dev "${pppInterface}" root cake memlimit 128Mb pppoe-ptm nat diffserv4 wash bandwidth 143mbit
75 ''; 75 '';
76 }; 76 };
77 in "${app}/bin/${app.meta.mainProgram}"; 77 in "${app}/bin/${app.meta.mainProgram}";