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.
Yes on you PS4 or on the router just change the i.p. address to 192.168.1.4 and if you have other consoles change to 192.168.1.5 and so on it's from 192.168.1.4 to 192.168.1.7 only those 4 are are for gaming

Can i change the range somehow? My network is on 192.168.2.1XX can i change the 192.168.1.4 for 192.168.2.104 and also i have a total of 7 gaming system how can i put more?

thanks for your help
 
Can i change the range somehow? My network is on 192.168.2.1XX can i change the 192.168.1.4 for 192.168.2.104 and also i have a total of 7 gaming system how can i put more?

thanks for your help
Yes you can just google cidr caculator type the i.p. address that you want and get the range you want I have every console from Atari to now but I don't use that much for online play do you really need that much

Typing in 192.168.1.4/30 the calculator shows that it includes the iprange 192.168.1.4 - 192.168.1.7

Hope that helps you Fresh explained to me but it is not that easy to comprehend for some like me
 
Yes you can just google cidr caculator type the i.p. address that you want and get the range you want I have every console from Atari to now but I don't use that much for online play do you really need that much




Typing in 192.168.1.4/30 the calculator shows that it includes the iprange 192.168.1.4 - 192.168.1.7

Hope that helps you Fresh explained to me but it is not that easy to comprehend for some like me


For 7 i need to put /29 instead of /30 will that work
 
From my experience it is the best Qos setup i've used Fresh really took his time
I'm enjoying gaming on it I've tried uncharted, battlefront 2, titanfall 2 and pub g they all work great except for pubg because it is a $h#t show don't know what all the hype is about with that game
 
Wondering if anyone can help. I'm trying to simply get my Macbook Pro (Wifi) with the absolute highest priority regardless of traffic. I read earlier about a HomePod being setup this way but I just can't get the script to work and classify this traffic correctly.

I'm running the RT-AC86U with the latest version of Merlin and FreshJR.

Steps I've taken:
- Assigned manual up to the Mac: 192.168.0.11
- Set it as highest priority and the top of the list in Adaptive QoS
- Set VOIP in custom rules to the top of the list
- Set manual up and download speeds in QoS (for some reason upload does not seem to be controlled by QoS. Speeds are always max).
- Added FreshJR's script including a custom upload and download rules for the Mac.

Script with added rules (latest version beta 4): https://gist.github.com/Skowt/d713955bf4722bf20e570975bf0424ed#file-gistfile1-txt-L67

Logs (Set to debug and log all):
I noticed that the logs never show the entries in the script (e.g. logger "Adaptive QOS: Applying Custom Upload Rules"). I'm not sure if that's purposeful or if it's hinting that the script isn't running correctly.
Code:
Feb 18 11:05:30 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:06:24 rc_service: httpd 783:notify_rc restart_qos;restart_firewall
Feb 18 11:06:30 miniupnpd[1015]: shutting down MiniUPnPd
Feb 18 11:06:30 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:06:30 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:06:30 miniupnpd[2839]: HTTP listening on port 41076
Feb 18 11:06:30 miniupnpd[2839]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:06:30 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:06:30 miniupnpd[2839]: shutting down MiniUPnPd
Feb 18 11:06:30 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:06:30 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:06:30 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:06:30 miniupnpd[2981]: HTTP listening on port 48786
Feb 18 11:06:30 miniupnpd[2981]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:06:30 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:06:30 miniupnpd[2981]: shutting down MiniUPnPd
Feb 18 11:06:30 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:06:30 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:06:30 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:06:30 miniupnpd[3100]: HTTP listening on port 57944
Feb 18 11:06:30 miniupnpd[3100]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:06:30 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:06:30 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:07:52 kernel: htb: htb qdisc 14: is non-work-conserving?
Feb 18 11:08:02 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:08:02 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:08:05 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 10 mbps full duplex
Feb 18 11:08:05 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:08:05 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:08:07 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:08:09 kernel: br0: topology change detected, propagating
Feb 18 11:08:09 kernel: br0: port 3(eth3) entered forwarding state
Feb 18 11:08:24 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:08:24 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:08:27 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 1000 mbps full duplex
Feb 18 11:08:27 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:08:27 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:08:29 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:08:31 kernel: br0: topology change detected, propagating
Feb 18 11:08:31 kernel: br0: port 3(eth3) entered forwarding state
Feb 18 11:10:45 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:10:45 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:10:49 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 10 mbps full duplex
Feb 18 11:10:49 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:10:49 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:10:51 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:10:53 kernel: br0: topology change detected, propagating
Feb 18 11:10:53 kernel: br0: port 3(eth3) entered forwarding state
Feb 18 11:10:56 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:10:56 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:10:58 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 1000 mbps full duplex
Feb 18 11:10:58 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:10:58 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:00 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:11:02 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:11:02 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:11:05 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 1000 mbps full duplex
Feb 18 11:11:05 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:05 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:07 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:11:07 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:11:07 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:11:10 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 10 mbps full duplex
Feb 18 11:11:10 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:10 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:12 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:11:14 kernel: br0: topology change detected, propagating
Feb 18 11:11:14 kernel: br0: port 3(eth3) entered forwarding state
Feb 18 11:11:33 rc_service: httpd 783:notify_rc restart_qos;restart_firewall
Feb 18 11:11:34 kernel: Initialized Runner Unicast Layer
Feb 18 11:11:34 kernel: Initialized Runner Multicast Layer
Feb 18 11:11:34 kernel: ^[[0;36;44mBroadcom Packet Flow Cache HW acceleration enabled.^[[0m
Feb 18 11:11:34 kernel: Enabled Runner binding to Flow Cache
Feb 18 11:11:34 kernel: Initialized Runner Protocol Layer (800)
Feb 18 11:11:34 kernel: Broadcom Runner Blog Driver Char Driver v0.1 Registered <3009>
Feb 18 11:11:34 kernel: ^[[0;33;45mBroadcom Packet Flow Cache HW acceleration disabled.^[[0m
Feb 18 11:11:34 kernel: Disabled Runner binding to Flow Cache
Feb 18 11:11:37 miniupnpd[3100]: shutting down MiniUPnPd
Feb 18 11:11:37 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:11:37 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:11:37 miniupnpd[17592]: HTTP listening on port 45694
Feb 18 11:11:37 miniupnpd[17592]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:11:37 miniupnpd[17592]: shutting down MiniUPnPd
Feb 18 11:11:37 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:11:37 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:11:37 miniupnpd[17611]: HTTP listening on port 43384
Feb 18 11:11:37 miniupnpd[17611]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:11:37 miniupnpd[17611]: shutting down MiniUPnPd
Feb 18 11:11:37 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:11:37 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:11:37 miniupnpd[17632]: HTTP listening on port 54725
Feb 18 11:11:37 miniupnpd[17632]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:17:19 skowt: Adaptive QOS: FreshJR QOS FakeTC Installed
Feb 18 11:17:19 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:17:28 rc_service: httpd 783:notify_rc restart_qos;restart_firewall
Feb 18 11:17:34 miniupnpd[17632]: shutting down MiniUPnPd
Feb 18 11:17:34 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:17:34 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:17:34 miniupnpd[19635]: HTTP listening on port 43717
Feb 18 11:17:34 miniupnpd[19635]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:17:34 miniupnpd[19635]: shutting down MiniUPnPd
Feb 18 11:17:34 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:17:34 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:17:35 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:17:35 miniupnpd[19765]: HTTP listening on port 33190
Feb 18 11:17:35 miniupnpd[19765]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:17:35 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:17:35 miniupnpd[19765]: shutting down MiniUPnPd
Feb 18 11:17:35 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:17:35 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:17:35 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:17:35 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:17:35 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:17:35 miniupnpd[19890]: HTTP listening on port 57086
Feb 18 11:17:35 miniupnpd[19890]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:17:35 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:28:14 kernel: htb: htb qdisc 14: is non-work-conserving?
Feb 18 11:29:01 kernel: htb: htb qdisc 10: is non-work-conserving?

Issue is that even with reconnecting wifi, trying different downloads, my traffic for the Macbook is still showing as classified for Web Browsing and then downloading a file, it classified it as Net Control Packets.

Any help would be appreciated, thanks!
 
Last edited:
For consoles the i.p. range is 192.168.1.4 to 192.168.1.7 so make sure your console or pc that you game on is in the range you can just give it the fixed i.p. address on merlin hope this helps guys because Fresh is tired of explaining so this is pretty much setup for you which he helped me also because i did not know where to edit so you can thank him.



Tested since you put it, it goes very full thanks.
 
Wondering if anyone can help. I'm trying to simply get my Macbook Pro (Wifi) with the absolute highest priority regardless of traffic. I read earlier about a HomePod being setup this way but I just can't get the script to work and classify this traffic correctly.

I'm running the RT-AC86U with the latest version of Merlin and FreshJR.

Steps I've taken:
- Assigned manual up to the Mac: 192.168.0.11
- Set it as highest priority and the top of the list in Adaptive QoS
- Set VOIP in custom rules to the top of the list
- Set manual up and download speeds in QoS (for some reason upload does not seem to be controlled by QoS. Speeds are always max).
- Added FreshJR's script including a custom upload and download rules for the Mac.

Script with added rules (latest version beta 4): https://gist.github.com/Skowt/d713955bf4722bf20e570975bf0424ed#file-gistfile1-txt-L67

Logs (Set to debug and log all):
I noticed that the logs never show the entries in the script (e.g. logger "Adaptive QOS: Applying Custom Upload Rules"). I'm not sure if that's purposeful or if it's hinting that the script isn't running correctly.
Code:
Feb 18 11:05:30 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:06:24 rc_service: httpd 783:notify_rc restart_qos;restart_firewall
Feb 18 11:06:30 miniupnpd[1015]: shutting down MiniUPnPd
Feb 18 11:06:30 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:06:30 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:06:30 miniupnpd[2839]: HTTP listening on port 41076
Feb 18 11:06:30 miniupnpd[2839]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:06:30 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:06:30 miniupnpd[2839]: shutting down MiniUPnPd
Feb 18 11:06:30 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:06:30 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:06:30 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:06:30 miniupnpd[2981]: HTTP listening on port 48786
Feb 18 11:06:30 miniupnpd[2981]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:06:30 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:06:30 miniupnpd[2981]: shutting down MiniUPnPd
Feb 18 11:06:30 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:06:30 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:06:30 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:06:30 miniupnpd[3100]: HTTP listening on port 57944
Feb 18 11:06:30 miniupnpd[3100]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:06:30 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:06:30 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:07:52 kernel: htb: htb qdisc 14: is non-work-conserving?
Feb 18 11:08:02 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:08:02 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:08:05 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 10 mbps full duplex
Feb 18 11:08:05 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:08:05 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:08:07 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:08:09 kernel: br0: topology change detected, propagating
Feb 18 11:08:09 kernel: br0: port 3(eth3) entered forwarding state
Feb 18 11:08:24 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:08:24 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:08:27 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 1000 mbps full duplex
Feb 18 11:08:27 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:08:27 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:08:29 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:08:31 kernel: br0: topology change detected, propagating
Feb 18 11:08:31 kernel: br0: port 3(eth3) entered forwarding state
Feb 18 11:10:45 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:10:45 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:10:49 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 10 mbps full duplex
Feb 18 11:10:49 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:10:49 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:10:51 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:10:53 kernel: br0: topology change detected, propagating
Feb 18 11:10:53 kernel: br0: port 3(eth3) entered forwarding state
Feb 18 11:10:56 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:10:56 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:10:58 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 1000 mbps full duplex
Feb 18 11:10:58 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:10:58 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:00 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:11:02 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:11:02 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:11:05 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 1000 mbps full duplex
Feb 18 11:11:05 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:05 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:07 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:11:07 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link DOWN.
Feb 18 11:11:07 kernel: br0: port 3(eth3) entered disabled state
Feb 18 11:11:10 kernel: eth3 (Ext switch port: 2) (Logical Port: 10) Link UP 10 mbps full duplex
Feb 18 11:11:10 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:10 kernel: br0: port 3(eth3) entered listening state
Feb 18 11:11:12 kernel: br0: port 3(eth3) entered learning state
Feb 18 11:11:14 kernel: br0: topology change detected, propagating
Feb 18 11:11:14 kernel: br0: port 3(eth3) entered forwarding state
Feb 18 11:11:33 rc_service: httpd 783:notify_rc restart_qos;restart_firewall
Feb 18 11:11:34 kernel: Initialized Runner Unicast Layer
Feb 18 11:11:34 kernel: Initialized Runner Multicast Layer
Feb 18 11:11:34 kernel: ^[[0;36;44mBroadcom Packet Flow Cache HW acceleration enabled.^[[0m
Feb 18 11:11:34 kernel: Enabled Runner binding to Flow Cache
Feb 18 11:11:34 kernel: Initialized Runner Protocol Layer (800)
Feb 18 11:11:34 kernel: Broadcom Runner Blog Driver Char Driver v0.1 Registered <3009>
Feb 18 11:11:34 kernel: ^[[0;33;45mBroadcom Packet Flow Cache HW acceleration disabled.^[[0m
Feb 18 11:11:34 kernel: Disabled Runner binding to Flow Cache
Feb 18 11:11:37 miniupnpd[3100]: shutting down MiniUPnPd
Feb 18 11:11:37 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:11:37 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:11:37 miniupnpd[17592]: HTTP listening on port 45694
Feb 18 11:11:37 miniupnpd[17592]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:11:37 miniupnpd[17592]: shutting down MiniUPnPd
Feb 18 11:11:37 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:11:37 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:11:37 miniupnpd[17611]: HTTP listening on port 43384
Feb 18 11:11:37 miniupnpd[17611]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:11:37 miniupnpd[17611]: shutting down MiniUPnPd
Feb 18 11:11:37 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:11:37 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:11:37 miniupnpd[17632]: HTTP listening on port 54725
Feb 18 11:11:37 miniupnpd[17632]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:17:19 skowt: Adaptive QOS: FreshJR QOS FakeTC Installed
Feb 18 11:17:19 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:17:28 rc_service: httpd 783:notify_rc restart_qos;restart_firewall
Feb 18 11:17:34 miniupnpd[17632]: shutting down MiniUPnPd
Feb 18 11:17:34 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:17:34 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:17:34 miniupnpd[19635]: HTTP listening on port 43717
Feb 18 11:17:34 miniupnpd[19635]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:17:34 miniupnpd[19635]: shutting down MiniUPnPd
Feb 18 11:17:34 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:17:34 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:17:35 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:17:35 miniupnpd[19765]: HTTP listening on port 33190
Feb 18 11:17:35 miniupnpd[19765]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:17:35 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:17:35 miniupnpd[19765]: shutting down MiniUPnPd
Feb 18 11:17:35 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:17:35 nat: apply nat rules (/tmp/nat_rules_ppp0_eth0)
Feb 18 11:17:35 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:17:35 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Feb 18 11:17:35 skowt: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 11:17:35 miniupnpd[19890]: HTTP listening on port 57086
Feb 18 11:17:35 miniupnpd[19890]: Listening for NAT-PMP/PCP traffic on port 5351
Feb 18 11:17:35 skowt: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 11:28:14 kernel: htb: htb qdisc 14: is non-work-conserving?
Feb 18 11:29:01 kernel: htb: htb qdisc 10: is non-work-conserving?

Issue is that even with reconnecting wifi, trying different downloads, my traffic for the Macbook is still showing as classified for Web Browsing and then downloading a file, it classified it as Net Control Packets.

Any help would be appreciated, thanks!
Go to page 40 and read what Fresh said that might be what you are asking some things are next to Impossible to classify
 
Hi Fresh,

After installing merlin 384.4 alpha on the ac5300, and updating to beta4 I now get this error sometimes.

kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC


I came from merlin 380.69.2 and your 1.92 script, everything worked fined.

Since it's such a huge feature jump and the script and firmware are in beta & alpha respectively, wasn't sure if this was worth pursuing to fix or wait for further updates to see if it resolves itself.

Sent from my LG-H830 using Tapatalk
 
Hi Fresh,

After installing merlin 384.4 alpha on the ac5300, and updating to beta4 I now get this error sometimes.

kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC


I came from merlin 380.69.2 and your 1.92 script, everything worked fined.

Since it's such a huge feature jump and the script and firmware are in beta & alpha respectively, wasn't sure if this was worth pursuing to fix or wait for further updates to see if it resolves itself.

Sent from my LG-H830 using Tapatalk
Did you initialize after flashing firmware and did you update signature and install both beta 4 and tc?
 
Did you initialize after flashing firmware and did you update signature and install both beta 4 and tc?
By initialize, do you mean formating and starting from scratch? I didn't update it, doing that now. I did, per the install instructions on the first page with the updated file's and everything seemed to go fine. I only noticed that error message about 30-45mins after installing

Sent from my LG-H830 using Tapatalk
 
By initialize, do you mean formating and starting from scratch? I didn't update it, doing that now. I did, per the install instructions on the first page with the updated file's and everything seemed to go fine. I only noticed that error message about 30-45mins after installing

Sent from my LG-H830 using Tapatalk
Feb 18 08:03:23 Dave: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 08:03:23 Dave: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 08:03:23 Skynet: [INFO] Startup Initiated... ( debug banmalware autoupdate usb=/tmp/mnt/ASUS )
Feb 18 08:03:24 Skynet: [INFO] Setting Up Skynet...
Feb 18 08:03:44 Skynet: [Complete] 0 IPs / 0 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 0 Inbound / 0 Outbound Connections Blocked! [21s]
Feb 18 08:23:01 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!
Feb 18 08:23:01 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!
Feb 18 08:23:01 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!
Feb 18 08:23:01 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!
Feb 18 08:23:02 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!

Here is what my log read's, signature is updated since yesterday, I did do a dirty flash if it help's, since I have various custom rule's in place I'm too lazy to reset if I don't have to

Sent from my LG-H830 using Tapatalk
 
By initialize, do you mean formating and starting from scratch? I didn't update it, doing that now. I did, per the install instructions on the first page with the updated file's and everything seemed to go fine. I only noticed that error message about 30-45mins after installing

Sent from my LG-H830 using Tapatalk
Follow instructions and the downloads on page 40 my friend after you initialize and don't forget to update your signature see how it goes and let me know if you need more help
 
Feb 18 08:03:23 Dave: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 08:03:23 Dave: Adaptive QOS: Parsing QOS config -> No Change
Feb 18 08:03:23 Skynet: [INFO] Startup Initiated... ( debug banmalware autoupdate usb=/tmp/mnt/ASUS )
Feb 18 08:03:24 Skynet: [INFO] Setting Up Skynet...
Feb 18 08:03:44 Skynet: [Complete] 0 IPs / 0 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 0 Inbound / 0 Outbound Connections Blocked! [21s]
Feb 18 08:23:01 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!
Feb 18 08:23:01 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!
Feb 18 08:23:01 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!
Feb 18 08:23:01 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!
Feb 18 08:23:02 kernel: ERR[update_qos_data_by_mac:3568] Failed to find udb entry by skb src-MAC!

Here is what my log read's, signature is updated since yesterday, I did do a dirty flash if it help's, since I have various custom rule's in place I'm too lazy to reset if I don't have to

Sent from my LG-H830 using Tapatalk
I would not dirty flash coming from 380 to 384 go ahead and initialize
 
Hello,

I followed the step byut when i put the QOS back on i get in the log

Feb 15 16:11:17 kernel: ERR[qos_start:3344] QoS is already started!
Feb 15 16:11:17 kernel: ioctl_iqos_op_switch(1) fail!
Feb 15 16:11:20 kernel: ERR[parse_qos_conf:932] Can't set new QoS conf while QoS is started!
Feb 15 16:11:20 kernel: ERR[ioctl_iqos_op_config:3592] parse qos_conf error!!
Feb 15 16:11:20 kernel: ioctl_iqos_op_config() fail!
Feb 15 16:11:20 kernel: ERR[qos_start:3344] QoS is already started!
Feb 15 16:11:20 kernel: ioctl_iqos_op_switch(1) fail!

Can someone help?

Hi!
I have the same errors on my RT-AC68U with 384.3 stable.
Initialized after flash, reconfigured everything manual, updated signatures, and installed script as in #793 post

Feb 18 19:27:25 qos: Applying codel patch
Feb 18 19:27:42 kernel: ERR[qos_start:3356] qos_ops is not registered!
Feb 18 19:27:42 kernel: ioctl_iqos_op_switch(1) fail!
Feb 18 19:27:45 kernel: ERR[parse_qos_conf:932] Can't set new QoS conf while QoS is started!
Feb 18 19:27:45 kernel: ERR[ioctl_iqos_op_config:3592] parse qos_conf error!!
Feb 18 19:27:45 kernel: ioctl_iqos_op_config() fail!
Feb 18 19:27:45 kernel: ERR[qos_start:3344] QoS is already started!
Feb 18 19:27:45 kernel: ioctl_iqos_op_switch(1) fail!
Feb 18 19:27:49 kernel: ERR[parse_qos_conf:932] Can't set new QoS conf while QoS is started!
Feb 18 19:27:49 kernel: ERR[ioctl_iqos_op_config:3592] parse qos_conf error!!
Feb 18 19:27:49 kernel: ioctl_iqos_op_config() fail!
Feb 18 19:27:49 kernel: ERR[qos_start:3344] QoS is already started!
Feb 18 19:27:49 kernel: ioctl_iqos_op_switch(1) fail!
Feb 18 19:27:52 kernel: ERR[parse_qos_conf:932] Can't set new QoS conf while QoS is started!
Feb 18 19:27:52 kernel: ERR[ioctl_iqos_op_config:3592] parse qos_conf error!!
Feb 18 19:27:52 kernel: ioctl_iqos_op_config() fail!
Feb 18 19:27:52 kernel: ERR[qos_start:3344] QoS is already started!
Feb 18 19:27:52 kernel: ioctl_iqos_op_switch(1) fail!

Btw seems like its working, and only got these once in one reboot.
 
Hi!
I have the same errors on my RT-AC68U with 384.3 stable.
Initialized after flash, reconfigured everything manual, updated signatures, and installed script as in #793 post

Feb 18 19:27:25 qos: Applying codel patch
Feb 18 19:27:42 kernel: ERR[qos_start:3356] qos_ops is not registered!
Feb 18 19:27:42 kernel: ioctl_iqos_op_switch(1) fail!
Feb 18 19:27:45 kernel: ERR[parse_qos_conf:932] Can't set new QoS conf while QoS is started!
Feb 18 19:27:45 kernel: ERR[ioctl_iqos_op_config:3592] parse qos_conf error!!
Feb 18 19:27:45 kernel: ioctl_iqos_op_config() fail!
Feb 18 19:27:45 kernel: ERR[qos_start:3344] QoS is already started!
Feb 18 19:27:45 kernel: ioctl_iqos_op_switch(1) fail!
Feb 18 19:27:49 kernel: ERR[parse_qos_conf:932] Can't set new QoS conf while QoS is started!
Feb 18 19:27:49 kernel: ERR[ioctl_iqos_op_config:3592] parse qos_conf error!!
Feb 18 19:27:49 kernel: ioctl_iqos_op_config() fail!
Feb 18 19:27:49 kernel: ERR[qos_start:3344] QoS is already started!
Feb 18 19:27:49 kernel: ioctl_iqos_op_switch(1) fail!
Feb 18 19:27:52 kernel: ERR[parse_qos_conf:932] Can't set new QoS conf while QoS is started!
Feb 18 19:27:52 kernel: ERR[ioctl_iqos_op_config:3592] parse qos_conf error!!
Feb 18 19:27:52 kernel: ioctl_iqos_op_config() fail!
Feb 18 19:27:52 kernel: ERR[qos_start:3344] QoS is already started!
Feb 18 19:27:52 kernel: ioctl_iqos_op_switch(1) fail!

Btw seems like its working, and only got these once in one reboot.
if its those messages don't worry about it should be working I get those messages it's working just make sure you see message saying rc started or Qos started
 
Wondering if anyone can help.

Any help would be appreciated, thanks!

Something is wrong, as NON of the custom rules are being applied in your system log. In the system log, if everything was working correctly, you would be also able to see a message stating "Adaptive QOS: Applying Custom Download Rules"

Preparing a debug log is not too difficult. With a debug log we can see what is going under the hood.
(The rule you have created itself is correct and with no syntax errors. If it was applied, it should do what you want it to do)

Please follow the following:

1) Turn OFF qos
2) In putty:
Code:
         nvram set qos_debug=1
3)Turn ON qos
4)Wait 3 min for it to finish setting itself up
5) In command prompt:
Code:
         pscp -scp admin@192.168.1.1:/tmp/qos.log C:\Putty\qos_debug.log
6)In putty:
Code:
         nvram set qos_debug=0

After that you will have a file named qos_debug.log inside your putty folder. Send me that file using a pastebin link in a private message, and I will try to see what is going on with your particular setup.

I know you are using MacOS, so you do not have command prompt and the pscp executable, but just use the mac equivalent as you did before, or use a windows computer.

---

@daviworld

If you got more messages in addition to these two your have pasted

Code:
Dave: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 08:03:23 Dave: Adaptive QOS: Parsing QOS config -> No Change

then everything is working fine.

The additional messages should be (in no particular order) that indicate everything is working are:

Code:
Applying Custom Download Rules
Applying Custom Upload Rules
Modifying Download Rule 22
Modifying Download Rule 23
Modifying Upload Rule 22
Modifying Upload Rule 23
Changing 1:10 class rate
Changing 1:11 class rate
Changing 1:12 class rate
Changing 1:13 class rate
Changing 1:14 class rate
Changing 1:15 class rate
Changing 1:16 class rate
Changing 1:17 class rate

Besides that, the other error messages are not from this script, but rather present from something in ASUS's own code.

I have seen user get these messages without the QOS script running so fixing it is beyond my control. Everything seems to be working fine QOS side even with these messages present.

---

To clarify, you should be safe to ignore these messages

Code:
Feb 18 19:27:42 kernel: ERR[qos_start:3356] qos_ops is not registered!
Feb 18 19:27:42 kernel: ioctl_iqos_op_switch(1) fail!
Feb 18 19:27:45 kernel: ERR[parse_qos_conf:932] Can't set new QoS conf while QoS is started!
Feb 18 19:27:45 kernel: ERR[ioctl_iqos_op_config:3592] parse qos_conf error!!
 
Last edited:
Something is wrong, as NON of the custom rules are being applied in your system log. In the system log, if everything was working correctly, you would be also able to see a message stating "Adaptive QOS: Applying Custom Download Rules"

Preparing a debug log is not too difficult. With a debug log we can see what is going under the hood.
(The rule you have created itself is correct and with no syntax errors. If it was applied, it should do what you want it to do)

Please follow the following:

1) Turn OFF qos
2) In putty:
Code:
         nvram set qos_debug=1
3)Turn ON qos
4)Wait 3 min for it to finish setting itself up
5) In command prompt:
Code:
         pscp -scp admin@192.168.1.1:/tmp/qos.log C:\Putty\qos_debug.log
6)In putty:
Code:
         nvram set qos_debug=0

After that you will have a file named qos_debug.log inside your putty folder. Send me that file using a pastebin link in a private message, and I will try to see what is going on with your particular setup.

I know you are using MacOS, so you do not have command prompt and the pscp executable, but just use the mac equivalent as you did before, or use a windows computer.

---

@daviworld

If you got more messages in addition to these two your have pasted

Code:
Dave: Adaptive QOS: FreshJR fakeTC Running (No Change Required)
Feb 18 08:03:23 Dave: Adaptive QOS: Parsing QOS config -> No Change

then everything is working fine.

The additional messages should be (in no particular order) that indicate everything is working are:

Code:
Applying Custom Download Rules
Applying Custom Upload Rules
Modifying Download Rule 22
Modifying Download Rule 23
Modifying Upload Rule 22
Modifying Upload Rule 23
Changing 1:10 class rate
Changing 1:11 class rate
Changing 1:12 class rate
Changing 1:13 class rate
Changing 1:14 class rate
Changing 1:15 class rate
Changing 1:16 class rate
Changing 1:17 class rate

Besides that, the other error messages are not from this script, but rather present from something in ASUS's own code.

I have seen user get these messages without the QOS script running so fixing it is beyond my control. Everything seems to be working fine QOS side even with these messages present.

---

To clarify, you should be safe to ignore these messages

Code:
Feb 18 19:27:42 kernel: ERR[qos_start:3356] qos_ops is not registered!
Feb 18 19:27:42 kernel: ioctl_iqos_op_switch(1) fail!
Feb 18 19:27:45 kernel: ERR[parse_qos_conf:932] Can't set new QoS conf while QoS is started!
Feb 18 19:27:45 kernel: ERR[ioctl_iqos_op_config:3592] parse qos_conf error!!
@1219chicho & FreshJR

After initializing, setting up everything again from scratch, and setting up your script first, everything works fine now, the error has completely vanished since monitoring the new install for the past hour.

Thanks guy's

Sent from my LG-H830 using Tapatalk
 
Status
Not open for further replies.

Sign Up For SNBForums Daily Digest

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