What's new

FlexQoS FlexQoS 1.0 - Flexible QoS Enhancement Script for Adaptive QoS

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

After installing version 0.7 getting empty screen FlexQos. Reinstalled and same result. Any help?
 
Do you see that traffic in the QoS pie charts?

@dave14305 Well I just pulled up the FlexQoS tab on my computer, while I ran a couple more tests on my phone. While the test is running on the downstream, it showed traffic go into the "file transferring" section. However once the upstream side started. Nothing active showed on the upsteam pie chart. So I dunno what to say about that. I can only suggest someone else try this with their phones, and see what they get. I am using the AX88U.
 
@dave14305 not to spam you with multiple posts. However I just ran a test on my pc, with the chart up. I was using speedtest.net on my browser. It showed active data both ways on the chart, however it showed both in the "web surfing" category. I was using the speedtest app on my phone.
 
@dave14305 not to spam you with multiple posts. However I just ran a test on my pc, with the chart up. I was using speedtest.net on my browser. It showed active data both ways on the chart, however it showed both in the "web surfing" category. I was using the speedtest app on my phone.
Choose only the phone in the client list (filter by device) and let us know what it shows in table below that.
 
Choose only the phone in the client list (filter by device) and let us know what it shows in table below that.

That might be a bit tricky.. I just took a peek, and there's probably 30, or so, just DNS entries showing for my phone. Open to a suggestion on dealing with 75-100 connections currently.

Edit: I was able to get some of them to go away. I will try a test in a bit, and try to pull the connections near the end of the test being run.
 
@QuikSilver

Well I ran another test, and the amount of connections by the time I loaded the app, and ran a test on my phone hit 100, or so. So I honestly don't think it will be helpful.. Because both the Traffic Classification, and FlexQoS pie chart pages, show no data being passed, when the upload side of the test runs on my phone.

To me, that tells me there's likely some kind of issue at the wifi driver level, that's somehow bypassing upstream data past QoS. I honestly feel like a few/several months back, this same issue was mentioned on wifi devices bypassing QoS on the upstream.
 
@QuikSilver

Well I ran another test, and the amount of connections by the time I loaded the app, and ran a test on my phone hit 100, or so. So I honestly don't think it will be helpful.. Because both the Traffic Classification, and FlexQoS pie chart pages, show no data being passed, when the upload side of the test runs on my phone.

To me, that tells me there's likely some kind of issue at the wifi driver level, that's somehow bypassing upstream data past QoS. I honestly feel like a few/several months back, this same issue was mentioned on wifi devices bypassing QoS on the upstream.
That is odd...I have an iphone 7 using speedtest app and I saw my upload for speedtest.net (file transfer category) jump from 28 to 45mb when running. o_O
 
That is odd...I have an iphone 7 using speedtest app and I saw my upload for speedtest.net (file transfer category) jump from 28 to 45mb when running. o_O

Well I have another router that connects to my AX88U, and it helps extend my wifi.. guess what? I connected to its wifi. Ran another test on my phone, it showed both download, and upload data on the chart. Also the upload was capped at 29.2mbps, or so. Which is under my 30mbps limit I set. Overall it proves at least on my AX88U, it's not pushing upstream wifi data thru QoS. Which is very annoying, and something Asus needs to get fixed. I am pretty sure this has been an issue for a little while now.
 
I am curious why not? Isn't Merlin's code for this beta newer than what was included with the "8018" build for the AX88U, that Asus released that was said to include these two new categories?

EDIT: I see at least on Asus site, they never released the source code for the 8018 build for the AX88U
Don't worry I have an AX88U and I don't see it either, in just wating till Merlin gets the GPL that has it and is able to merge it.
 
Question: is there a simple way to backup all iptables and appdb rules before uninstalling?
The purpose is to restore them later automagically, without having to take a screenshot and introduce them manually
 
I have
@QuikSilver

Well I ran another test, and the amount of connections by the time I loaded the app, and ran a test on my phone hit 100, or so. So I honestly don't think it will be helpful.. Because both the Traffic Classification, and FlexQoS pie chart pages, show no data being passed, when the upload side of the test runs on my phone.

To me, that tells me there's likely some kind of issue at the wifi driver level, that's somehow bypassing upstream data past QoS. I honestly feel like a few/several months back, this same issue was mentioned on wifi devices bypassing QoS on the upstream.

I have an AX88U and Wi-Fi traffic is showing fine on the upstream and downstream in qos with the new script. Perhaps there is something funky going on with your router and it requires a factory reset?
 
Question: is there a simple way to backup all iptables and appdb rules before uninstalling?
The purpose is to restore them later automagically, without having to take a screenshot and introduce them manually
It’s all stored in /jffs/addons/custom_settings.txt. So something like this would generate a restore script you could save in a safe place.
Code:
. /usr/sbin/helper.sh
{
echo ". /usr/sbin/helper.sh"
echo "am_settings_set flexqos_iptables \"$(am_settings_get flexqos_iptables)\""
echo "am_settings_set flexqos_appdb \"$(am_settings_get flexqos_appdb)\""
echo "am_settings_set flexqos_bandwidth \"$(am_settings_get flexqos_bandwidth)\"" 
} > restore_flexqos_settings.sh
Thanks. I’ll merge it for the next release. I’m trying to keep the master branch “stable” now that I’ve created a develop branch.
 
Browser console errors? Or flexqos -debug

I'm getting the same, my FlexQos tab is unpopulated on both my Opera browser and "untouched" Edge (scrnshot below). Im a complete noob and just started poking my nose into networking so apologies if im missing something obvious. Installed FlexQoS on my ac68u (latest beta1 Merlin build). Its setup to use Adaptive QoS, manual + fq_codel at *0.90 my uncapped speeds, but I havent "done" anything else, so im not sure if i should be setting up rules or any other config stuff? I checked for updates and it confirmed latest version. My debug is below.

Also, is anyone else having trouble with dslreports.com? Its been down 12+ hours now for me. Are there any alternative tests to check latency/bufferbloat stuff?

upload_2020-6-27_12-42-39.png

Debug:

Undf Prio: 2
Undf FlowID: 1:17
Classes Present: 8
Down Band: 92160
Up Band : 8192
***********
Net Control = 1:10
Work-From-Home = 1:13
Gaming = 1:11
Others = 1:17
Web Surfing = 1:15
Streaming = 1:12
Downloads = 1:16
Defaults = 1:14
***********
Downrates -- 4608, 13824, 27648, 18432, 4608, 9216, 4608, 9216
Downceils -- 92160, 92160, 92160, 92160, 92160, 92160, 92160, 92160
Downbursts -- 4798b, 22394b, 11197b, 4794b, 3197b, 3197b, 3197b, 3197b
DownCbursts -- 115200b, 115200b, 115200b, 115200b, 115200b, 115200b, 115200b, 115200b
***********
Uprates -- 409, 1228, 819, 1638, 409, 819, 409, 2457
Upceils -- 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192
Upbursts -- 3198b, 3198b, 3198b, 3198b, 3199b, 3198b, 3199b, 3199b
UpCbursts -- 9596b, 9596b, 9596b, 9596b, 9596b, 9596b, 9596b, 9596b
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7
iptables -D POSTROUTING -t mangle -o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o -debug -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o -debug -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0 -p udp --dport 16384:16415 -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0 -p udp --dport 16384:16415 -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o -debug -p udp --sport 16384:16415 -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o -debug -p udp --sport 16384:16415 -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x80030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x80030001
iptables -D POSTROUTING -t mangle -o -debug -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x40030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o -debug -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x40030001
iptables -D POSTROUTING -t mangle -o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001
iptables -D POSTROUTING -t mangle -o -debug -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o -debug -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
realtc filter del dev br0 parent 1: prio 2 > /dev/null 2>&1
realtc filter del dev eth0 parent 1: prio 2 > /dev/null 2>&1
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:17
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:17
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:17
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:17
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:16
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:16
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:16
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16
realtc filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:15
realtc filter del dev br0 parent 1: prio 22 > /dev/null 2>&1
realtc filter del dev eth0 parent 1: prio 22 > /dev/null 2>&1
realtc filter add dev br0 protocol all prio 22 u32 match mark 0x80130000 0xc03f0000 flowid 1:15
realtc filter add dev eth0 protocol all prio 22 u32 match mark 0x40130000 0xc03f0000 flowid 1:15
realtc filter del dev br0 parent 1: prio 23 > /dev/null 2>&1
realtc filter del dev eth0 parent 1: prio 23 > /dev/null 2>&1
realtc filter add dev br0 protocol all prio 23 u32 match mark 0x80140000 0xc03f0000 flowid 1:15
realtc filter add dev eth0 protocol all prio 23 u32 match mark 0x40140000 0xc03f0000 flowid 1:15
realtc filter del dev br0 parent 1: prio 2 > /dev/null 2>&1
realtc filter del dev eth0 parent 1: prio 2 > /dev/null 2>&1
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x801A0000 0xc03f0000 flowid 1:16
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x401A0000 0xc03f0000 flowid 1:16

FlexQoS v0.7.0 released 06/26/2020
 
I'm getting the same, my FlexQos tab is unpopulated on both my Opera browser and "untouched" Edge (scrnshot below). Im a complete noob and just started poking my nose into networking so apologies if im missing something obvious. Installed FlexQoS on my ac68u (latest beta1 Merlin build). Its setup to use Adaptive QoS, manual + fq_codel at *0.90 my uncapped speeds, but I havent "done" anything else, so im not sure if i should be setting up rules or any other config stuff? I checked for updates and it confirmed latest version. My debug is below.

Also, is anyone else having trouble with dslreports.com? Its been down 12+ hours now for me. Are there any alternative tests to check latency/bufferbloat stuff?


Debug:

Undf Prio: 2
Undf FlowID: 1:17
Classes Present: 8
Down Band: 92160
Up Band : 8192
***********
Net Control = 1:10
Work-From-Home = 1:13
Gaming = 1:11
Others = 1:17
Web Surfing = 1:15
Streaming = 1:12
Downloads = 1:16
Defaults = 1:14
***********
Downrates -- 4608, 13824, 27648, 18432, 4608, 9216, 4608, 9216
Downceils -- 92160, 92160, 92160, 92160, 92160, 92160, 92160, 92160
Downbursts -- 4798b, 22394b, 11197b, 4794b, 3197b, 3197b, 3197b, 3197b
DownCbursts -- 115200b, 115200b, 115200b, 115200b, 115200b, 115200b, 115200b, 115200b
***********
Uprates -- 409, 1228, 819, 1638, 409, 819, 409, 2457
Upceils -- 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192
Upbursts -- 3198b, 3198b, 3198b, 3198b, 3199b, 3198b, 3199b, 3199b
UpCbursts -- 9596b, 9596b, 9596b, 9596b, 9596b, 9596b, 9596b, 9596b
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7
iptables -D POSTROUTING -t mangle -o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o -debug -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o -debug -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0 -p udp --dport 16384:16415 -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0 -p udp --dport 16384:16415 -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o -debug -p udp --sport 16384:16415 -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o -debug -p udp --sport 16384:16415 -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x80030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x80030001
iptables -D POSTROUTING -t mangle -o -debug -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x40030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o -debug -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x40030001
iptables -D POSTROUTING -t mangle -o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001
iptables -D POSTROUTING -t mangle -o -debug -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o -debug -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
realtc filter del dev br0 parent 1: prio 2 > /dev/null 2>&1
realtc filter del dev eth0 parent 1: prio 2 > /dev/null 2>&1
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:17
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:17
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:17
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:17
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:16
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:16
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:16
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16
realtc filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:15
realtc filter del dev br0 parent 1: prio 22 > /dev/null 2>&1
realtc filter del dev eth0 parent 1: prio 22 > /dev/null 2>&1
realtc filter add dev br0 protocol all prio 22 u32 match mark 0x80130000 0xc03f0000 flowid 1:15
realtc filter add dev eth0 protocol all prio 22 u32 match mark 0x40130000 0xc03f0000 flowid 1:15
realtc filter del dev br0 parent 1: prio 23 > /dev/null 2>&1
realtc filter del dev eth0 parent 1: prio 23 > /dev/null 2>&1
realtc filter add dev br0 protocol all prio 23 u32 match mark 0x80140000 0xc03f0000 flowid 1:15
realtc filter add dev eth0 protocol all prio 23 u32 match mark 0x40140000 0xc03f0000 flowid 1:15
realtc filter del dev br0 parent 1: prio 2 > /dev/null 2>&1
realtc filter del dev eth0 parent 1: prio 2 > /dev/null 2>&1
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x801A0000 0xc03f0000 flowid 1:16
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x401A0000 0xc03f0000 flowid 1:16

FlexQoS v0.7.0 released 06/26/2020
Hit F12 in your browser and see if any errors are on the Console tab?
 
Hit F12 in your browser and see if any errors are on the Console tab?

Oops, you've already said that in the post earlier, and... bingo. Sorry for not checking this earlier :)

And edit:

grep ^flexqos /jffs/addons/custom_settings.txt
flexqos_iptables <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7
flexqos_appdb <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
flexqos_bandwidth <5>20>15>10>10>30>5>5<100>100>100>100>100>100>100>100<5>20>15>30>10>10>5>5<100>100>100>100>100>100>100>100
danielk@RT-AC68U-54F8:/tmp/home/root# cat /jffs/addons/flexqos/restore_freshjr_nvram.sh
cat: can't open '/jffs/addons/flexqos/restore_freshjr_nvram.sh': No such file or directory
danielk@RT-AC68U-54F8:/tmp/home/root#

upload_2020-6-27_13-7-48.png
 

Attachments

  • upload_2020-6-27_13-7-32.png
    upload_2020-6-27_13-7-32.png
    172.3 KB · Views: 106
Last edited:
Oops, you've already said that in the post earlier, and... bingo. Sorry for not checking this earlier :)

And edit:

grep ^flexqos /jffs/addons/custom_settings.txt
flexqos_iptables <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7
flexqos_appdb <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
flexqos_bandwidth <5>20>15>10>10>30>5>5<100>100>100>100>100>100>100>100<5>20>15>30>10>10>5>5<100>100>100>100>100>100>100>100
danielk@RT-AC68U-54F8:/tmp/home/root# cat /jffs/addons/flexqos/restore_freshjr_nvram.sh
cat: can't open '/jffs/addons/flexqos/restore_freshjr_nvram.sh': No such file or directory
danielk@RT-AC68U-54F8:/tmp/home/root#

Simplest is to make sure jffs isn’t full. If not, can you post /jffs/addons/flexqos/table/flexqos_arrays.js to pastebin.com? And make sure you have .db files in /tmp/bwdpi/
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top