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!

Posted some time ago when AX58U alpha code was available. Had an issue with Flex not working at all. Reverted back to mainline Merlin code and all was well. Just tried the Beta 1 code, same issue. Followed Merlin instruction and the new code he posted to fix an issue with switching pages would crash the router. Did the reformat the JFFS partition before flashing as well. Flex still not working, uninstalled Flex, formatted JFFS partition. Nothing showing on even the basic Traffic Classification page - shows "Disabled - too many tracked connections". Not sure what's going on. Never had this issue prior to the new 386 train. Router is working fine other than this issue.
 
Nothing showing on even the basic Traffic Classification page - shows "Disabled - too many tracked connections". Not sure what's going on.
This just means there were over 750 connections still being tracked by the router and refresh is disabled for performance reasons. Reload the page in a couple minutes.

Your best hope of getting Adaptive QoS fixed is to install the stock 386 RC2 code and test there, and send Asus feedback through the stock feedback form. None of us can fix the broken components from Trend Micro, but the sooner Asus hears the complaints, the sooner they might get a fix.
 
This just means there were over 750 connections still being tracked by the router and refresh is disabled for performance reasons. Reload the page in a couple minutes.

Your best hope of getting Adaptive QoS fixed is to install the stock 386 RC2 code and test there, and send Asus feedback through the stock feedback form. None of us can fix the broken components from Trend Micro, but the sooner Asus hears the complaints, the sooner they might get a fix.

I'm interested to hear if anyone has AX58U on the new Beta 1 code working properly with FlexQoS at all. If so what was their steps to get it working? Full factory reset, upgrade to new code and reconfig from scratch? Some folks are running the Beta 1 just fine on the platform but no indications if they are also running FlexQoS as well. I'll play around some more tomorrow and see if I can get any further.
 
RT-AC1900P.... FlexQOS GUI unavilable. AMTM indicates hotfix available but never seems to install it. Get a 404 error on the user page (192.168.1.1/user1.asp). I also tried manually installing after a JFFS reformat.

FlexQOS appears to be running, however.

Code:
FlexQoS v1.0.6 released 2020-11-23

Checking for updates
[: bad number
md5sum: can't open '/jffs/addons/flexqos/flexqos.asp': No such file or directory
FlexQoS hotfix is available.
 
Last edited:
RT-AC1900P.... FlexQOS GUI unavilable. AMTM indicates hotfix available but never seems to install it. Get a 404 error on the user page (192.168.1.1/user1.asp). I also tried manually installing after a JFFS reformat.

FlexQOS appears to be running, however.

Code:
FlexQoS v1.0.6 released 2020-11-23

Checking for updates
[: bad number
md5sum: can't open '/jffs/addons/flexqos/flexqos.asp': No such file or directory
FlexQoS hotfix is available.
What firmware are you on? Has it ever worked to your knowledge?
 
RT-AC1900P.... FlexQOS GUI unavilable. AMTM indicates hotfix available but never seems to install it. Get a 404 error on the user page (192.168.1.1/user1.asp). I also tried manually installing after a JFFS reformat.

FlexQOS appears to be running, however.

Code:
FlexQoS v1.0.6 released 2020-11-23

Checking for updates
[: bad number
md5sum: can't open '/jffs/addons/flexqos/flexqos.asp': No such file or directory
FlexQoS hotfix is available.
How are you determining that FlexQoS appears to be running? It reads like your /jffs is unavailable. Run sh -x /jffs/addons/flexqos/flexqos.sh update and post the full output (it will look messy if the script is even there in jffs to begin with).
 
386.1 beta1
Code:
ADmin@RT-AC1900P-9358:/tmp/home/root# sh -x /jffs/addons/flexqos/flexqos.sh update
+ version=1.0.6
+ release=2020-11-23
+ . /usr/sbin/helper.sh
+ _am_settings_path=/jffs/addons/custom_settings.txt
+ [ update = -x ]
+ SCRIPTNAME=flexqos
+ SCRIPTNAME_DISPLAY=FlexQoS
+ GIT_REPO=https://raw.githubusercontent.com/dave14305/FlexQoS
+ am_settings_get flexqos_branch
+ [ ! -f /jffs/addons/custom_settings.txt ]
+ grep -E ^flexqos_branch  /jffs/addons/custom_settings.txt
+ cut -f2- -d  
+ [  != develop ]
+ GIT_BRANCH=master
+ GIT_URL=https://raw.githubusercontent.com/dave14305/FlexQoS/master
+ ADDON_DIR=/jffs/addons/flexqos
+ WEBUIPATH=/jffs/addons/flexqos/flexqos.asp
+ SCRIPTPATH=/jffs/addons/flexqos/flexqos.sh
+ nvram get ipv6_service
+ IPv6_enabled=disabled
+ am_settings_get flexqos_ver
+ [ ! -f /jffs/addons/custom_settings.txt ]
+ grep -E ^flexqos_ver  /jffs/addons/custom_settings.txt
+ cut -f2- -d  
+ [ 1.0.6 != 1.0.6 ]
+ [ -e /usr/sbin/realtc ]
+ tc=tc
+ Net_mark_down=0x8009ffff
+ Work_mark_down=0x8006ffff
+ Gaming_mark_down=0x8008ffff
+ Others_mark_down=0x800affff
+ Web_mark_down=0x8018ffff
+ Streaming_mark_down=0x8004ffff
+ Downloads_mark_down=0x8003ffff
+ Learn_mark_down=0x803fffff
+ Net_mark_up=0x4009ffff
+ Work_mark_up=0x4006ffff
+ Gaming_mark_up=0x4008ffff
+ Others_mark_up=0x400affff
+ Web_mark_up=0x4018ffff
+ Streaming_mark_up=0x4004ffff
+ Downloads_mark_up=0x4003ffff
+ Learn_mark_up=0x403fffff
+ arg1=update
+ [ -z update ]
+ [ update = menu ]
+ get_wanif
+ prefixes=wan0_ wan1_
+ nvram get wans_mode
+ [ fo = lb ]
+ nvram get wan0_primary
+ primary=1
+ [ 1 = 1 ]
+ break
+ [ 1 = 1 ]
+ nvram get wan0_proto
+ proto=dhcp
+ [ dhcp = pppoe ]
+ [ dhcp = pptp ]
+ [ dhcp = l2tp ]
+ nvram get wan0_ifname
+ ifname=eth0
+ printf %s eth0
+ wan=eth0
+ update 
+ scriptinfo
+ echo 

+ Green FlexQoS v1.0.6 released 2020-11-23
+ printf -- \033[1;32m%s\033[0m\n FlexQoS v1.0.6 released 2020-11-23
FlexQoS v1.0.6 released 2020-11-23
+ [ master != master ]
+ echo 

+ echo Checking for updates
Checking for updates
+ printf var verUpdateStatus = "%s";\n InProgress
+ compare_remote_version
+ curl -fsN --retry 3 --connect-timeout 3 https://raw.githubusercontent.com/dave14305/FlexQoS/master/flexqos.sh
+ /bin/grep ^version=
+ sed -e s/version=//
 
386.1 beta1
Code:
ADmin@RT-AC1900P-9358:/tmp/home/root# sh -x /jffs/addons/flexqos/flexqos.sh update
+ version=1.0.6
+ release=2020-11-23
+ . /usr/sbin/helper.sh
+ _am_settings_path=/jffs/addons/custom_settings.txt
+ [ update = -x ]
+ SCRIPTNAME=flexqos
+ SCRIPTNAME_DISPLAY=FlexQoS
+ GIT_REPO=https://raw.githubusercontent.com/dave14305/FlexQoS
+ am_settings_get flexqos_branch
+ [ ! -f /jffs/addons/custom_settings.txt ]
+ grep -E ^flexqos_branch  /jffs/addons/custom_settings.txt
+ cut -f2- -d
+ [  != develop ]
+ GIT_BRANCH=master
+ GIT_URL=https://raw.githubusercontent.com/dave14305/FlexQoS/master
+ ADDON_DIR=/jffs/addons/flexqos
+ WEBUIPATH=/jffs/addons/flexqos/flexqos.asp
+ SCRIPTPATH=/jffs/addons/flexqos/flexqos.sh
+ nvram get ipv6_service
+ IPv6_enabled=disabled
+ am_settings_get flexqos_ver
+ [ ! -f /jffs/addons/custom_settings.txt ]
+ grep -E ^flexqos_ver  /jffs/addons/custom_settings.txt
+ cut -f2- -d
+ [ 1.0.6 != 1.0.6 ]
+ [ -e /usr/sbin/realtc ]
+ tc=tc
+ Net_mark_down=0x8009ffff
+ Work_mark_down=0x8006ffff
+ Gaming_mark_down=0x8008ffff
+ Others_mark_down=0x800affff
+ Web_mark_down=0x8018ffff
+ Streaming_mark_down=0x8004ffff
+ Downloads_mark_down=0x8003ffff
+ Learn_mark_down=0x803fffff
+ Net_mark_up=0x4009ffff
+ Work_mark_up=0x4006ffff
+ Gaming_mark_up=0x4008ffff
+ Others_mark_up=0x400affff
+ Web_mark_up=0x4018ffff
+ Streaming_mark_up=0x4004ffff
+ Downloads_mark_up=0x4003ffff
+ Learn_mark_up=0x403fffff
+ arg1=update
+ [ -z update ]
+ [ update = menu ]
+ get_wanif
+ prefixes=wan0_ wan1_
+ nvram get wans_mode
+ [ fo = lb ]
+ nvram get wan0_primary
+ primary=1
+ [ 1 = 1 ]
+ break
+ [ 1 = 1 ]
+ nvram get wan0_proto
+ proto=dhcp
+ [ dhcp = pppoe ]
+ [ dhcp = pptp ]
+ [ dhcp = l2tp ]
+ nvram get wan0_ifname
+ ifname=eth0
+ printf %s eth0
+ wan=eth0
+ update
+ scriptinfo
+ echo

+ Green FlexQoS v1.0.6 released 2020-11-23
+ printf -- \033[1;32m%s\033[0m\n FlexQoS v1.0.6 released 2020-11-23
FlexQoS v1.0.6 released 2020-11-23
+ [ master != master ]
+ echo

+ echo Checking for updates
Checking for updates
+ printf var verUpdateStatus = "%s";\n InProgress
+ compare_remote_version
+ curl -fsN --retry 3 --connect-timeout 3 https://raw.githubusercontent.com/dave14305/FlexQoS/master/flexqos.sh
+ /bin/grep ^version=
+ sed -e s/version=//
How about just this: curl -vN --retry 3 --connect-timeout 3 https://raw.githubusercontent.com/dave14305/FlexQoS/develop/flexqos.sh -o /dev/null

I suspect you can't reach Github from the router.
 
Wel that would appear to be the case. I can ping other sites through the router. Any suggestions?
Start with the basics from the router command line:
Code:
nslookup raw.githubusercontent.com
ping raw.githubusercontent.com
 
Start with the basics from the router command line:
Code:
nslookup raw.githubusercontent.com
ping raw.githubusercontent.com
Thank you for this. It revealed my a weird discrepancy with my LAN IP. It was set to (192.168.1.1) and my router thought it was (192.168.1.254). I set the router to 254 and reallocated my DHCP pool and that worked. My modem is set up in "semi bridge mode," and it doesn't seem to like the 192.168.1.1 address for the router.
 
Thank you for this. It revealed my a weird discrepancy with my LAN IP. It was set to (192.168.1.1) and my router thought it was (192.168.1.254). I set the router to 254 and reallocated my DHCP pool and that worked. My modem is set up in "semi bridge mode," and it doesn't seem to like the 192.168.1.1 address for the router.
Are you in dual NAT where the WAN IP happens to also be in the 192.168.1.* subnet (same as LAN subnet)?
 
Are you in dual NAT where the WAN IP happens to also be in the 192.168.1.* subnet (same as LAN subnet)?
No the WAN IP is a real external IP. The LAN IP of the router was set to 192.168.1.1 and was reachable via web and ssh using that IP. When I did the nslookup it said the "server" was 254. I changed the router IP through the Admin to 254 and was then able to ping successfully. Oddly, I could ping non-https addresses successfully, but not https. Now my router is 254 and all seems well. It's outside the DHCP range now, so I am hoping this is a solution without a cause :)

Code:
nslookup raw.githubusercontent.com
Server:    192.168.1.254
Address 1: 192.168.1.254 RT-AC1900P-9358.

Name:      raw.githubusercontent.com
Address 1: 151.101.4.133
 
No the WAN IP is a real external IP. The LAN IP of the router was set to 192.168.1.1 and was reachable via web and ssh using that IP. When I did the nslookup it said the "server" was 254. I changed the router IP through the Admin to 254 and was then able to ping successfully. Oddly, I could ping non-https addresses successfully, but not https. Now my router is 254 and all seems well. It's outside the DHCP range now, so I am hoping this is a solution without a cause :)

Code:
nslookup raw.githubusercontent.com
Server:    192.168.1.254
Address 1: 192.168.1.254 RT-AC1900P-9358.

Name:      raw.githubusercontent.com
Address 1: 151.101.4.133
Server would come from your WAN DNS settings. What are your WAN DNS settings? It may have been easier to change the DNS settings.
 
Is it possible to exclude an IP or IPrange from QoS?

I have a NAS and I want/need it to be completely excluded from QoS. I don't want it to be top priority, I simply want to exclude it from QoS. Must like how SpdMerlin does when performing a speedtest.

Thanks!
 
Is it possible to exclude an IP or IPrange from QoS?

I have a NAS and I want/need it to be completely excluded from QoS. I don't want it to be top priority, I simply want to exclude it from QoS. Must like how SpdMerlin does when performing a speedtest.

Thanks!
If this were possible, I would support the idea of an Exclusions table. or table for excluded devices.
 
I'm curious as to the "use case" of that. If you put it in the highest category it would take precedence over the other traffic or moving it lower would make it last. Would like to understand why in this case.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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