What's new

FlexQoS FlexQoS 1.0 - Flexible QoS Enhancement Script for Adaptive QoS

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

Please post a flexqos debug

Code:
FlexQoS v0.9.0 released 07/05/2020

Debug:

Undf Prio: 2
Undf FlowID: 1:16
Classes Present: 8
Down Band: 66613
Up Band  : 30163
***********
Net Control = 1:10
Work-From-Home = 1:13
Gaming = 1:11
Others = 1:16
Web Surfing = 1:14
Streaming = 1:12
Downloads = 1:15
Defaults = 1:17
***********
Downrates -- 3330, 9991, 19983, 13322, 6661, 3330, 6661, 3330
Downceils -- 66613, 66613, 66613, 66613, 66613, 66613, 66613, 66613
Downbursts -- 3198b, 15995b, 7993b, 3197b, 3198b, 3198b, 3198b, 3198b
DownCbursts -- 83182b, 83182b, 83182b, 83182b, 83182b, 83182b, 83182b, 83182b
***********
Uprates -- 1508, 4524, 3016, 6032, 3016, 1508, 9048, 1508
Upceils -- 30163, 30163, 30163, 30163, 30163, 30163, 30163, 30163
Upbursts -- , , , , , , ,
UpCbursts -- , , , , , , ,
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7
iptables -D POSTROUTING -t mangle -o br0   -p udp  -m multiport  --sports 500,4500  -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p udp  -m multiport  --sports 500,4500  -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o eth4   -p udp  -m multiport  --dports 500,4500  -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth4   -p udp  -m multiport  --dports 500,4500  -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0   -p udp  --dport 16384:16415   -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p udp  --dport 16384:16415   -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o eth4   -p udp  --sport 16384:16415   -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth4   -p udp  --sport 16384:16415   -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 119,563  -j MARK --set-mark 0x80030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 119,563  -j MARK --set-mark 0x80030001
iptables -D POSTROUTING -t mangle -o eth4   -p tcp  -m multiport  --dports 119,563  -j MARK --set-mark 0x40030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth4   -p tcp  -m multiport  --dports 119,563  -j MARK --set-mark 0x40030001
iptables -D POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001
iptables -D POSTROUTING -t mangle -o eth4   -p tcp  -m multiport  --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth4   -p tcp  -m multiport  --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
realtc filter change dev br0 prio 2 protocol all handle 827::800 u32 flowid 1:16
realtc filter change dev eth0 prio 2 protocol all handle  u32 flowid 1:16
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:16
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:16
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:15
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:15
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:15
realtc filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:14
realtc filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:14
realtc filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:14
realtc filter change dev eth0 prio 22 protocol all handle  u32 flowid 1:14
realtc filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:14
realtc filter change dev eth0 prio 23 protocol all handle  u32 flowid 1:14
realtc filter change dev br0 prio 2 protocol all handle 827::802 u32 flowid 1:15
realtc filter change dev eth0 prio 2 protocol all handle  u32 flowid 1:15
 
Code:
FlexQoS v0.9.0 released 07/05/2020

Debug:

Undf Prio: 2
Undf FlowID: 1:16
Classes Present: 8
Down Band: 66613
Up Band  : 30163
***********
Net Control = 1:10
Work-From-Home = 1:13
Gaming = 1:11
Others = 1:16
Web Surfing = 1:14
Streaming = 1:12
Downloads = 1:15
Defaults = 1:17
***********
Downrates -- 3330, 9991, 19983, 13322, 6661, 3330, 6661, 3330
Downceils -- 66613, 66613, 66613, 66613, 66613, 66613, 66613, 66613
Downbursts -- 3198b, 15995b, 7993b, 3197b, 3198b, 3198b, 3198b, 3198b
DownCbursts -- 83182b, 83182b, 83182b, 83182b, 83182b, 83182b, 83182b, 83182b
***********
Uprates -- 1508, 4524, 3016, 6032, 3016, 1508, 9048, 1508
Upceils -- 30163, 30163, 30163, 30163, 30163, 30163, 30163, 30163
Upbursts -- , , , , , , ,
UpCbursts -- , , , , , , ,
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7
iptables -D POSTROUTING -t mangle -o br0   -p udp  -m multiport  --sports 500,4500  -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p udp  -m multiport  --sports 500,4500  -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o eth4   -p udp  -m multiport  --dports 500,4500  -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth4   -p udp  -m multiport  --dports 500,4500  -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0   -p udp  --dport 16384:16415   -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p udp  --dport 16384:16415   -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o eth4   -p udp  --sport 16384:16415   -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth4   -p udp  --sport 16384:16415   -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 119,563  -j MARK --set-mark 0x80030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 119,563  -j MARK --set-mark 0x80030001
iptables -D POSTROUTING -t mangle -o eth4   -p tcp  -m multiport  --dports 119,563  -j MARK --set-mark 0x40030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth4   -p tcp  -m multiport  --dports 119,563  -j MARK --set-mark 0x40030001
iptables -D POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001
iptables -D POSTROUTING -t mangle -o eth4   -p tcp  -m multiport  --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth4   -p tcp  -m multiport  --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
realtc filter change dev br0 prio 2 protocol all handle 827::800 u32 flowid 1:16
realtc filter change dev eth0 prio 2 protocol all handle  u32 flowid 1:16
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:16
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:16
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:15
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:15
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:15
realtc filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:14
realtc filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:14
realtc filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:14
realtc filter change dev eth0 prio 22 protocol all handle  u32 flowid 1:14
realtc filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:14
realtc filter change dev eth0 prio 23 protocol all handle  u32 flowid 1:14
realtc filter change dev br0 prio 2 protocol all handle 827::802 u32 flowid 1:15
realtc filter change dev eth0 prio 2 protocol all handle  u32 flowid 1:15
Hmm. How about:
Code:
realtc qdisc ls | grep root
And is Adaptive QoS enabled in the GUI?
 
Last edited:
Hmm. How about:
Code:
realtc qdisc ls | grep root
And is Adaptive QoS enabled in the GUI?

Yes, Adaptive QoS is enabled.

Code:
qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth1 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth3 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc htb 1: dev eth4 root refcnt 2 r2q 10 default 0 direct_packets_stat 4434 direct_qlen 1000
qdisc pfifo_fast 0: dev eth5 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth6 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc htb 1: dev br0 root refcnt 2 r2q 10 default 0 direct_packets_stat 5999 direct_qlen 2
qdisc pfifo_fast 0: dev wl0.1 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev ppp0 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
 
Yes, Adaptive QoS is enabled.

Code:
qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth1 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth3 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc htb 1: dev eth4 root refcnt 2 r2q 10 default 0 direct_packets_stat 4434 direct_qlen 1000
qdisc pfifo_fast 0: dev eth5 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth6 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc htb 1: dev br0 root refcnt 2 r2q 10 default 0 direct_packets_stat 5999 direct_qlen 2
qdisc pfifo_fast 0: dev wl0.1 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev ppp0 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
Ok, so I may have a timing issue. Does this command return eth4?
Code:
realtc qdisc ls | sed -n 's/qdisc htb.*dev \(eth[0-9]\) root.*/\1/p;q'
 
Ok, so I may have a timing issue. Does this command return eth4?
Code:
realtc qdisc ls | sed -n 's/qdisc htb.*dev \(eth[0-9]\) root.*/\1/p;q'

nope, nothing

Code:
DoctorXX@RT-AX58U-01:/tmp/home/root# realtc qdisc ls | sed -n 's/qdisc htb.*dev \(eth[0-9]\) root.*/\1/p;q'
DoctorXX@RT-AX58U-01:/tmp/home/root#
 
nope, nothing

Code:
DoctorXX@RT-AX58U-01:/tmp/home/root# realtc qdisc ls | sed -n 's/qdisc htb.*dev \(eth[0-9]\) root.*/\1/p;q'
DoctorXX@RT-AX58U-01:/tmp/home/root#
How about this slightly modified version?
Code:
realtc qdisc ls | sed -n 's/qdisc.*htb.*dev.*\(eth[0-9]\).*root.*/\1/p;q'
 
How about this slightly modified version?
Code:
realtc qdisc ls | sed -n 's/qdisc.*htb.*dev.*\(eth[0-9]\).*root.*/\1/p;q'

also nothing.

Code:
DoctorXX@RT-AX58U-01:/tmp/home/root# realtc qdisc ls | sed -n 's/qdisc.*htb.*dev.*\(eth[0-9]\).*root.*/\1/p;q'
DoctorXX@RT-AX58U-01:/tmp/home/root#
 
also nothing.

Code:
DoctorXX@RT-AX58U-01:/tmp/home/root# realtc qdisc ls | sed -n 's/qdisc.*htb.*dev.*\(eth[0-9]\).*root.*/\1/p;q'
DoctorXX@RT-AX58U-01:/tmp/home/root#
Thank you for entertaining my guesses. Here's the next one:
Code:
realtc qdisc ls | sed -n 's/qdisc htb.*dev \(eth[0-9]\) root.*/\1/p'
 
Thank you for entertaining my guesses. Here's the next one:
Code:
realtc qdisc ls | sed -n 's/qdisc htb.*dev \(eth[0-9]\) root.*/\1/p'

Ping, Pong.

Code:
DoctorXX@RT-AX58U-01:/tmp/home/root# realtc qdisc ls | sed -n 's/qdisc htb.*dev \(eth[0-9]\) root.*/\1/p'
eth4
DoctorXX@RT-AX58U-01:/tmp/home/root#
 
Ping, Pong.

Code:
DoctorXX@RT-AX58U-01:/tmp/home/root# realtc qdisc ls | sed -n 's/qdisc htb.*dev \(eth[0-9]\) root.*/\1/p'
eth4
DoctorXX@RT-AX58U-01:/tmp/home/root#
OK, I've pushed a fix to remove the ;q at the end. I was trying to only return the first occurrence of eth in case of multiple, but I haven't seen it happen yet for anyone. Check for an update:
Code:
sh /jffs/addons/flexqos/flexqos.sh update
 
It comes from here :
https://github.com/RMerl/asuswrt-me...nd/kernel/linux-4.1/net/sched/sch_htb.c#L1510

When your min bandwidth is considered large but the r2q is fixed at 10 in the qdisc, you will get this warning. It’s considered normal, but maybe there’s a way to declare a new quantum based on the new rate. It’s very low level for my understanding, but if someone wants to study it...

EDIT: it looks like Asus/Trend set the quantum to rate / 80 when creating tc classes. I could theoretically add this to my rate changes when I apply the custom min/max rates, but I don’t fully understand the unintended side effects of doing so.

EDIT2: and the quantum is capped at 200000 when we see the “is big” warnings. This only happens if quantum is not specified in the tc class change commands.

EDIT3: or maybe just safest to reassert the quantum of 1514. I like to refer back to @john9527 tQoS implementation when in doubt. :)

in regards to the quantum error this is the most recent one i got
kernel: HTB: quantum of class 10012 is big. Consider r2q change.
kernel: HTB: quantum of class 10015 is big. Consider r2q change.
 
in regards to the quantum error this is the most recent one i got
kernel: HTB: quantum of class 10012 is big. Consider r2q change.
kernel: HTB: quantum of class 10015 is big. Consider r2q change.
I'm splitting hairs, but it's not an error, just a warning. ;)

It will be taken care of by the time we get to version 1.0.
 
I'm splitting hairs, but it's not an error, just a warning. ;)

It will be taken care of by the time we get to version 1.0.
awesome its an old one at that, if you need any testing done just ping me.
 
Thanks pal :)

Let me ask you something, when you reinstalled, did the installer prompt you if you wanted to restore the existing backup?

Because it is intended to :)
Steps I noticed and then just confirmed again....Uninstalling it it prompts if I want to delete backup (selected 2, no), but don't see where it ask to restore backup during install portion. See below.

Code:
Removing FlexQoS settings...
Backup found!Would you like to delete it? [1=Yes 2=No]: 2
Deleting FlexQoS folder contents except Backup file...
find: unrecognized: -type
BusyBox v1.25.1 (2020-06-28 14:00:44 EDT) multi-call binary.

Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]

Search for files and perform actions on them.
First failed action stops processing of current file.
Defaults: PATH is current directory, action is '-print'

        -L,-follow      Follow symlinks
        -H              ...on command line only

Actions:
        ! ACT           Invert ACT's success/failure
        ACT1 [-a] ACT2  If ACT1 fails, stop, else do ACT2
        ACT1 -o ACT2    If ACT1 succeeds, stop, else do ACT2
                        Note: -a has higher priority than -o
        -name PATTERN   Match file name (w/o directory name) to PATTERN
        -iname PATTERN  Case insensitive -name
        -mtime DAYS     mtime is greater than (+N), less than (-N),
                        or exactly N days in the past
If none of the following actions is specified, -print is assumed
        -print          Print file name
        -print0         Print file name, NUL terminated
        -exec CMD ARG ; Run CMD with all instances of {} replaced by
                        file name. Fails if CMD exits with nonzero
FlexQoS has been uninstalled

QuikSilver156@RT-AC86U-AEA8:/tmp/home/root# curl "https://raw.githubusercontent.
com/dave14305/FlexQoS/master/flexqos.sh" -o /jffs/addons/flexqos/flexqos.sh --cr
eate-dirs && sh /jffs/addons/flexqos/flexqos.sh -install
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 53379  100 53379    0     0   115k      0 --:--:-- --:--:-- --:--:--  127k
Installing FlexQoS...
Checking firmware version...
Downloading WebUI files...
Adding FlexQoS entries to Merlin user scripts...
Adding nightly cron job...
Adding flexqos link in Entware /opt/bin...
FlexQoS installation complete!

FlexQoS v0.9.1 released 07/08/2020

Advanced configuration available via:
http://192.168.1.1/user1.asp

Would you like to restart QoS for modifications to take effect? [1=Yes 2=No]: 1
Restarting QoS and Firewall...

Done.
 
Steps I noticed and then just confirmed again....Uninstalling it it prompts if I want to delete backup (selected 2, no), but don't see where it ask to restore backup during install portion. See below.

Code:
Removing FlexQoS settings...
Backup found!Would you like to delete it? [1=Yes 2=No]: 2
Deleting FlexQoS folder contents except Backup file...
find: unrecognized: -type
BusyBox v1.25.1 (2020-06-28 14:00:44 EDT) multi-call binary.

Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]

Search for files and perform actions on them.
First failed action stops processing of current file.
Defaults: PATH is current directory, action is '-print'

        -L,-follow      Follow symlinks
        -H              ...on command line only

Actions:
        ! ACT           Invert ACT's success/failure
        ACT1 [-a] ACT2  If ACT1 fails, stop, else do ACT2
        ACT1 -o ACT2    If ACT1 succeeds, stop, else do ACT2
                        Note: -a has higher priority than -o
        -name PATTERN   Match file name (w/o directory name) to PATTERN
        -iname PATTERN  Case insensitive -name
        -mtime DAYS     mtime is greater than (+N), less than (-N),
                        or exactly N days in the past
If none of the following actions is specified, -print is assumed
        -print          Print file name
        -print0         Print file name, NUL terminated
        -exec CMD ARG ; Run CMD with all instances of {} replaced by
                        file name. Fails if CMD exits with nonzero
FlexQoS has been uninstalled

QuikSilver156@RT-AC86U-AEA8:/tmp/home/root# curl "https://raw.githubusercontent.
com/dave14305/FlexQoS/master/flexqos.sh" -o /jffs/addons/flexqos/flexqos.sh --cr
eate-dirs && sh /jffs/addons/flexqos/flexqos.sh -install
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 53379  100 53379    0     0   115k      0 --:--:-- --:--:-- --:--:--  127k
Installing FlexQoS...
Checking firmware version...
Downloading WebUI files...
Adding FlexQoS entries to Merlin user scripts...
Adding nightly cron job...
Adding flexqos link in Entware /opt/bin...
FlexQoS installation complete!

FlexQoS v0.9.1 released 07/08/2020

Advanced configuration available via:
http://192.168.1.1/user1.asp

Would you like to restart QoS for modifications to take effect? [1=Yes 2=No]: 1
Restarting QoS and Firewall...

Done.
i guess find is being assumed as the entware version, the busybox version is limited
 
Steps I noticed and then just confirmed again....Uninstalling it it prompts if I want to delete backup (selected 2, no), but don't see where it ask to restore backup during install portion. See below.

Code:
Removing FlexQoS settings...
Backup found!Would you like to delete it? [1=Yes 2=No]: 2
Deleting FlexQoS folder contents except Backup file...
find: unrecognized: -type
BusyBox v1.25.1 (2020-06-28 14:00:44 EDT) multi-call binary.

Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]

Search for files and perform actions on them.
First failed action stops processing of current file.
Defaults: PATH is current directory, action is '-print'

        -L,-follow      Follow symlinks
        -H              ...on command line only

Actions:
        ! ACT           Invert ACT's success/failure
        ACT1 [-a] ACT2  If ACT1 fails, stop, else do ACT2
        ACT1 -o ACT2    If ACT1 succeeds, stop, else do ACT2
                        Note: -a has higher priority than -o
        -name PATTERN   Match file name (w/o directory name) to PATTERN
        -iname PATTERN  Case insensitive -name
        -mtime DAYS     mtime is greater than (+N), less than (-N),
                        or exactly N days in the past
If none of the following actions is specified, -print is assumed
        -print          Print file name
        -print0         Print file name, NUL terminated
        -exec CMD ARG ; Run CMD with all instances of {} replaced by
                        file name. Fails if CMD exits with nonzero
FlexQoS has been uninstalled

QuikSilver156@RT-AC86U-AEA8:/tmp/home/root# curl "https://raw.githubusercontent.
com/dave14305/FlexQoS/master/flexqos.sh" -o /jffs/addons/flexqos/flexqos.sh --cr
eate-dirs && sh /jffs/addons/flexqos/flexqos.sh -install
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 53379  100 53379    0     0   115k      0 --:--:-- --:--:-- --:--:--  127k
Installing FlexQoS...
Checking firmware version...
Downloading WebUI files...
Adding FlexQoS entries to Merlin user scripts...
Adding nightly cron job...
Adding flexqos link in Entware /opt/bin...
FlexQoS installation complete!

FlexQoS v0.9.1 released 07/08/2020

Advanced configuration available via:
http://192.168.1.1/user1.asp

Would you like to restart QoS for modifications to take effect? [1=Yes 2=No]: 1
Restarting QoS and Firewall...

Done.
The backup file would need to exist and there would need to be no flexqos settings in /jffs/addons/custom_settings.txt. I'm curious if those conditions are met in your case after an uninstall.
 
Is there some "how to" instructions for this script?

Today I installed it without issues, but after rebooting router script is no longer visible in GUI.
I'm missing something or?

AC68P with latest Merlin
 
Is there some "how to" instructions for this script?

Today I installed it without issues, but after rebooting router script is no longer visible in GUI.
I'm missing something or?

AC68P with latest Merlin
It should get added to the GUI when the firewall starts during boot up. Or if you press Apply on the QoS page. Otherwise, check your system log for errors.
 

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