Last active
June 25, 2025 22:43
-
-
Save gquittet/f096b24417c3b0ec1e44b4a82c43dfb2 to your computer and use it in GitHub Desktop.
Revisions
-
gquittet revised this gist
Jun 25, 2025 . 1 changed file with 13 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,16 @@ with this content sed -i 's/tc filter add dev .*/tc filter add dev $DLIF parent ffff: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev $MIF/g' /tmp/qos ``` Run it and it's done! ``` cat >/jffs/scripts/qos-start <<-EOF #!/bin/sh sed -i 's/tc filter add dev .*/tc filter add dev \$DLIF parent ffff: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev \$MIF/g' /tmp/qos EOF chmod 755 /jffs/scripts/qos-start service restart_qos ``` Source: https://www.snbforums.com/threads/cakeqos-not-limiting-download.93504/ -
gquittet created this gist
Jun 25, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # Cake QOS fix on TUF AX3000 v2 Create a script in `/jffs/scripts` called `qos-start` with this content ```bash #!/bin/sh sed -i 's/tc filter add dev .*/tc filter add dev $DLIF parent ffff: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev $MIF/g' /tmp/qos ``` Run it and it's done!