dave14305
Part of the Furniture
Maybe a notification, but not an auto-update. I’ve demonstrated the ability to break things lately with my new releases, so slow and manual is best for now.Any plans to add auto update or update notification?
Maybe a notification, but not an auto-update. I’ve demonstrated the ability to break things lately with my new releases, so slow and manual is best for now.Any plans to add auto update or update notification?
#blamedaveMaybe a notification, but not an auto-update. I’ve demonstrated the ability to break things lately with my new releases, so slow and manual is best for now.
Am I trending yet?#blamedave
You're always trending hereAm I trending yet?
Feb 12 14:33:16 RT-AC68U-B790 rc_service: httpd 830:notify_rc restart_qos;restart_firewall;
Feb 12 14:33:16 RT-AC68U-B790 custom_script: Running /jffs/scripts/service-event (args: restart qos)
Feb 12 14:33:34 RT-AC68U-B790 BWDPI: fun bitmap = 4ff
Feb 12 14:33:34 RT-AC68U-B790 A.QoS: qos_count=0, qos_check=1
Feb 12 14:33:34 RT-AC68U-B790 A.QoS: qos rule is less than 22
Feb 12 14:33:34 RT-AC68U-B790 A.QoS: restart A.QoS because set_qos_conf / set_qos_on / setup rule fail
Feb 12 14:33:34 RT-AC68U-B790 custom_script: Running /jffs/scripts/service-event-end (args: restart qos)
Feb 12 14:33:34 RT-AC68U-B790 custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Feb 12 14:33:35 RT-AC68U-B790 custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Feb 12 14:33:35 RT-AC68U-B790 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Feb 12 14:33:36 RT-AC68U-B790 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=16621) called in unattended mode with 1 args: -start
Feb 12 14:33:38 RT-AC68U-B790 FlexQoS: Applying iptables static rules
Feb 12 14:33:38 RT-AC68U-B790 FlexQoS: Applying iptables custom rules
Feb 12 14:33:39 RT-AC68U-B790 FlexQoS: Flushing conntrack table
Feb 12 14:33:45 RT-AC68U-B790 FlexQoS: Applying AppDB rules and TC rates
Feb 12 14:33:34 RT-AC68U-B790 A.QoS: restart A.QoS because set_qos_conf / set_qos_on / setup rule fail
Feb 12 14:31:02 RT-AC68U-B790 FlexQoS: QoS state: Classes=0 | Filters=0 | HTB root qdiscs=0
It seems about normal for a 68U on 386.1 with the known Adaptive QoS problems. But this did remind me I wanted to cut down on the number of debug messages with the Classes, Filters and qdiscs. So I've pushed a minor 1.2.1 update to only log one message at the end of the 3 minute startup delay. After 3 minutes, FlexQoS will give up waiting and restart qos for you, so it probably would have resolved itself.Hey @dave14305 I'm getting this in my logs since turning on igmp support on my AC68U.
Is this a bad thing?Code:Feb 12 14:33:16 RT-AC68U-B790 rc_service: httpd 830:notify_rc restart_qos;restart_firewall; Feb 12 14:33:16 RT-AC68U-B790 custom_script: Running /jffs/scripts/service-event (args: restart qos) Feb 12 14:33:34 RT-AC68U-B790 BWDPI: fun bitmap = 4ff Feb 12 14:33:34 RT-AC68U-B790 A.QoS: qos_count=0, qos_check=1 Feb 12 14:33:34 RT-AC68U-B790 A.QoS: qos rule is less than 22 Feb 12 14:33:34 RT-AC68U-B790 A.QoS: restart A.QoS because set_qos_conf / set_qos_on / setup rule fail Feb 12 14:33:34 RT-AC68U-B790 custom_script: Running /jffs/scripts/service-event-end (args: restart qos) Feb 12 14:33:34 RT-AC68U-B790 custom_script: Running /jffs/scripts/service-event (args: restart firewall) Feb 12 14:33:35 RT-AC68U-B790 custom_script: Running /jffs/scripts/firewall-start (args: eth0) Feb 12 14:33:35 RT-AC68U-B790 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall) Feb 12 14:33:36 RT-AC68U-B790 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=16621) called in unattended mode with 1 args: -start Feb 12 14:33:38 RT-AC68U-B790 FlexQoS: Applying iptables static rules Feb 12 14:33:38 RT-AC68U-B790 FlexQoS: Applying iptables custom rules Feb 12 14:33:39 RT-AC68U-B790 FlexQoS: Flushing conntrack table Feb 12 14:33:45 RT-AC68U-B790 FlexQoS: Applying AppDB rules and TC rates
It seems to prevent classes of traffic being loaded in the GUI. If you restart QOS it all works out but still gives this error.Code:Feb 12 14:33:34 RT-AC68U-B790 A.QoS: restart A.QoS because set_qos_conf / set_qos_on / setup rule fail
If I don't restart I start seeing these in my log.Code:Feb 12 14:31:02 RT-AC68U-B790 FlexQoS: QoS state: Classes=0 | Filters=0 | HTB root qdiscs=0
Not usually, since develop is always a work-in-progress. The changelog is the Github commit history, or the comparison to the master (stable) branch. Not many big changes at this point. I'm working on how to avoid writing "default" settings to the custom_settings.txt file so we don't waste space there when unnecessary.@dave14305 are there changelogs for dev version also ?
Extra kudos to you guys dev'ing UI stuff.... I had fun learning shell over the years and would like to think I've graduated one level (novice maybe?) from noob writing 10 liners. The GUI coding is proving to be even slightly more challenging than when I started out on shellI'm working on how to avoid writing "default" settings to the custom_settings.txt file so we don't waste space there when unnecessary.
Please run these commands and post the output. Seems you are unable to download the webpage correctly.I've copied the text (please see below) from Putty from the (AMTM) FlexQoS install process which does look odd, however this is way above my pay grade and thought someone could offer some insight why this is/aint happening? many thanks.
Installing FlexQoS...
Checking firmware support...
Downloading WebUI files...
cp: can't stat '/jffs/addons/flexqos/flexqos.asp': No such file or directory
grep flexqos.asp /tmp/syslog.log*
ls -l /tmp/flexqos*
df /tmp
ls -l /jffs/addons/flexqos
df /jffs
nslookup raw.githubusercontent.com
which md5sum
date
curl -v https://raw.githubusercontent.com/dave14305/FlexQoS/master/flexqos.asp -o /jffs/addons/flexqos/flexqos.asp
flexqos check
Please run the install through amtm again. Then run the curl command if it still gives the cp error.asus86u@RT-AC2900-0C18:/tmp/home/root# ls -l /jffs/addons/flexqos
ls: /jffs/addons/flexqos: No such file or directory
FlexQoS v1.2.1 released 2021-02-12
Debug date : 2021-02-13 16:02:36-0800
Router Model : RT-AX3000
Firmware Ver : 386.1_0
DPI/Sig Ver : 2.0.1 / 2.216
WAN iface : eth4
tc WAN iface : eth4
IPv6 : disabled
Undf Prio : 2
Down Band : 128000
Up Band : 8192
***********
Net Control : 1:10
Work-From-Home: 1:14
Gaming : 1:11
Others : 1:15
Web Surfing : 1:12
Streaming : 1:13
File Downloads: 1:16
Game Downloads: 1:17
***********
Downrates : 6400, 19200, 12800, 6400, 25600, 12800, 6400, 6400
Downceils : 128000, 128000, 128000, 128000, 128000, 128000, 128000, 128000
Uprates : 409, 1228, 819, 409, 1638, 2457, 409, 409
Upceils : 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192
***********
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7
-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth4 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth4 -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth4 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803fffff/0xc03fffff
-o eth4 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403fffff/0xc03fffff
***********
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4
filter change dev br0 prio 2 protocol all handle 827::800 u32 flowid 1:15
filter change dev eth4 prio 2 protocol all handle 827::800 u32 flowid 1:15
filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:15
filter add dev eth4 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16
filter add dev eth4 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:16
filter add dev eth4 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16
filter add dev eth4 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:12
filter add dev eth4 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:12
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:12
filter change dev eth4 prio 22 protocol all handle 802::800 u32 flowid 1:12
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:12
filter change dev eth4 prio 23 protocol all handle 804::800 u32 flowid 1:12
class change dev br0 parent 1:1 classid 1:10 htb prio 0 rate 6400Kbit ceil 128000Kbit burst 16000b cburst 160000b quantum 80000
class change dev eth4 parent 1:1 classid 1:10 htb prio 0 rate 409Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 5112
class change dev br0 parent 1:1 classid 1:11 htb prio 1 rate 19200Kbit ceil 128000Kbit burst 16000b cburst 160000b quantum 240000
class change dev eth4 parent 1:1 classid 1:11 htb prio 1 rate 1228Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 15350
class change dev br0 parent 1:1 classid 1:12 htb prio 2 rate 12800Kbit ceil 128000Kbit burst 16000b cburst 160000b quantum 160000
class change dev eth4 parent 1:1 classid 1:12 htb prio 2 rate 819Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 10237
class change dev br0 parent 1:1 classid 1:13 htb prio 3 rate 6400Kbit ceil 128000Kbit burst 16000b cburst 160000b quantum 80000
class change dev eth4 parent 1:1 classid 1:13 htb prio 3 rate 409Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 5112
class change dev br0 parent 1:1 classid 1:14 htb prio 4 rate 25600Kbit ceil 128000Kbit burst 16000b cburst 160000b quantum 320000
class change dev eth4 parent 1:1 classid 1:14 htb prio 4 rate 1638Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 20475
class change dev br0 parent 1:1 classid 1:15 htb prio 5 rate 12800Kbit ceil 128000Kbit burst 16000b cburst 160000b quantum 160000
class change dev eth4 parent 1:1 classid 1:15 htb prio 5 rate 2457Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 30712
class change dev br0 parent 1:1 classid 1:16 htb prio 6 rate 6400Kbit ceil 128000Kbit burst 16000b cburst 160000b quantum 80000
class change dev eth4 parent 1:1 classid 1:16 htb prio 6 rate 409Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 5112
class change dev br0 parent 1:1 classid 1:17 htb prio 7 rate 6400Kbit ceil 128000Kbit burst 16000b cburst 160000b quantum 80000
class change dev eth4 parent 1:1 classid 1:17 htb prio 7 rate 409Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 5112
Try switching to fq_codel in the FlexQoS GUI options.Any tips for troubleshooting?
They don’t seem to work with Adaptive QoS at all, and there is no possibility for them to work if you use the FlexQoS fq_codel option.One question, does bandwith per device priority where you can set high and low still dont work as in freshjr script ?
Switched to fq and it didn't make a difference. I turned off QoS and retested and got similar results. Tried other clients and they don't seem to have the same problem, which is strange because the throttled client is my desktop that I always use for testing because it gets highest throughout. This may be a 386 induced problem, but not sure yet.Try switching to fq_codel in the FlexQoS GUI options.
Check that the /jffs is mounted. You may need to set up for format /jffs and reboot.thanks for your assistance. Output as requested..
ASUSWRT-Merlin RT-AC86U 386.1_0 Sat Jan 30 20:22:26 UTC 2021
asus86u@RT-AC2900-0C18:/tmp/home/root# grep flexqos.asp /tmp/syslog.log*
which md5sum
date
curl -v https://raw.githubusercontent.com/dave14305/FlexQoS/master/flexqos.asp -o /jffs/addons/flexqos/flexqos.asp
flexqos check/tmp/syslog.log-1:Feb 13 03:07:48 FlexQoS: Updating flexqos.asp failed
/tmp/syslog.log-1:Feb 13 03:11:37 FlexQoS: Updating flexqos.asp failed
/tmp/syslog.log-1:Feb 13 03:13:43 FlexQoS: Updating flexqos.asp failed
asus86u@RT-AC2900-0C18:/tmp/home/root# ls -l /tmp/flexqos*
ls: /tmp/flexqos*: No such file or directory
asus86u@RT-AC2900-0C18:/tmp/home/root# df /tmp
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 220168 1756 218412 1% /tmp/mnt
asus86u@RT-AC2900-0C18:/tmp/home/root# ls -l /jffs/addons/flexqos
ls: /jffs/addons/flexqos: No such file or directory
asus86u@RT-AC2900-0C18:/tmp/home/root# df /jffs
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mtdblock9 48128 3240 44888 7% /jffs
asus86u@RT-AC2900-0C18:/tmp/home/root# nslookup raw.githubusercontent.com
Server: 192.168.8.1
Address 1: 192.168.8.1 hi.link
Name: raw.githubusercontent.com
Address 1: 185.199.109.133 cdn-185-199-109-133.github.com
Address 2: 185.199.110.133 cdn-185-199-110-133.github.com
Address 3: 185.199.111.133 cdn-185-199-111-133.github.com
Address 4: 185.199.108.133 cdn-185-199-108-133.github.com
asus86u@RT-AC2900-0C18:/tmp/home/root# which md5sum
/usr/bin/md5sum
asus86u@RT-AC2900-0C18:/tmp/home/root# date
Sat Feb 13 13:05:53 CET 2021
asus86u@RT-AC2900-0C18:/tmp/home/root# curl -v https://raw.githubusercontent.com
/dave14305/FlexQoS/master/flexqos.asp -o /jffs/addons/flexqos/flexqos.asp
* Trying 185.199.109.133:443...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* Connected to raw.githubusercontent.com (185.199.109.133) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [25 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [3067 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=www.github.com
* start date: May 6 00:00:00 2020 GMT
* expire date: Apr 14 12:00:00 2022 GMT
* subjectAltName: host "raw.githubusercontent.com" matched cert's "*.githubusercontent.com"
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
* SSL certificate verify ok.
} [5 bytes data]
> GET /dave14305/FlexQoS/master/flexqos.asp HTTP/1.1
> Host: raw.githubusercontent.com
> User-Agent: curl/7.72.0
> Accept: */*
>
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [217 bytes data]
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Connection: keep-alive
< Content-Length: 88800
< Content-Type: text/plain; charset=utf-8
< Cache-Control: max-age=300
< Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
< ETag: "eff4e509967d5e19b1eab627badbb89ccc00fb52b834c0ee659a95c8573cdd52"
< Strict-Transport-Security: max-age=31536000
< X-Content-Type-Options: nosniff
< X-Frame-Options: deny
< X-XSS-Protection: 1; mode=block
< X-GitHub-Request-Id: 2928:BA22:6883A5:6F6089:6027C01B
< Accept-Ranges: bytes
< Date: Sat, 13 Feb 2021 12:05:59 GMT
< Via: 1.1 varnish
< X-Served-By: cache-cdg20756-CDG
< X-Cache: HIT
< X-Cache-Hits: 1
< X-Timer: S1613217959.107067,VS0,VE1
< Vary: Authorization,Accept-Encoding, Accept-Encoding
< Access-Control-Allow-Origin: *
< X-Fastly-Request-ID: f431c6fbbd55adb71abe73ae7f76da7dfe196888
< Expires: Sat, 13 Feb 2021 12:10:59 GMT
< Source-Age: 140
<
{ [5 bytes data]
Warning: Failed to create the file /jffs/addons/flexqos/flexqos.asp: No such
Warning: file or directory
* Failure writing output to destination
1 88800 1 1378 0 0 240 0 0:06:10 0:00:05 0:06:05 5888
* Closing connection 0
} [5 bytes data]
* TLSv1.3 (OUT), TLS alert, close notify (256):
} [2 bytes data]
curl: (23) Failure writing output to destination
asus86u@RT-AC2900-0C18:/tmp/home/root# flexqos check
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!