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!

Code:
SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6
SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6

spdMerlin: Speedtest results - Download: 16.99 Mbps (data used: 20.2 MB) - Upload: 4.80 Mbps (data used: 6.7 MB)

SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6
SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6
SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6
SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6
SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6
SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6
SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6
sed: /tmp/spd-lastx.csv: No such file or directory
awk: /tmp/spd-lastx.csv: No such file or directory
awk: /tmp/spd-lastx.csv: No such file or directory
awk: /tmp/spd-lastx.csv: No such file or directory
cp: can't stat '/jffs/addons/spdmerlin.d/csv/*.htm': No such file or directory
Not sure what is going on here with the updated version. Any help?
 
Jack Yaz

Thanks for modifying the CVS output option for spdMerlin and conmon so the time output can be read without converting the field. Makes it much quicker to look at the output values and intermediately so what time slow downs occur.
 
Thanks for adding CSV report!!! @Jack Yaz

Sent from my SM-G965F using Tapatalk
 
@Jack Yaz Could you add a section and a way to also do spedtests over vpnclient and combine speedtests together to show all info?
 
@Jack Yaz Could you add a section and a way to also do spedtests over vpnclient and combine speedtests together to show all info?
speedtests over vpn is already possible, you can configure it via the command line/ssh

can you clarify what you mean combine, as in download and upload in one csv/chart?
 
speedtests over vpn is already possible, you can configure it via the command line/ssh

can you clarify what you mean combine, as in download and upload in one csv/chart?

I mean In addons in merlins shows speedtests...just to also have a heading category for vpn speedtests
 
I mean In addons in merlins shows speedtests...just to also have a heading category for vpn speedtests
? It already does.
upload_2020-4-16_18-15-55.png
 
Just to follow up on what Jack Yaz said here is a snap of my WAN and two VPN clients. This has been a feature for several weeks.

Screenshot_2020-04-16 Internet Speedtest.png
Screenshot_2020-04-16 Internet Speedtest.png
 
Definitely, and i use vpn speedtests Everytime...

Just because we're talking about vpn, isn't possible to choose custom server for each vpn? Is there any limitation, or it hasn't been coded only? :)
 
Definitely, and i use vpn speedtests Everytime...

Just because we're talking about vpn, isn't possible to choose custom server for each vpn? Is there any limitation, or it hasn't been coded only? :)

Yes it is possible to select a server for each client if you are using Merlin's firmware.

The problem is many/most commercial VPN providers only make it possible to run ONE VPN client on a router at a time. This is because they only support connections on a single port number. When the VPN provider advertises that you can have five or six connections you have to use multiple devices.

I use PIA and they have configurations that support VPN client connections using eleven ports. Some of the configurations are not supported by either the router or Merlin.
 
Yes it is possible to select a server for each client if you are using Merlin's firmware.

The problem is many/most commercial VPN providers only make it possible to run ONE VPN client on a router at a time. This is because they only support connections on a single port number. When the VPN provider advertises that you can have five or six connections you have to use multiple devices.

I use PIA and they have configurations that support VPN client connections using eleven ports. Some of the configurations are not supported by either the router or Merlin.
Not my question :)
I was talking about custom speedtest servers from this script for each vpn client we have
 
I just installed this for the first time and I'm having an issue accepting the license agreement. On first run, it prompts [y/n] but then immediately goes to the next line about running an initial test before I can even type in Y.

You must accept the license agreements for Speedtest CLI. Do you want to continue? (y/n)
Note: This will require an initial speedtest to run, please be patient​
No issues for me, also installed it first time today. AX88U Merlin 384.16.
What are you running on?
 
Testers wanted! New feature: opt to store stats and config on USB instead of JFFS (new option s)
The new version also checks to make sure Entware is available before running.
Testing particularly needed around reboots when using USB storage
To test, run
Code:
spdmerlin develop
 
Hi Jack. I loaded the test version. Changed storage "s" from jffs to USB.
I did verify that it moved the database to /opt.
Ran a speedtest manually and then checked the graphs. Looked good.

I did a reboot. Unfortunately, spdmerlin didn't startup. No tab in GUI and no entry in cru l.

I started spdmerlin manually (spdmerlin startup). It is now running.
 
Hi Jack. I loaded the test version. Changed storage "s" from jffs to USB.
I did verify that it moved the database to /opt.
Ran a speedtest manually and then checked the graphs. Looked good.

I did a reboot. Unfortunately, spdmerlin didn't startup. No tab in GUI and no entry in cru l.

I started spdmerlin manually (spdmerlin startup). It is now running.
Can you check syslog please?
 
Can you check syslog please?
Sure. Here are 2 reboots. The first time around 7:30AM Eastern and the second at 8AM:

[QUOTE
admin@RT-AX88U-26A8:/tmp# grep spd syslog.log
May 5 01:05:17 spdMerlin: Entware not found, sleeping for 10s (attempt 1 of 10)
May 5 01:05:18 spdMerlin: Lock file found (age: 1 seconds) - stopping to prevent duplicate runs
May 5 01:05:19 spdMerlin: Lock file found (age: 2 seconds) - stopping to prevent duplicate runs
May 5 01:05:20 spdMerlin: Lock file found (age: 3 seconds) - stopping to prevent duplicate runs
Apr 18 07:28:48 spdMerlin: Stale lock file found (>120 seconds old) - purging lock
Apr 18 07:28:48 spdMerlin: Entware not found, sleeping for 10s (attempt 1 of 10)
Apr 18 07:28:49 spdMerlin: Lock file found (age: 1 seconds) - stopping to prevent duplicate runs
Apr 18 07:28:58 spdMerlin: Entware not found, sleeping for 10s (attempt 2 of 10)
Apr 18 07:29:05 spdMerlin: Lock file found (age: 17 seconds) - stopping to prevent duplicate runs
May 5 01:05:17 spdMerlin: Entware not found, sleeping for 10s (attempt 1 of 10)
May 5 01:05:27 spdMerlin: Entware not found, sleeping for 10s (attempt 2 of 10)
May 5 01:05:37 spdMerlin: Entware not found, sleeping for 10s (attempt 3 of 10)
May 5 01:05:42 spdMerlin: Lock file found (age: 25 seconds) - stopping to prevent duplicate runs
May 5 01:05:43 spdMerlin: Lock file found (age: 26 seconds) - stopping to prevent duplicate runs
May 5 01:05:44 spdMerlin: Lock file found (age: 27 seconds) - stopping to prevent duplicate runs
Apr 18 08:00:45 spdMerlin: Stale lock file found (>120 seconds old) - purging lock
Apr 18 08:00:45 spdMerlin: Entware not found, sleeping for 10s (attempt 1 of 10)
][/QUOTE]

Its is now 8:06AM. I did a ps | grep spdmerlin. Nothing.
 
Sure. Here are 2 reboots. The first time around 7:30AM Eastern and the second at 8AM:

admin@RT-AX88U-26A8:/tmp# grep spd syslog.log
May 5 01:05:17 spdMerlin: Entware not found, sleeping for 10s (attempt 1 of 10)
May 5 01:05:18 spdMerlin: Lock file found (age: 1 seconds) - stopping to prevent duplicate runs
May 5 01:05:19 spdMerlin: Lock file found (age: 2 seconds) - stopping to prevent duplicate runs
May 5 01:05:20 spdMerlin: Lock file found (age: 3 seconds) - stopping to prevent duplicate runs
Apr 18 07:28:48 spdMerlin: Stale lock file found (>120 seconds old) - purging lock
Apr 18 07:28:48 spdMerlin: Entware not found, sleeping for 10s (attempt 1 of 10)
Apr 18 07:28:49 spdMerlin: Lock file found (age: 1 seconds) - stopping to prevent duplicate runs
Apr 18 07:28:58 spdMerlin: Entware not found, sleeping for 10s (attempt 2 of 10)
Apr 18 07:29:05 spdMerlin: Lock file found (age: 17 seconds) - stopping to prevent duplicate runs
May 5 01:05:17 spdMerlin: Entware not found, sleeping for 10s (attempt 1 of 10)
May 5 01:05:27 spdMerlin: Entware not found, sleeping for 10s (attempt 2 of 10)
May 5 01:05:37 spdMerlin: Entware not found, sleeping for 10s (attempt 3 of 10)
May 5 01:05:42 spdMerlin: Lock file found (age: 25 seconds) - stopping to prevent duplicate runs
May 5 01:05:43 spdMerlin: Lock file found (age: 26 seconds) - stopping to prevent duplicate runs
May 5 01:05:44 spdMerlin: Lock file found (age: 27 seconds) - stopping to prevent duplicate runs
Apr 18 08:00:45 spdMerlin: Stale lock file found (>120 seconds old) - purging lock
Apr 18 08:00:45 spdMerlin: Entware not found, sleeping for 10s (attempt 1 of 10)
]
Its is now 8:06AM. I did a ps | grep spdmerlin. Nothing.
I wonder why it is firing off so many times to start :/

Can you please check that something hasn't gone awry in /jffs/scripts/services-start please?
 

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