Jeffrey Young
Very Senior Member
To elaborate more, I am interested in knowing that the commands that SpdMerlin uses to turn off QoS fir the test are still working on your model of router.
If I understand the question. As per append #72, never been changed from the spdmerlin default of "Yes" to "No".You can disable or enable both running a speed test with QoS and auto update the bandwidths. @SomeWhereOverTheRainBow is saying to check off the box for exclude QoS from speed merlin.
To simplify, I would suggest commenting out any iptables command that doesn’t containTo elaborate more, I am interested in knowing that the commands that SpdMerlin uses to turn off QoS fir the test are still working on your model of router.
mangle
and OUTPUT
together in the same line.#iptables "$ACTION" OUTPUT -p "$proto" -o "$(Get_Interface_From_Name WAN)" -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null
#iptables "$ACTION" OUTPUT -p "$proto" -o tun1+ -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null
iptables -t mangle "$ACTION" OUTPUT -p "$proto" -o "$(Get_Interface_From_Name WAN)" -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null
#iptables -t mangle "$ACTION" POSTROUTING -p "$proto" -o "$(Get_Interface_From_Name WAN)" -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null
iptables -t mangle "$ACTION" OUTPUT -p "$proto" -o tun1+ -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null
#iptables -t mangle "$ACTION" POSTROUTING -p "$proto" -o tun1+ -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null
I agree, the spdmerlin panel function isn't (or appears to be) disabling QoS. if you manually disable QoS then scheduled spdmerlin tests run without rebooting the AXE16000. I haven't checked on the AXE16000 in last few days, as out of country and didn't have time to setup remote access to it. Back Saturday night.OK, missed that. So, it is possible that QosS is not getting turned off then.
Thanks Dave. This is useful. I won't be home yet for another month and a bit to start to play. Even then the job pile is starting to growwwwww....To simplify, I would suggest commenting out any iptables command that doesn’t containmangle
andOUTPUT
together in the same line.
The script is assigning download marks to upload traffic so that it doesn’t get recognized by the htb filters on upload. Adaptive QoS never sees the download test traffic, except in sending the TCP ACKs back as upload traffic.Code:#iptables "$ACTION" OUTPUT -p "$proto" -o "$(Get_Interface_From_Name WAN)" -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null #iptables "$ACTION" OUTPUT -p "$proto" -o tun1+ -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null iptables -t mangle "$ACTION" OUTPUT -p "$proto" -o "$(Get_Interface_From_Name WAN)" -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null #iptables -t mangle "$ACTION" POSTROUTING -p "$proto" -o "$(Get_Interface_From_Name WAN)" -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null iptables -t mangle "$ACTION" OUTPUT -p "$proto" -o tun1+ -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null #iptables -t mangle "$ACTION" POSTROUTING -p "$proto" -o tun1+ -j MARK --set-xmark 0x80000000/0xC0000000 2>/dev/null
Summary of what's been published in previous appends:I agree, the spdmerlin panel function isn't (or appears to be) disabling QoS. if you manually disable QoS then scheduled spdmerlin tests run without rebooting the AXE16000. I haven't checked on the AXE16000 in last few days, as out of country and didn't have time to setup remote access to it. Back Saturday night.
SpdMerlin is no longer being developed. The last release was pre 388 codebase. One should expect issues going foreword is using any of Jack's scripts in the 388 codebase.Wish I had found this thread before buying my AXE16000.
Long time user of the AsusMerlin firmware here on various routers.
This time, I hesitated a lot with buying an x86 PC and running something like OPNsense on it.
I felt like the ASUSmerlin was a more polished experience with more features, hence why I spent on a brand new AXE16000, with some ET8 in AiMesh.
I am running firmware 3004.388.4 and my router crashes & reboots while installing spdMerlin.
View attachment 54292
I have tried that several times with manual or automatic bandwidth for QoS. Adaptive QoS is on.
Oh, and before I forget: my ISP - Comcast Business - is so crappy that I have to run spdMerlin regularly to understand their crappyness patterns and be aware that when my video conferences are bad, it's due to the lack of bandwidth (up or down).
EDIT1:
Wanted to report that after playing with a few different switches,
I found that switching from "adaptive QoS" to "traditional QoS" lets me install spdMerlin. Now the router seems to work and stay stable through reboots.
Thank you for that software.
You'll probably want to use this instead because @Viktor Jaep is accessible and actively developing/maintaining his stuff whereas @Jack Yaz is less soWish I had found this thread before buying my AXE16000.
Long time user of the AsusMerlin firmware here on various routers.
This time, I hesitated a lot with buying an x86 PC and running something like OPNsense on it.
I felt like the ASUSmerlin was a more polished experience with more features, hence why I spent on a brand new AXE16000, with some ET8 in AiMesh.
I am running firmware 3004.388.4 and my router crashes & reboots while installing spdMerlin.
View attachment 54292
I have tried that several times with manual or automatic bandwidth for QoS. Adaptive QoS is on.
Oh, and before I forget: my ISP - Comcast Business - is so crappy that I have to run spdMerlin regularly to understand their crappyness patterns and be aware that when my video conferences are bad, it's due to the lack of bandwidth (up or down).
EDIT1:
Wanted to report that after playing with a few different switches,
I found that switching from "adaptive QoS" to "traditional QoS" lets me install spdMerlin. Now the router seems to work and stay stable through reboots.
Thank you for that software.
To make it stop, I had to add a match to ensure the packet had a valid download or upload bit before changing the mark.So disabling exclude from qos fixes it? Easy fix, I'll take that away on affected routers
-m mark --mark 0x80000000/0xc0000000
-m mark --mark 0x40000000/0xc0000000
While your in edit mode, would you consider adding a short patch? I use this code to call another script once the speedtest is done. The script sets the color of a Hue lightbulb based on download speed (so I can tell at a glance when my Starlink is slowing down). I have also used this function when I had a T-Mobile 5G modem - I found that resetting the T-Mobile modem once the speed gets too slow brings it back to reasonable speeds - typically!So disabling exclude from qos fixes it? Easy fix, I'll take that away on affected routers
if [ "$applyautobw" = "true" ]; then
Menu_AutoBW_Update
fi
rm -f "$tmpfile"
rm -f /tmp/spdstatstitle.txt
echo 'var spdteststatus = "Done";' > /tmp/detect_spdtest.js
# Speedtest hook patch
if [ -x /jffs/scripts/post-spdmerlin ]; then
/jffs/scripts/post-spdmerlin $download $upload &
fi
# End of patch
Where did you add this at? Did this fix your issues?To make it stop, I had to add a match to ensure the packet had a valid download or upload bit before changing the mark.
Code:-m mark --mark 0x80000000/0xc0000000 -m mark --mark 0x40000000/0xc0000000
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!