What's new

spdMerlin spdMerlin - Automated speedtests with graphs

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

ow yeah :D

Code:
***@router:/tmp/home/root# /jffs/scripts/spdmerlin generate
spdMerlin: Starting speedtest using *** for WAN interface


   Speedtest by Ookla

     Server: ***
        ISP: ***
    Latency:     0.96 ms   (0.01 ms jitter)
   Download:   374.79 Mbps (data used: 169.4 MB)
     Upload:   437.89 Mbps (data used: 720.1 MB)
Packet Loss:     0.0%
 Result URL: ***
/opt/bin/sqlite3: error while loading shared libraries: libncursesw.so.6: wrong ELF class: ELFCLASS32
/opt/bin/sqlite3: error while loading shared libraries: libncursesw.so.6: wrong ELF class: ELFCLASS32
/opt/bin/sqlite3: error while loading shared libraries: libncursesw.so.6: wrong ELF class: ELFCLASS32
sed: /jffs/addons/spdmerlin.d/csv/Downloaddaily_WAN.tmp: No such file or directory
head: /jffs/addons/spdmerlin.d/csv/Downloaddaily_WAN.tmp: No such file or directory
awk: cmd. line:1: Division by zero
/opt/bin/sqlite3: error while loading shared libraries: libncursesw.so.6: wrong ELF class: ELFCLASS32
sed: /jffs/addons/spdmerlin.d/csv/Downloadweekly_WAN.tmp: No such file or directory
head: /jffs/addons/spdmerlin.d/csv/Downloadweekly_WAN.tmp: No such file or directory
awk: cmd. line:1: Division by zero
/opt/bin/sqlite3: error while loading shared libraries: libncursesw.so.6: wrong ELF class: ELFCLASS32
sed: /jffs/addons/spdmerlin.d/csv/Downloadmonthly_WAN.tmp: No such file or directory
head: /jffs/addons/spdmerlin.d/csv/Downloadmonthly_WAN.tmp: No such file or directory
awk: cmd. line:1: Division by zero
/opt/bin/sqlite3: error while loading shared libraries: libncursesw.so.6: wrong ELF class: ELFCLASS32
sed: /jffs/addons/spdmerlin.d/csv/Uploaddaily_WAN.tmp: No such file or directory
head: /jffs/addons/spdmerlin.d/csv/Uploaddaily_WAN.tmp: No such file or directory
awk: cmd. line:1: Division by zero
/opt/bin/sqlite3: error while loading shared libraries: libncursesw.so.6: wrong ELF class: ELFCLASS32
sed: /jffs/addons/spdmerlin.d/csv/Uploadweekly_WAN.tmp: No such file or directory
head: /jffs/addons/spdmerlin.d/csv/Uploadweekly_WAN.tmp: No such file or directory
awk: cmd. line:1: Division by zero
/opt/bin/sqlite3: error while loading shared libraries: libncursesw.so.6: wrong ELF class: ELFCLASS32
sed: /jffs/addons/spdmerlin.d/csv/Uploadmonthly_WAN.tmp: No such file or directory
head: /jffs/addons/spdmerlin.d/csv/Uploadmonthly_WAN.tmp: No such file or directory
awk: cmd. line:1: Division by zero
/opt/bin/sqlite3: error while loading shared libraries: libncursesw.so.6: wrong ELF class: ELFCLASS32
Entware updates playing havoc today.
Code:
opkg install --force-reinstall libncursesw
 
upload_2020-4-11_12-28-13.png


New button incoming :)
 
Done, PR ready to go. Just waiting for the AutoBW guys to make sure I haven't broken anything they rely on

Thanks, appreciate it. Also looking forward to the CSV exports!
 
Updated: I recently installed spdMerlin for the 1st time, but I am not getting any graphs displayed even after a week. I read in another post that manually running speedtest from amtm fixed it, so I tried it, but at the end of its run, it displayed this:


spdMerlin: Starting speedtest using auto-selected server for VPNC3 interface

[2020-04-12 08:04:47.323] [error] Configuration - Couldn't connect to server (Network is unreachable)
[2020-04-12 08:04:47.323] [error] Configuration - Cannot retrieve configuration document (0)
[2020-04-12 08:04:47.324] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[2020-04-12 08:04:47.325] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[error] Configuration - Could not retrieve or read configuration (ConfigurationError)
Error: near line 2: near ",": syntax error
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero

I just realized that my VPN client 3 is not connecting which seems to be causing these errors. The other 2 VPN clients worked with no problem.

I did the installation from amtm. How can I get the graphs to display in the GUI?
 
Last edited:
I recently installed spdMerlin for the 1st time, but I am not getting any graphs displayed even after a week. I read in another post that manually running speedtest from amtm fixed it, so I tried it, but at the end of its run, it displayed this:

[2020-04-12 08:04:47.323] [error] Configuration - Couldn't connect to server (Network is unreachable)
[2020-04-12 08:04:47.323] [error] Configuration - Cannot retrieve configuration document (0)
[2020-04-12 08:04:47.324] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[2020-04-12 08:04:47.325] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[error] Configuration - Could not retrieve or read configuration (ConfigurationError)
Error: near line 2: near ",": syntax error
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero
awk: cmd. line:1: Division by zero

I did the installation from amtm. How do I fix these errors, and how can I get the graphs to display in the GUI?
Using a VPN? Is router in Router mode?
 
I figured out that I was getting these messages with the one VPN client that was not connecting properly. I faked out 16_0 by deleting that VPN link, then Merlin no longer tried to connect on that client and spdMerlin no longer complained. The other 2 clients were fine. I'm also now getting graphs for the WAN and the 2 working VPN clients, so all is good.
 
@Jack Yaz

Thanks for your awesome work always :)

Link generated by spdMerlin in ssh doesn't work if opened in browser, says Not found, is it supposed to be ok? Or it should work?
Is link a placebo?
 
@Jack Yaz

Thanks for your awesome work always :)

Link generated by spdMerlin in ssh doesn't work if opened in browser, says Not found, is it supposed to be ok? Or it should work?
Is link a placebo?
It should work. It's generated by the Ookla binary, so if it's broken please report it to them.
 
v3.4.0 is now available!
Changelog:
Code:
NEW: Change in minimum version requirement, see README!
NEW: Support for John's Fork of AsusWRT-Merlin
NEW: Option to toggle data output mode for weekly/monthly charts
NEW: Button to export/download CSVs used for charts
NEW: Add option to toggle time format in CSV exports between Unix and non-Unix time
CHANGE: Raw data output is now the default
CHANGE: Migrated from datasource plugin for ChartJS to D3js library
REMOVED: Legacy WebUI code that would override unused ASP pages
 
v3.4.0 is now available!
Changelog:
Code:
NEW: Change in minimum version requirement, see README!
NEW: Support for John's Fork of AsusWRT-Merlin
NEW: Option to toggle data output mode for weekly/monthly charts
NEW: Button to export/download CSVs used for charts
NEW: Add option to toggle time format in CSV exports between Unix and non-Unix time
CHANGE: Raw data output is now the default
CHANGE: Migrated from datasource plugin for ChartJS to D3js library
REMOVED: Legacy WebUI code that would override unused ASP pages
Thanks Jack!

One minor bug: currently option 9 doesn't show if is using Unix or non-unix.
 
What does
Code:
cat /jffs/addons/spdmerlin.d/config
return please?
Edit: I pressed 9 a few times to force a change, and the same result.
 

Attachments

  • Screenshot_20200413-224830750.png
    Screenshot_20200413-224830750.png
    70 KB · Views: 129
  • Screenshot_20200413-224841289.png
    Screenshot_20200413-224841289.png
    131.4 KB · Views: 166
Similar threads

Similar threads

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