What's new

spdMerlin spdMerlin - v4.x - speedtest and bandwidth monitoring

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

Also noticed what could be a bug, but not sure if introduced in 4.4.5 or a prior release.
Changed the amount of days to display/keep to their mximums (not sure if any other values create the issue)

View attachment 46535

Once I did that, the bandwidth test would not run/give results regardless of which binary (Built-In or External) I used, even if I changed the values back to what they originally were - the test would still fail to run. I had to reselect the preferred server again to fix it.

Did you see any error message when it fails to run? Can you check if the Preferred servers for interfaces values are still intact once you make changes on the number of days to keep?

You can also verify the external binary by replace the server_id with your preferred server id and see if it can run.
Code:
/jffs/addons/spdmerlin.d/ookla/speedtest -s <server_id> --accept-license --accept-gdpr
 
Also noticed what could be a bug, but not sure if introduced in 4.4.5 or a prior release.
Changed the amount of days to display/keep to their mximums (not sure if any other values create the issue)

1671687135699.png


Once I did that, the bandwidth test would not run/give results regardless of which binary (Built-In or External) I used, even if I changed the values back to what they originally were - the test would still fail to run. I had to reselect the preferred server again to fix it.

I was not able to reproduce this on my end using the develop branch. Would you be able to specify step by step what you did to reproduce?
 
Well I ran it again (a lot!) this morning, very methodically increasing both "Last X results to display" and "Number of days of data to keep" a few days at a time, then testing with the Built-in and External binary until I got to the max values of 100 and 365 respectively. Could not duplicate the issue again.

Maybe it was as a result of moving from 4.4.4 to 4.4.5 and some of the testing I was running last night that I ran into the problem, something I did, or something messed up the configuration, although the preferred server for the WAN interface was still showing the same preferred server and I set it to the same one when this happened. Or may the preffered server I was using was having an issue as during a couple of the tests I received no results for "Packet Loss", showing up as N/A in the Speed Test results.

Basically what would happed is that when selecting to run a Speedtest, it would dislpay the Speedtest by Ookla in the Window, there would be a pause then the results would show as just dashes "----------" twice, no URL:, they did not show up in the Speedtest Results or on the Graph either.
 
Well I ran it again (a lot!) this morning, very methodically increasing both "Last X results to display" and "Number of days of data to keep" a few days at a time, then testing with the Built-in and External binary until I got to the max values of 100 and 365 respectively. Could not duplicate the issue again.

Maybe it was as a result of moving from 4.4.4 to 4.4.5 and some of the testing I was running last night that I ran into the problem, something I did, or something messed up the configuration, although the preferred server for the WAN interface was still showing the same preferred server and I set it to the same one when this happened. Or may the preffered server I was using was having an issue as during a couple of the tests I received no results for "Packet Loss", showing up as N/A in the Speed Test results.

Basically what would happed is that when selecting to run a Speedtest, it would dislpay the Speedtest by Ookla in the Window, there would be a pause then the results would show as just dashes "----------" twice, no URL:, they did not show up in the Speedtest Results or on the Graph either.
Can't even blame Bill Gates!! :) No problem. Seen stranger things happen
 
Well speaking of stranger things happenning.
I'm thinking it's the preferred server that didn't reply...

Dec 22 20:42:34 AX88-Office spdMerlin: Starting speedtest using ATPREFERREDSERVER_WAN for WAN interface
Dec 22 20:42:50 AX88-Office spdMerlin: Speedtest results - Download: 925.23 Mbps (data used: 464.7 MB ) - Upload: 930.58 Mbps (data used: 889.7 MB )
Dec 22 20:42:50 AX88-Office spdMerlin: Connection quality - Latency: 4.27 ms (0.04 ms jitter) - Packet Loss: 0.0%
Dec 22 20:42:50 AX88-Office spdMerlin: Retrieving data for WebUI charts
Dec 22 21:12:01 AX88-Office spdMerlin: Starting speedtest using ATPREFERREDSERVER_WAN for WAN interface
Dec 22 21:12:07 AX88-Office spdMerlin: Speedtest results - -
Dec 22 21:12:07 AX88-Office spdMerlin: Connection quality - -
Dec 22 21:12:07 AX88-Office spdMerlin: Retrieving data for WebUI charts

Dec 22 21:15:14 AX88-Office spdMerlin: Starting speedtest using ATPREFERREDSERVER_WAN for WAN interface
Dec 22 21:15:33 AX88-Office spdMerlin: Speedtest results - Download: 904.83 Mbps (data used: 661.8 MB ) - Upload: 929.74 Mbps (data used: 915.6 MB )
Dec 22 21:15:33 AX88-Office spdMerlin: Connection quality - Latency: 4.12 ms (0.29 ms jitter) - Packet Loss: 0.0%
Dec 22 21:15:33 AX88-Office spdMerlin: Retrieving data for WebUI charts

I scrolled back through the logs (scribe/uiscribe) and coincidentally the same showed in the logs while I was testing out 4.4.5 manually running tests and watching the results, in this case it was the schedueled test - it appears as if the server was unresponsive. Was on 388.1, now on 386.8 (hence the manual run 21:15) - AX88u
 
Does this work on the latest 388.1 release of merlin? I'm noticing that if I enable AutoBW my Adaptive QOS is set to Automatic mode and every time I change it to manual it doesn't stay. My settings are the default for AutoBW.
 
My charts don't populate on 388.1 --AX86U, don't think it works.
The development version solves this issue and works fine in my AX86U. SSH into your router and execute the following command:

Code:
/usr/sbin/curl -fsL --retry 3 "https://jackyaz.io/spdMerlin/develop/install/spdmerlin.sh" -o /jffs/scripts/spdmerlin && chmod 0755 /jffs/scripts/spdmerlin && /jffs/scripts/spdmerlin install
 
The development version solves this issue and works fine in my AX86U. SSH into your router and execute the following command:

Code:
/usr/sbin/curl -fsL --retry 3 "https://jackyaz.io/spdMerlin/develop/install/spdmerlin.sh" -o /jffs/scripts/spdmerlin && chmod 0755 /jffs/scripts/spdmerlin && /jffs/scripts/spdmerlin install
You can do that or you can install sdpmerlin from AMTM then run from terminal --- spdmerlin develop
 
spdmerlin stable, I believe.
 
Well it's been a while since I made one of these posts, but....

v4.4.5 is now available
Changelog:

  • ADDED: Support for armel external speedtest binary - thanks @moonbuggy (@itibi (?))
  • FIXED: spdMerlin is now compatible with the updated internal Ookla speedtest binary available in Merlin 388.1 - thanks @Jeffrey Young
  • CHANGED: Script now downloads updates via Scarf Gateway (see bottom of README)
  • CHANGED: Script now installs LICENSE and README files during install
 
Well it's been a while since I made one of these posts, but....

v4.4.5 is now available
Changelog:

  • ADDED: Support for armel external speedtest binary - thanks @moonbuggy (@itibi (?))
  • FIXED: spdMerlin is now compatible with the updated internal Ookla speedtest binary available in Merlin 388.1 - thanks @Jeffrey Young
  • CHANGED: Script now downloads updates via Scarf Gateway (see bottom of README)
  • CHANGED: Script now installs LICENSE and README files during install
Could i do a feature enhancement request.
If a test fails could the result show 0 as result.
Now it shows nothing so its kinda hard to mis in the line with a quick look, having a failed test show as 0 the graph will easily show that with the sharp line down
 
My charts don't populate on 388.1 --AX86U, don't think it works.
Try changing the Text Output Mode to Unix. When this came up somewhere else, it was one of the items folks changed. Having had that setting since day one, never had the issue

1672282806682.png
 
I just installed for the first time, and am getting a large number of errors
Code:
SQLite header and source version mismatch

As part of the initial install the script did an update/install of sqlite but it went by too quickly to see what was going on, and the output buffer filled up with a very large number of the version mismatch errors.

I ran
Code:
okpg list-installed
and it shows:
Code:
sqlite3-cli - 3400000-1

For example, resetting the database (rt) results in this output:

Choose an option: rt

WARNING: This will reset the spdMerlin database by deleting all database records.
A backup of the database will be created if you change your mind.

Do you want to continue? (y/n) y

ls: /jffs/addons/spdmerlin.d/spdstats.db: No such file or directory
[: bad number
Sufficient free space to back up database, proceeding...

cp: can't stat '/jffs/addons/spdmerlin.d/spdstats.db': No such file or directory
Database backup failed, please check storage device

SQLite header and source version mismatch
2021-11-27 14:13:22 bd41822c7424d393a30e92ff6cb254d25c26769889c1499a18a0b9339f5d6c8a
2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318
SQLite header and source version mismatch
2021-11-27 14:13:22 bd41822c7424d393a30e92ff6cb254d25c26769889c1499a18a0b9339f5d6c8a
2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318
SQLite header and source version mismatch
2021-11-27 14:13:22 bd41822c7424d393a30e92ff6cb254d25c26769889c1499a18a0b9339f5d6c8a
2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318
SQLite header and source version mismatch
2021-11-27 14:13:22 bd41822c7424d393a30e92ff6cb254d25c26769889c1499a18a0b9339f5d6c8a
2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318
SQLite header and source version mismatch
2021-11-27 14:13:22 bd41822c7424d393a30e92ff6cb254d25c26769889c1499a18a0b9339f5d6c8a
2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318
SQLite header and source version mismatch
2021-11-27 14:13:22 bd41822c7424d393a30e92ff6cb254d25c26769889c1499a18a0b9339f5d6c8a
2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318
Database reset complete

Press enter to continue...SQLite header and source version mismatch
2021-11-27 14:13:22 bd41822c7424d393a30e92ff6cb254d25c26769889c1499a18a0b9339f5d6c8a
 
I just installed for the first time, and am getting a large number of errors
Code:
SQLite header and source version mismatch
Okay, after sleeping on this, I realized I forgot to check for updates, and sure enough I found I needed an update to
Code:
- libsqlite3             3370000-1 -> 3400000-1

Once I updated that library everything is good!

@Jack Yaz, I would suggest adding an update for that component to your dependencies. Or maybe this is an issue with the sqlite3-cli package? Either way, all is well now! :cool:

Here's what the initial install sequence looks like now:
Code:
Downloading https://bin.entware.net/aarch64-k3.10/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Package sqlite3-cli (3400000-1) installed in root is up to date.
Package jq (1.6-2) installed in root is up to date.
Package p7zip (16.02-3) installed in root is up to date.
Package findutils (4.9.0-1) installed in root is up to date.
 
I see that you could potentially run the speedtest over VPN, to check the throughput. It says VPNC1 to VPNC5, but they are disabled for me. Looking at the VPN page, the names of the interfaces are OVPN1 to OVPN5 and WGC1 to WGC5. Is it possible to select those to run the test on?
 
I see that you could potentially run the speedtest over VPN, to check the throughput. It says VPNC1 to VPNC5, but they are disabled for me. Looking at the VPN page, the names of the interfaces are OVPN1 to OVPN5 and WGC1 to WGC5. Is it possible to select those to run the test on?
I never seemed to have luck with that either, but this is definitely something I could build into RTRMON! ;)
 
I cant wait! Every time you add a feature, I have something new to tinker with!;) Your additions bring new colorful life to my SSH terminal. :D
Terminal visualizations are totally the new trend. Web GUIs are so 2000s. Lol! 😋
 

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