diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2026-08-28 12:50:05 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2026-08-28 12:50:05 +0200 |
| commit | 9df93d51af39f242a00c3ae598ad55e17ab91f69 (patch) | |
| tree | a86916a6759627e9d7bc1b6e49dd60970794f1d7 /hosts/vidhar/network/pppoe | |
| parent | 9b3e7c415978536d734633a3008e3e222232951b (diff) | |
| download | nixos-9df93d51af39f242a00c3ae598ad55e17ab91f69.tar nixos-9df93d51af39f242a00c3ae598ad55e17ab91f69.tar.gz nixos-9df93d51af39f242a00c3ae598ad55e17ab91f69.tar.bz2 nixos-9df93d51af39f242a00c3ae598ad55e17ab91f69.tar.xz nixos-9df93d51af39f242a00c3ae598ad55e17ab91f69.zip | |
...flakes
Diffstat (limited to 'hosts/vidhar/network/pppoe')
| -rw-r--r-- | hosts/vidhar/network/pppoe/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/vidhar/network/pppoe/default.nix b/hosts/vidhar/network/pppoe/default.nix index 85ea992d..309e1734 100644 --- a/hosts/vidhar/network/pppoe/default.nix +++ b/hosts/vidhar/network/pppoe/default.nix | |||
| @@ -123,8 +123,8 @@ in { | |||
| 123 | 123 | ||
| 124 | tc qdisc add dev "$1" handle ffff: ingress | 124 | tc qdisc add dev "$1" handle ffff: ingress |
| 125 | tc filter add dev "$1" parent ffff: basic action ctinfo dscp 0x0000003f 0x00000040 action mirred egress redirect dev "ifb4$1" | 125 | tc filter add dev "$1" parent ffff: basic action ctinfo dscp 0x0000003f 0x00000040 action mirred egress redirect dev "ifb4$1" |
| 126 | tc qdisc replace dev "ifb4$1" root cake memlimit 128Mb pppoe-ptm nat diffserv4 ingress rtt 15ms unlimited | 126 | tc qdisc replace dev "ifb4$1" root cake memlimit 128Mb pppoe-ptm nat diffserv4 ingress rtt 15ms bandwidth 140mbit |
| 127 | tc qdisc replace dev "$1" root cake memlimit 128Mb pppoe-ptm nat diffserv4 wash rtt 15ms unlimited | 127 | tc qdisc replace dev "$1" root cake memlimit 128Mb pppoe-ptm nat diffserv4 wash rtt 15ms bandwidth 32.5mbit |
| 128 | ''; | 128 | ''; |
| 129 | "ppp/ip-up".source = pkgs.resholve.writeScript "ip-up" { | 129 | "ppp/ip-up".source = pkgs.resholve.writeScript "ip-up" { |
| 130 | interpreter = pkgs.runtimeShell; | 130 | interpreter = pkgs.runtimeShell; |
