What's new

[Release] FreshJR Adaptive QOS (Improvements / Custom Rules / and Inner workings)

  • 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!

Status
Not open for further replies.
1) Get the devices currently assigned IP or assign it a static IP via the router

2) create a QOS rule so traffic dealing with the assigned IP or statically defined IP goes —> Streaming or NetControl

In the end you are creating a rule with only the localIP defined. (Local device means any device on your side of the router)


Thats what I did

In the FreshJR Mod page:

Local IP/CIDR: 192.168.2.38
Remote IP/CIDR: Empty
Protocol: Both
Local Port: Empty
Remote Port: Empty
Mark: Empty
Class: Streaming
 
Thats what I did

In the FreshJR Mod page:

Local IP/CIDR: 192.168.2.38
Remote IP/CIDR: Empty
Protocol: Both
Local Port: Empty
Remote Port: Empty
Mark: Empty
Class: Streaming

With that all traffic from .38 should be going to streaming.

If that’s not enough, put .38 traffic into net control.

(Net control will work better than assigning device priority, if you are wanting to assign .38 ultimate network priority)
 
With that all traffic from .38 should be going to streaming.

If that’s not enough, put .38 traffic into net control.

(Net control will work better than assigning device priority, if you are wanting to assign .38 ultimate network priority)



Still no difference, the PC (Game downloads + Office Updates) is taking over all the internet bandwidth...

Do i have to set the priorities as you mentioned:

VoIP
Gaming
Others
Web Surfing
Video and Audio Streaming
File Transfers

Because mine are different.
 
Still no difference, the PC (Game downloads + Office Updates) is taking over all the internet bandwidth...

Do i have to set the priorities as you mentioned:

VoIP
Gaming
Others
Web Surfing
Video and Audio Streaming
File Transfers

Because mine are different.

Do you have ipv6 enabled??

Your behavior shouldn’t be the case.

Which category are office updates + game downloads place in (as seen by the pie charts)
 
@fearz

could be pre-existing connection bug.

We will continue debugging after next script release.

If anything,

-turn off all devices
-turn off router
-turn on router
-wait 5 min
-turn on all devices

this should rule out pre-existing connection bug/glitch, (this bug is worked around next relase.)

--

I did notice whitelisted traffic prior to router restart, when viewed via teamviewer.
 
The Windows Update P2P was added in the very first Windows 10 release back in 2015. It can be set to be LAN only, or LAN + Internet (not sure how that works in that case).

It can also be set to limit the maximum amount of data it can transfer.

The current default is enabled for LAN, but disabled for Internet clients (if I remember correctly).
 
I uninstalled and re-installed and now its like that:


FreshJR QOS v8.8
Debug:

adaptive QOS: Undf Prio:
adaptive QOS: Undf FlowID:
adaptive QOS: Classes Present: 1
adaptive QOS: Down Band: 9216
adaptive QOS: Up Band : 973
adaptive QOS: ***********
adaptive QOS: Net = 1:10
adaptive QOS: VOIP = 1:13
adaptive QOS: Gaming = 1:15
adaptive QOS: Others = 1:16
adaptive QOS: Web = 1:11
adaptive QOS: Streaming = 1:12
adaptive QOS: Downloads = 1:14
adaptive QOS: Defaults = 1:17
adaptive QOS: ***********
adaptive QOS: Downrates -- 460, 921, 2764, 1843, 460, 1382, 921, 460
adaptive QOS: Downceils -- 9216, 9216, 9216, 9216, 9216, 9216, 9216, 9216
adaptive QOS: Downbursts -- , , , , , , ,
adaptive QOS: DownCbursts -- , , , , , , ,
adaptive QOS: ***********
adaptive QOS: Uprates -- 48, 97, 97, 194, 48, 145, 291, 48
adaptive QOS: Upciels -- 973, 973, 973, 973, 973, 973, 973, 973
adaptive QOS: Upbursts -- , , , , , , ,
adaptive QOS: UpCbursts -- , , , , , , ,


Is that correct?
Are you sure that you only have 9 Mbits/sec of download and less than 1 Mbit/sec of upload bandwidth from your ISP?
 
Hi Guys, I installed successfully this script and I am playing with it since then. Always from the Web Gui (AC68U).
And now I would like to execute the script from /jffs/scripts but from some reason I cannot do that. The message is


Code:
-sh: FreshJR_QOS: not found

But the script is there with the right attributes (I guess so). That is the script:

upload_2019-5-25_17-46-39.png


For instance the YazFi script works fine if I execute from /jffs/scripts, so no clue what is coming on. Any advice will be very appreciated.
 

Attachments

  • upload_2019-5-25_17-45-7.png
    upload_2019-5-25_17-45-7.png
    11.5 KB · Views: 396
Thanks for the script. I have it installed and I'm learning before I change anything.

I do have one suggestion. White text on a grey background is quite hard to read. maybe make the grey in the iptables rules and AppDB Redirection table darker, but not as dark as the background color.

Sorry if this has been asked, but does Apps analysis need to be on for adaptive QOS? Any downside to turning it off?
 
Hi Guys, I installed successfully this script and I am playing with it since then. Always from the Web Gui (AC68U).
And now I would like to execute the script from /jffs/scripts but from some reason I cannot do that. The message is


Code:
-sh: FreshJR_QOS: not found

But the script is there with the right attributes (I guess so). That is the script:

View attachment 17794

For instance the YazFi script works fine if I execute from /jffs/scripts, so no clue what is coming on. Any advice will be very appreciated.
How are you running the script? What command are you running and from which directory do you run it? I’ve seen similar odd behavior but don’t see it happening right now.

Another thing to keep in mind is that multiple aliases are created for invoking the script (type the command “alias” to see what I mean). In theory, entering FreshJR_QOS from anywhere should invoke the script properly.
 
Hi Guys, I installed successfully this script and I am playing with it since then. Always from the Web Gui (AC68U).
And now I would like to execute the script from /jffs/scripts but from some reason I cannot do that. The message is


Code:
-sh: FreshJR_QOS: not found

But the script is there with the right attributes (I guess so). That is the script:

View attachment 17794

For instance the YazFi script works fine if I execute from /jffs/scripts, so no clue what is coming on. Any advice will be very appreciated.

Have you tried:

Code:
/jffs/scripts/FreshJR_QOS -menu
 
Here is what it looks now:

reshJR QOS v8.8
Debug:

adaptive QOS: Undf Prio: 2
adaptive QOS: Undf FlowID: 1:16
adaptive QOS: Classes Present: 8
adaptive QOS: Down Band: 9216
adaptive QOS: Up Band : 973
adaptive QOS: ***********
adaptive QOS: Net = 1:10
adaptive QOS: VOIP = 1:13
adaptive QOS: Gaming = 1:15
adaptive QOS: Others = 1:16
adaptive QOS: Web = 1:11
adaptive QOS: Streaming = 1:12
adaptive QOS: Downloads = 1:14
adaptive QOS: Defaults = 1:17
adaptive QOS: ***********
adaptive QOS: Downrates -- 460, 921, 2764, 1843, 460, 1382, 921, 460
adaptive QOS: Downceils -- 9216, 9216, 9216, 9216, 9216, 9216, 9216, 9216
adaptive QOS: Downbursts -- 3198b, 3198b, 3198b, 3198b, 3198b, 3198b, 3198b, 3198b
adaptive QOS: DownCbursts -- 11197b, 11197b, 11197b, 11197b, 11197b, 11197b, 11197b, 11197b
adaptive QOS: ***********
adaptive QOS: Uprates -- 48, 97, 97, 194, 48, 145, 291, 48
adaptive QOS: Upciels -- 973, 973, 973, 973, 973, 973, 973, 973
adaptive QOS: Upbursts -- 3198b, 3198b, 3198b, 3198b, 3199b, 3198b, 3199b, 3199b
adaptive QOS: UpCbursts -- 3198b, 3198b, 3

How did you get Undf FLOWID to change to 1:16 from 1:17? No matter what i do it always stays at 1:17, which i guess means it is not working?
 
here is what my debug looks like. any help is greatly appreciated

adaptive QOS: Undf Prio: 2
adaptive QOS: Undf FlowID: 1:17
adaptive QOS: Classes Present: 8
adaptive QOS: Down Band: 1228800
adaptive QOS: Up Band : 43008
adaptive QOS: ***********
adaptive QOS: Net = 1:10
adaptive QOS: VOIP = 1:11
adaptive QOS: Gaming = 1:12
adaptive QOS: Others = 1:13
adaptive QOS: Web = 1:14
adaptive QOS: Streaming = 1:15
adaptive QOS: Downloads = 1:16
adaptive QOS: Defaults = 1:17
adaptive QOS: ***********
adaptive QOS: Downrates -- 61440, 245760, 184320, 122880, 122880, 368640, 61440, 61440
adaptive QOS: Downceils -- 1228800, 1228800, 1228800, 1228800, 1228800, 1228800, 1228800, 1228800
adaptive QOS: Downbursts -- 75Kb, 300Kb, 150Kb, 75Kb, 60788b, 44794b, 30394b, 14398b
adaptive QOS: DownCbursts -- 1249382b, 1249382b, 1249382b, 1249382b, 1249382b, 1249382b, 1249382b, 1249382b
adaptive QOS: ***********
adaptive QOS: Uprates -- 2150, 8601, 6451, 12902, 4300, 4300, 2150, 2150
adaptive QOS: Upciels -- 43008, 43008, 43008, 43008, 43008, 43008, 43008, 43008
adaptive QOS: Upbursts -- 3199b, 9598b, 4799b, 3199b, 3199b, 3199b, 3199b, 3199b
adaptive QOS: UpCbursts -- 52792b, 52792b, 52792b, 52792b, 52792b, 52792b, 52792b, 52792b
 
Someone really needs to make a YT video on how to do this.

I have been reading through the thread and it seems very interesting, I am kinda scared to try this since I really do not know how to code and use putty, etc,etc. I use to use the RT-3100 and I recently upgraded to the Rt-AX88U. I have had no real issues with other then trying to do a hard reset after a new Merlin FW upgrade, thats another story.

Anyways I have At&t fiber and have been using the dump switch method for a few months now, with no issues. I do not use this router for what you pro's use it for, I use it for basic home use, web surfing, streaming, gaming, thats it. No Nas, torrents or anything like that.

We are a house of gamers so we have 3 to 4 ps4's running at the same time.

So I am wondering if I try this will it really help us out with our gaming here in the house hold.

When I had my RT-3100 I always used QOS bandwidth limiter and it worked great for us, I would give each ps4 20 down 10 up, and man it would cut the lag out and also give all of us good ping.

On this new Rt-Ax88u I am not able use the Bandwidth Limiter because it cuts my speeds in half, Mr. Merlin all ready explained this to me, something about ASUS and being a new product.

So wondering what your pro's advice would be.

Thanks in advance.
 
Last edited:
Someone really needs to make a YT video on how to do this.

I have been reading through the thread and it seems very interesting, I am kinda scared to try this since I really do not know how to code and use putty, etc,etc. I use to use the RT-3100 and I recently upgraded to the Rt-AX88U. I have had no real issues with other then trying to do a hard reset after a new Merlin FW upgrade, thats another story.

Anyways I have At&t fiber and have been using the dump switch method for a few months now, with no issues. I do not use this router for what you pro's use it for, I use it for basic home use, web surfing, streaming, gaming, thats it. No Nas, torrents or anything like that.

We are a house of gamers so we have 3 to 4 ps4's running at the same time.

So I am wondering if I try this will it really help us out with our gaming here in the house hold.

When I had my RT-3100 I always used QOS bandwidth limiter and it worked great for us, I would give each ps4 20 down 10 up, and man it would cut the lag out and also give all of us good ping.

On this new Rt-Ax88u I am not able use the Bandwidth Limiter because it cuts my speeds in half, Mr. Merlin all ready explained this to me, something about ASUS and being a new product.

So wondering what your pro's advice would be.

Thanks in advance.
What steps are you having trouble with? The first piece of steps I would recommend is getting the devices with similar task (such as the PS4s/gaming devices) closer with their IPs using a static IP. That will make it easier to do the rules using a CDIR calculator. For example....My video devices are set to use .127-.129 (only need 3 there). I then put in the FreshQOS classifcation tab 192.168.2.127/32 and 192.168.2.128/31 on two separate lines to force them into Streaming category. (192.168.2.127/32 & 192.168.2.128/31 based on https://www.ipaddressguide.com/cidr using the IP to CDIR range section). Then change the QOS categories (Customize section under QOS tab) to match the order I prefer them. In my case VOIP is first then Video. If you prefer gaming then set that rule higher by dragging and dropping it.
 
Last edited:
Thanks for that advice, Will be trying to do this tomorrow, a lot to learn and try to understand. I have Vexia who is on here and he said he will try to help me out if I have any issues.

Thanks again.
 
Have you tried:

Code:
/jffs/scripts/FreshJR_QOS -menu

Yes, I tried with all path and I tried execute the script from the scripts folder. Very strange since other scripts works fine...
 
How are you running the script? What command are you running and from which directory do you run it? I’ve seen similar odd behavior but don’t see it happening right now.

Another thing to keep in mind is that multiple aliases are created for invoking the script (type the command “alias” to see what I mean). In theory, entering FreshJR_QOS from anywhere should invoke the script properly.

I am using SuperPuTTY. I just write down the script name in the script directory but the system says that does not exist..

The alias output is as follow:
Code:
mc='mc -c'
l='ls -lFA'
js='cd /jffs/scripts'
logdir='cd /opt/var/log'
jc='cd /jffs/configs'
fwmarkstats='iptables -nvL PREROUTING -t mangle --line'
ll='ls -lF'

Seems to me ok.
 
Status
Not open for further replies.

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