Sebastien Bougie
Regular Contributor
I'll need to fix this up again, but has the OP gone MIA?
Good question... I hope not I really like the script
I'll need to fix this up again, but has the OP gone MIA?
I'll need to fix this up again, but has the OP gone MIA?
I'm getting the error below due to recent update, what's the quick work around to fix this...where is the new location ?Same here. It appears that AutoBW doesn't recognize the new location of spdMerlin stats. Simply move the config and stats back to jffs until it is resolved.
ERROR: spdMerlin stats not found.
      Try again in a minute or two.
      If it still fails try running 'spdmerlin' first
	Me too. And because of the higher variability in connection speeds, it is a really useful tool to have during lockdowns!Good question... I hope not I really like the script
Thanks for this @ Jack Yaz!!! Really appreciate all you do!I'm going to patch up and host a v1.6 until @squidbilly is able to merge my PRs
Can you try the version from here please? https://raw.githubusercontent.com/jackyaz/AutoBW/master/AutoBWThanks for this @ Jack Yaz!!! Really appreciate all you do!
Can you try the version from here please? https://raw.githubusercontent.com/jackyaz/AutoBW/master/AutoBW
you are brilliant. I hope this is not a large undertaking for you since you have 1bazillion other wonderful things you are working with.I'm going to patch up and host a v1.6 until @squidbilly is able to merge my PRs
working fine here Jack
Seems to be fine here as well @Jack Yaz+1 ...all is working flawlessly!
Thank you!!Can you try the version from here please? https://raw.githubusercontent.com/jackyaz/AutoBW/master/AutoBW
Welcome back! Was worried you disappeared. With how 2020 has gone so far, I'm even scared to ask.I am back ... what did I miss?
Been a crazy few weeks (even for 2020); you wouldn't believe me if I were to tell you.
for this to work, autoBW needs speed numbers that bypass qos current limits, no?.
can spdmerlin results do such a thing?
i though that if qos is enabled, the speeds found by spdmerlin would reflect qos effect?
curl "https://raw.githubusercontent.com/jackyaz/AutoBW/master/AutoBW" -o /jffs/scripts/AutoBW && chmod 755 /jffs/scripts/AutoBW
	opkg install bc
	opkg install nano
	/jffs/scripts/AutoBW
	nano /jffs/scripts/AutoBW
	nano /jffs/scripts/services-start
	cru a AutoBW "0 */10 * * * /jffs/scripts/AutoBW"
	TEST MODE: No changes will be made.
              ---------------- SPDMERLIN -------------
                Download (Kbps)       Upload (Kbps)
              -------------------  -------------------
Test  1 of  2       75786.2              35502.1
Test  2 of  2       78551.0              35502.1
Average             77168.6              35502.1
Scale Factors          0.85                 0.85
Scaled Speeds       65593.3              30176.8
              ----------------- QOS ----------------
                Download (Kbps)      Upload (Kbps)
              -------------------  -----------------
Previous              63962.0             25867.0
New (from above)      65593.3             30176.8
[: 25866.9999104: bad number
[: 63961.9999744: bad number
Scaling by              1.026               1.167
              ====================================== DOWNLOAD ======================================
              ----------------- RATE -----------------    ----------------- CEIL -----------------
Class            Previous (Kbps)        New (Kbps)           Previous (Kbps)         New (Kbps)
-----          -------------------  -------------------    -------------------  -------------------
11                     9594.0             9838.7                   63962.0            65593.3
10                     3198.0             3279.6                   63962.0            65593.3
13                    12792.0            13118.3                   63962.0            65593.3
12                    19188.0            19677.4                   63962.0            65593.3
15                     3198.0             3279.6                   63962.0            65593.3
14                     6396.0             6559.1                   63962.0            65593.3
17                     3198.0             3279.6                   63962.0            65593.3
16                     6396.0             6559.1                   63962.0            65593.3
              ======================================= UPLOAD =======================================
              ----------------- RATE -----------------    ----------------- CEIL -----------------
Class            Previous (Kbps)        New (Kbps)           Previous (Kbps)         New (Kbps)
-----          -------------------  -------------------    -------------------  -------------------
(standard_in) 1: syntax error
(standard_in) 1: syntax error
 0                        0.0                0.0                       0.0                0.0
	 ---------------- SPDMERLIN -------------
                Download (Kbps)       Upload (Kbps)
              -------------------  -------------------
Test  1 of  4       77312.0              35522.6
Test  2 of  4       78663.7              35512.3
Test  3 of  4       78725.1              35409.9
Test  4 of  4       78776.3              35502.1
Average             78369.3              35486.7
Scale Factors          0.85                 0.85
Scaled Speeds       66613.9              30163.7
              ----------------- QOS ----------------
                Download (Kbps)      Upload (Kbps)
              -------------------  -----------------
Previous              63962.0             25867.0
New (from above)      66613.9             30163.7
[: 25866.9999104: bad number
[: 63961.9999744: bad number
Scaling by              1.041               1.166
              ====================================== DOWNLOAD ======================================
              ----------------- RATE -----------------    ----------------- CEIL -----------------
Class            Previous (Kbps)        New (Kbps)           Previous (Kbps)         New (Kbps) 
-----          -------------------  -------------------    -------------------  -------------------
11                     9594.0             9991.8                   63962.0            66613.9
10                     3198.0             3330.6                   63962.0            66613.9
13                    12792.0            13322.4                   63962.0            66613.9
12                    19188.0            19983.5                   63962.0            66613.9
15                     3198.0             3330.6                   63962.0            66613.9
14                     6396.0             6661.2                   63962.0            66613.9
17                     3198.0             3330.6                   63962.0            66613.9
16                     6396.0             6661.2                   63962.0            66613.9
              ======================================= UPLOAD =======================================
              ----------------- RATE -----------------    ----------------- CEIL -----------------
Class            Previous (Kbps)        New (Kbps)           Previous (Kbps)         New (Kbps) 
-----          -------------------  -------------------    -------------------  -------------------
(standard_in) 1: syntax error
(standard_in) 1: syntax error
 0                        0.0                0.0                       0.0                0.0
Illegal "prio"
Usage: ... qdisc add ... htb [default N] [r2q N]
                      [direct_qlen P]
 default  minor id of class to which unclassified packets are sent {0}
 r2q      DRR quantums are computed as rate in Bps/r2q {10}
 debug    string of 16 numbers each 0-3 {0}
 direct_qlen  Limit of the direct queue {in packets}
... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]
                      [prio P] [slot S] [pslot PS]
                      [ceil R2] [cburst B2] [mtu MTU] [quantum Q]
 rate     rate allocated to this class (class can still borrow)
 burst    max bytes burst which can be accumulated during idle period {computed}
 mpu      minimum packet size used in rate computations
 overhead per-packet size overhead used in rate computations
 linklay  adapting to a linklayer e.g. atm
 ceil     definite upper class rate (no borrows) {rate}
 cburst   burst but for ceil {computed}
 mtu      max packet size we create rate map for {1600}
 prio     priority of leaf; lower are served first {0}
 quantum  how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
	
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!