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.
A general question to the forum at large - what's the right way to fork and rename but still give credit to the original author who did the hard work without looking like a weasel? I didn't intend to rename it at all, but I probably need to PM thelonelycoder to understand how different he prefers it for AMTM logic.

Ideas welcome. Anything from 1QoS (too short) to ASUSWRT-Merlin-QoS (too long).

I'm learning quickly that I enjoy the learning and the coding. Dealing with you all (i.e. users just like me) is less fun. :rolleyes:
Rename your fork or create a new fork in your repo. Give due credit and the date the fork and further improvements was made in the Readme.md and the files.
As for the name, make it memorable and follow the KISS rule. My suggestion: Bandwidth and the longer version being: Bandwidth - Adaptive QoS improvements
 
Rename your fork or create a new fork in your repo. Give due credit and the date the fork and further improvements was made in the Readme.md and the files.
As for the name, make it memorable and follow the KISS rule. My suggestion: Bandwidth and the longer version being: Bandwidth - Adaptive QoS improvements
I was thinking along the lines of @Jack Yaz style, QoS_Merlin
 
@dave14305 testing your fork DQOS, Thanks for doing it :)
right on DQOS is simple.. well end up getting lazy n callin is DQ for short.. make me want an icecream :) Ive cleared freshes version for testing.. left only the https/gaming and unidentified. rest im using the web ui. seems to work quite well that way; the web ui is the best :)
 
right on DQOS is simple.. well end up getting lazy n callin is DQ for short.. make me want an icecream :) Ive cleared freshes version for testing.. left only the https/gaming and unidentified. rest im using the web ui. seems to work quite well that way; the web ui is the best :)
first time of trying qos and this script, so its a good learning exercise
 
So, as i don't want to touch trendmicro with a bargepole, do i use traditional qos and do i have to calculate 85% of upload\download of speedtest result and as i use ppoe vdsl is ATM setting needing checked?
 
Won't work with Traditional QoS afaik. If you don't want to touch TrendMicro with a bargepole, you need to ignore this script.
 
@dave14305
I've been experiencing a certain problem for freshjr and your latest masterpiece as well, don't know if it's related to script or not but i know you certainly can help

Whenever i restart my router , it makes a normal understanding of applying qos after 5 min delay, and replies after 5 minutes that no modifications are necessary, also good to mention that it initially cancels and than apply again for 5 minutes and after 5 minutes, it logs as no modification necessary, all my clients show full bandwidth as no qos is applied, so to counter this problem, I've to manually apply settings again in qos gui page after every reboot, i can replicate the issue thousand times :(

Here's my log
Jun 6 23:58:19 avahi-daemon[3838]: Loading new alias name RT-AC88U.
Jun 6 23:58:19 avahi-daemon[3838]: Joining mDNS multicast group on interface br0.IPv4 with address 192.168.0.2.
Jun 6 23:58:19 avahi-daemon[3838]: New relevant interface br0.IPv4 for mDNS.
Jun 6 23:58:19 avahi-daemon[3838]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.1.1.
Jun 6 23:58:19 avahi-daemon[3838]: New relevant interface lo.IPv4 for mDNS.
Jun 6 23:58:19 avahi-daemon[3838]: Network interface enumeration completed.
Jun 6 23:58:19 avahi-daemon[3838]: Registering new address record for 192.168.0.2 on br0.IPv4.
Jun 6 23:58:19 avahi-daemon[3838]: Registering new address record for 192.168.0.1 on br0.IPv4.
Jun 6 23:58:19 avahi-daemon[3838]: Registering new address record for 127.0.1.1 on lo.IPv4.
Jun 6 23:58:19 avahi-daemon[3838]: Registering new address record for 127.0.0.1 on lo.IPv4.
Jun 6 23:58:19 A.QoS: qos rule is less than 22
Jun 6 23:58:19 A.QoS: restart A.QoS because set_qos_conf / set_qos_on / setup rule fail
Jun 6 23:58:20 avahi-daemon[3838]: Server startup complete. Host name is RT-AC88U-5940.local. Local service cookie is 1078764329.
Jun 6 23:58:20 avahi-daemon[3838]: Alias name "RT-AC88U" successfully established.
Jun 6 23:58:20 A.QoS: qos_count=2, qos_check=1
Jun 6 23:58:21 Samba_Server: daemon is started
Jun 6 23:58:21 wsdd2[3988]: starting.
Jun 6 23:58:22 miniupnpd[3993]: HTTP listening on port 36819
Jun 6 23:58:22 miniupnpd[3993]: Listening for NAT-PMP/PCP traffic on port 5351
Jun 6 23:58:24 A.QoS: qos rule is less than 22
Jun 6 23:58:24 A.QoS: restart A.QoS because set_qos_conf / set_qos_on / setup rule fail
Jun 6 23:58:25 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Jun 6 23:58:25 custom_script: Running /jffs/scripts/nat-start
Jun 6 23:58:26 Skynet: [*] Lock File Detected (start skynetloc=/tmp/mnt/HDD/skynet) (pid=744) - Exiting (cpid=4119)
Jun 6 23:58:29 adaptive QOS: Delayed Start Canceled
Jun 6 23:58:30 adaptive QOS: Applying - Iptable Down Rules
Jun 6 23:58:31 adaptive QOS: Applying - Iptable Up Rules (ppp0)
Jun 6 23:58:31 adaptive QOS: TC Modification Delayed Start (5min)
Jun 7 00:00:00 (unbound_rpz.sh): 6653 Attempting to Download 1 of 1 from https://urlhaus.abuse.ch/downloads/rpz/.
Jun 7 00:00:00 Skynet: [*] Lock File Detected (start skynetloc=/tmp/mnt/HDD/skynet) (pid=744) - Exiting (cpid=6656)
Jun 7 00:00:01 Skynet: Mounting Skynet Web Page As user3.asp
Jun 7 00:00:02 (unbound_rpz.sh): 6653 Reload unbound for zone named rpz.urlhaus.abuse.ch
Jun 7 00:00:04 Skynet: [#] 293495 IPs (+0) -- 1547 Ranges Banned (+0) || 0 Inbound -- 0 Outbound Connections Blocked! [start] [146s]
Jun 7 00:00:05 adaptive QOS: Delayed Start Canceled
Jun 7 00:00:06 adaptive QOS: Applying - Iptable Down Rules
Jun 7 00:00:06 adaptive QOS: Applying - Iptable Up Rules (ppp0)
Jun 7 00:00:06 adaptive QOS: TC Modification Delayed Start (5min)

Jun 7 00:05:07 adaptive QOS: No modifications necessary


Please help!!!
 
something is wrong cuz after a restart it NEEDS to apply changes for the script to be active. Ar eyou using adaptive qos or traditional? freshjr soon to be DQos only works with adaptive qos.

@dave14305
I've been experiencing a certain problem for freshjr and your latest masterpiece as well, don't know if it's related to script or not but i know you certainly can help

Whenever i restart my router , it makes a normal understanding of applying qos after 5 min delay, and replies after 5 minutes that no modifications are necessary, also good to mention that it initially cancels and than apply again for 5 minutes and after 5 minutes, it logs as no modification necessary, all my clients show full bandwidth as no qos is applied, so to counter this problem, I've to manually apply settings again in qos gui page after every reboot, i can replicate the issue thousand times :(

Here's my log
Jun 6 23:58:19 avahi-daemon[3838]: Loading new alias name RT-AC88U.
Jun 6 23:58:19 avahi-daemon[3838]: Joining mDNS multicast group on interface br0.IPv4 with address 192.168.0.2.
Jun 6 23:58:19 avahi-daemon[3838]: New relevant interface br0.IPv4 for mDNS.
Jun 6 23:58:19 avahi-daemon[3838]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.1.1.
Jun 6 23:58:19 avahi-daemon[3838]: New relevant interface lo.IPv4 for mDNS.
Jun 6 23:58:19 avahi-daemon[3838]: Network interface enumeration completed.
Jun 6 23:58:19 avahi-daemon[3838]: Registering new address record for 192.168.0.2 on br0.IPv4.
Jun 6 23:58:19 avahi-daemon[3838]: Registering new address record for 192.168.0.1 on br0.IPv4.
Jun 6 23:58:19 avahi-daemon[3838]: Registering new address record for 127.0.1.1 on lo.IPv4.
Jun 6 23:58:19 avahi-daemon[3838]: Registering new address record for 127.0.0.1 on lo.IPv4.
Jun 6 23:58:19 A.QoS: qos rule is less than 22
Jun 6 23:58:19 A.QoS: restart A.QoS because set_qos_conf / set_qos_on / setup rule fail
Jun 6 23:58:20 avahi-daemon[3838]: Server startup complete. Host name is RT-AC88U-5940.local. Local service cookie is 1078764329.
Jun 6 23:58:20 avahi-daemon[3838]: Alias name "RT-AC88U" successfully established.
Jun 6 23:58:20 A.QoS: qos_count=2, qos_check=1
Jun 6 23:58:21 Samba_Server: daemon is started
Jun 6 23:58:21 wsdd2[3988]: starting.
Jun 6 23:58:22 miniupnpd[3993]: HTTP listening on port 36819
Jun 6 23:58:22 miniupnpd[3993]: Listening for NAT-PMP/PCP traffic on port 5351
Jun 6 23:58:24 A.QoS: qos rule is less than 22
Jun 6 23:58:24 A.QoS: restart A.QoS because set_qos_conf / set_qos_on / setup rule fail
Jun 6 23:58:25 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Jun 6 23:58:25 custom_script: Running /jffs/scripts/nat-start
Jun 6 23:58:26 Skynet: [*] Lock File Detected (start skynetloc=/tmp/mnt/HDD/skynet) (pid=744) - Exiting (cpid=4119)
Jun 6 23:58:29 adaptive QOS: Delayed Start Canceled
Jun 6 23:58:30 adaptive QOS: Applying - Iptable Down Rules
Jun 6 23:58:31 adaptive QOS: Applying - Iptable Up Rules (ppp0)
Jun 6 23:58:31 adaptive QOS: TC Modification Delayed Start (5min)
Jun 7 00:00:00 (unbound_rpz.sh): 6653 Attempting to Download 1 of 1 from https://urlhaus.abuse.ch/downloads/rpz/.
Jun 7 00:00:00 Skynet: [*] Lock File Detected (start skynetloc=/tmp/mnt/HDD/skynet) (pid=744) - Exiting (cpid=6656)
Jun 7 00:00:01 Skynet: Mounting Skynet Web Page As user3.asp
Jun 7 00:00:02 (unbound_rpz.sh): 6653 Reload unbound for zone named rpz.urlhaus.abuse.ch
Jun 7 00:00:04 Skynet: [#] 293495 IPs (+0) -- 1547 Ranges Banned (+0) || 0 Inbound -- 0 Outbound Connections Blocked! [start] [146s]
Jun 7 00:00:05 adaptive QOS: Delayed Start Canceled
Jun 7 00:00:06 adaptive QOS: Applying - Iptable Down Rules
Jun 7 00:00:06 adaptive QOS: Applying - Iptable Up Rules (ppp0)
Jun 7 00:00:06 adaptive QOS: TC Modification Delayed Start (5min)

Jun 7 00:05:07 adaptive QOS: No modifications necessary

Please help!!!
 
Which firmware version now? If you’re still on 17, how did you install the script (what commands?).
I'm on 17 and i just installed it with your given command
Code:
curl "https://raw.githubusercontent.com/dave14305/FreshJR_QOS/develop/FreshJR_QOS.sh" -o /jffs/scripts/FreshJR_QOS --create-dirs && curl "https://raw.githubusercontent.com/dave14305/FreshJR_QOS/develop/FreshJR_QoS_Stats.asp" -o /jffs/scripts/www_FreshJR_QoS_Stats.asp && sh /jffs/scripts/FreshJR_QOS -install
Though before installing, i uninstalled freshjr before installing yours and it installed absolutely fine on 17

I had this described issue with freshjr script as well, as not starting itself after reboot, please see my logs
 
Hey im lost here

Where is Daves new script? And what are the steps to remove freshjrs and install daves?


Sent from my iPhone using Tapatalk Pro
 
something is wrong cuz after a restart it NEEDS to apply changes for the script to be active. Ar eyou using adaptive qos or traditional? freshjr soon to be DQos only works with adaptive qos.
I'm issuing adaptive QOS and secondly my guess is that issue might be due to other scripts, I'm using skynet, unbound @Martineau , ntpmerlin, spdmerlin etc

I'm not highly technical so can't be sure about solution as well :(
 
Last edited:
Status
Not open for further replies.

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!

Staff online

Top