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.
Ok so I removed FreshJR_QOS and tested Asus QOS on its own, (adaptive) it doesn't show any signs of life on the classification page after a reboot. The results of this command are at this point:
Code:
 iptables -v -L POSTROUTING -t mangle
Chain POSTROUTING (policy ACCEPT 14924 packets, 6383K bytes)
 pkts bytes target     prot opt in     out     source               destination
After the above terminal capture I hit the apply button on the QOS page and waited for graphs and checked a few downloads and streams for classification. It classifies traffic wrong but works and loads graphs. The results of this command are as follows:
Code:
 iptables -v -L POSTROUTING -t mangle
Chain POSTROUTING (policy ACCEPT 21028 packets, 16M bytes)
 pkts bytes target     prot opt in     out     source               destination
NOTE: The above results are with FreshJR_QOS uninstalled.
 
Ok so I removed FreshJR_QOS and tested Asus QOS on its own, (adaptive) it doesn't show any signs of life on the classification page after a reboot. The results of this command are at this point:
Code:
 iptables -v -L POSTROUTING -t mangle
Chain POSTROUTING (policy ACCEPT 14924 packets, 6383K bytes)
 pkts bytes target     prot opt in     out     source               destination
After the above terminal capture I hit the apply button on the QOS page and waited for graphs and checked a few downloads and streams for classification. It classifies traffic wrong but works and loads graphs. The results of this command are as follows:
Code:
 iptables -v -L POSTROUTING -t mangle
Chain POSTROUTING (policy ACCEPT 21028 packets, 16M bytes)
 pkts bytes target     prot opt in     out     source               destination
NOTE: The above results are with FreshJR_QOS uninstalled.

This is where I would be testing after a full NVRAM erase cycle, jffs erase on next boot, and a full reset to factory defaults, with possibly even re-flashing the same version with another reset to factory defaults and making sure the box to 'initialize all settings...' is also checked. ;)
 
This is where I would be testing after a full NVRAM erase cycle, jffs erase on next boot, and a full reset to factory defaults, with possibly even re-flashing the same version with another reset to factory defaults and making sure the box to 'initialize all settings...' is also checked. ;)
Been there done that!! ;):) My router stays in a minimal config role at this point. This alpha is a bit of trouble.
 
Been there done that!! ;):) My router stays in a minimal config role at this point. This alpha is a bit of trouble.

My question then, respectfully, was this done this time too? After 'any' tinkering, I don't consider a router at base install anymore. Even if I just enable and then disable a service, option or install/remove a script. :)
 
My question then, respectfully, was this done this time too? After 'any' tinkering, I don't consider a router at base install anymore. Even if I just enable and then disable a service, option or install/remove a script. :)
When I see an issue, I reset to defaults no scripts. I input static ip and dns. I load the problem service with no other added config, even ssh is left disabled. In this case just adaptive qos without the FreshJR_QOS script. I posted the results asked for after waiting an hour, for each result. Rebooted the router no QOS. Waited an hour, hit the apply button, waited an hour and so on. I can appreciate and understand you're being thorough. @L&LD
 
Offtopic but why do you need to hide a private IP range lol? it's only accessible from inside your network and if anyone can get inside your private network it doesn't matter if you hide it or not, a simple scan will show each and every connected device on it.
Then why do we use user names on this site? Why not share your real name? In your opinion that should be fine right? People need to have respect for anyone's privacy IMHO.
 
Then why do we use user names on this site? Why not share your real name? In your opinion that should be fine right. People need to have respect for anyone's privacy IMHO.

Totally useless argument and not related to my original offtopic in anyway but let's not push it any further, its a free world and you're entitled to do whatever you want.

P.S My username is my real name. [emoji14]
 
Totally useless argument and not related to my original offtopic in anyway but let's not push it any further, its a free world and you're entitled to do whatever you want.

P.S My username is my real name. [emoji14]
I still don't know you well enough....end of train of thought. No offence. Cheers!
 
I still don't know you well enough....end of train of thought. No offence. Cheers!

That's exactly my point.

192.168.x.x is a private IP range used my millions of people in the world so it doesn't matter if we saw the complete IP or not.

In your analogy my name is shared by millions others so it doesn't matter if others get to know about it, it's useless for them until they don't know me well enough to actually spoil that.

Anyways we're going way offtopic here and that's not this thread is designed for so yep Cheers and I apologise as well for my harsh comment.
 
If that iptables section was empty. It means firewall-start never got triggered. Try confirming this by watching system log.

If it did get triggered that means iptables is getting RESET after firewall-start.

That behavior is not an issue with the script. I doubt RMerlin will release it in that state. You are running an alpha firmware.

Just wait for regular releases.
 
If that iptables section was empty. It means firewall-start never got triggered. Try confirming this by watching system log.

If it did get triggered that means iptables got RESET after firewall-start.

That not an issue with the script and I doubt RMerlin will release it in that state.

Just wait for regular releases.
Gotcha thanks FreshJR, thanks for tracking that down.
 
Morning JR.
Had an interesting one yesterday...maybe you could share you opinion on this?

Really struggling yesterday with weekend league on fifa.
Tried the usual stuff like change dns in the router....wait for the speedup lag to go then restart the game.
Worked int he morning but gradually got worse as the day went by.

So though id try your qos...i had it loaded but doesnt normally make any difference but left in on the router none the less for if i ever needed it.
Now my connection is 100MBs symmetrical.
Ive tried this trick before where i lower the bandwidths to small levels ...in this case went 5 and 5MBs.
Then gameplay became equal.

What possibly went on here?
My network doesnt have any traffic on it when im playing.....
 
Is there a way to check if the script is working on stock firmware?
This is what I currently get:
Code:
admin@RT-AC86U:/tmp/home/root# /jffs/scripts/FreshJR_QOS -debug
-sh: /jffs/scripts/FreshJR_QOS: Permission denied
 
Is there a way to check if the script is working on stock firmware?
This is what I currently get:
Code:
admin@RT-AC86U:/tmp/home/root# /jffs/scripts/FreshJR_QOS -debug
-sh: /jffs/scripts/FreshJR_QOS: Permission denied

Read the second post:

Alternative (Manual) Install:

Spoiler: For users on Stock / Default / Unmodified firmware
For a manual install you will have to download the script files onto your computer.


Windows - Manual Install
Windows users will also need download putty and pscp and place those executables into the folder containing the script files.

The folder should look like this

Code:
C:\FreshJR_QOS\FreshJR_QOS.sh
C:\FreshJR_QOS\FreshJR_QoS_Stats.asp
C:\FreshJR_QOS\Manual Install - Windows - FreshJR QOS.bat
C:\FreshJR_QOS\putty.exe
C:\FreshJR_QOS\pscp.exe
Once it does, you can simply open the "Manual Install" file and follow the instructions

Mac - Manual Install
Simply run "Manual Install" file within the extracted script files folder.

Linux - Manual Install
General procedure for a manual install using the terminal
Code:
ssh admin@192.168.1.1
mkdir /jffs/scripts/
exit

scp /source_directory/FreshJR_QOS.sh admin@192.168.1.1:/jffs/scripts/FreshJR_QOS
scp /source_directory/FreshJR_QoS_Stats.asp admin@192.168.1.1:/jffs/scripts/www_FreshJR_QoS_Stats.asp


ssh admin@192.168.1.1
dos2unix /jffs/scripts/FreshJR_QOS
sh /jffs/scripts/FreshJR_QOS -install
exit

Mote: User specific parameters used in the commands above have to be modified
- username (admin) and IP (192.168.1.1) have to be changed to match those of your router.
- the source directory be changed to point to where you have downloaded the files





Sent from my iPhone using Tapatalk
 
Read the second post:

Alternative (Manual) Install:

Spoiler: For users on Stock / Default / Unmodified firmware
For a manual install you will have to download the script files onto your computer.


Windows - Manual Install
Windows users will also need download putty and pscp and place those executables into the folder containing the script files.

The folder should look like this

Code:
C:\FreshJR_QOS\FreshJR_QOS.sh
C:\FreshJR_QOS\FreshJR_QoS_Stats.asp
C:\FreshJR_QOS\Manual Install - Windows - FreshJR QOS.bat
C:\FreshJR_QOS\putty.exe
C:\FreshJR_QOS\pscp.exe
Once it does, you can simply open the "Manual Install" file and follow the instructions

Mac - Manual Install
Simply run "Manual Install" file within the extracted script files folder.

Linux - Manual Install
General procedure for a manual install using the terminal
Code:
ssh admin@192.168.1.1
mkdir /jffs/scripts/
exit

scp /source_directory/FreshJR_QOS.sh admin@192.168.1.1:/jffs/scripts/FreshJR_QOS
scp /source_directory/FreshJR_QoS_Stats.asp admin@192.168.1.1:/jffs/scripts/www_FreshJR_QoS_Stats.asp


ssh admin@192.168.1.1
dos2unix /jffs/scripts/FreshJR_QOS
sh /jffs/scripts/FreshJR_QOS -install
exit

Mote: User specific parameters used in the commands above have to be modified
- username (admin) and IP (192.168.1.1) have to be changed to match those of your router.
- the source directory be changed to point to where you have downloaded the files





Sent from my iPhone using Tapatalk
Sorry, I'm not seeing it. (I know how to install, just want to see if I can check if all is working.)
 
Sorry, I'm not seeing it. (I know how to install, just want to see if I can check if all is working.)

Spoiler: AsusWRT Users:
Script modifications get reset when WebUI changes are made (normal behavior).
For AsusWRT users it is not possible to trigger the script after WebUI changes.
As a workaround, the script is triggered on usb/thumb/flashdrive mount.

If using Stock / Default / Unmodified AsusWRT, you will have to leave a flash drive attached to the router 24/7.

After making WebUI changes, the script will remain off until it’s daily check at 3:30AM or until system reboot




Sent from my iPhone using Tapatalk
 
Sorry, I'm not seeing it. (I know how to install, just want to see if I can check if all is working.)

Are your QOS screens looking different after install when compared to those of stock firmware? Sorry, I don’t use stock.


Sent from my iPhone using Tapatalk
 
Is there a way to check if the script is working on stock firmware?
This is what I currently get:
Code:
admin@RT-AC86U:/tmp/home/root# /jffs/scripts/FreshJR_QOS -debug
-sh: /jffs/scripts/FreshJR_QOS: Permission denied
Code:
chmod u+x /jffs/scripts/FreshJR_QOS
/jffs/scripts/FreshJR_QOS -debug
Or
Code:
sh /jffs/scripts/FreshJR_QOS -debug
 
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