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!

Yep, that version seems to have the new speedtest binary.

Ok. I got to know Jack's script fairly good when I rewrote it for OpenWRT. Maybe I will have a crack at seeing if this can be fixed. I am waiting though for 388.2 as 388.1 for the AX88U seems to have some ASUS issues on the wifi side. Thus I am staying with 386.7.2 for now.

As @visortgw stated, use the external binary for now.
 
Ok. I got to know Jack's script fairly good when I rewrote it for OpenWRT. Maybe I will have a crack at seeing if this can be fixed. I am waiting though for 388.2 as 388.1 for the AX88U seems to have some ASUS issues on the wifi side. Thus I am staying with 386.7.2 for now.

As @visortgw stated, use the external binary for now.
I know, i was the first guy to state that.
Also wrote a post about possibly fixing it by adding the old binary over the new one, this would yield out the new result part wich possible is breaking it.
I took the old version binary out of 386.7_2 build.
Look like 5 posts back where i share that binary amd state where it has to go.
I havent tried myself as im running the 386 build currently.

The new binary gives extra info in the results for actuall download latency (some refer to it as bufferbloat during the test) and im suspecting that extra info is causing the data import to fail, hence no data in the chart.
 
I know, i was the first guy to state that.
Also wrote a post about possibly fixing it by adding the old binary over the new one, this would yield out the new result part wich possible is breaking it.
I took the old version binary out of 386.7_2 build.
Look like 5 posts back where i share that binary amd state where it has to go.
I havent tried myself as im running the 386 build currently.

The new binary gives extra info in the results for actuall download latency (some refer to it as bufferbloat during the test) and im suspecting that extra info is causing the data import to fail, hence no data in the chart.
For sure. I have used the mount bind method in the init-start script before to write over binaries in the read only parts of busybox. Works well. Just figure in the long run, best fix via a pull request to @Jack Yaz .
 
For sure. I have used the mount bind method in the init-start script before to write over binaries in the read only parts of busybox. Works well. Just figure in the long run, best fix via a pull request to @Jack Yaz .
Jack doesnt have a Asus anymore afaik, hence development has stopped.
Would also count for all his other scripts.
 
Jack doesnt have a Asus anymore afaik, hence development has stopped.
Would also count for all his other scripts.
Jack is still open to updates, he just can't test or develop anymore on Asus.
 
I am also getting this same problem with spdMerlin... it runs, but no charts...

Is there any solution?
Yes same here... Not sure if it has anything to do with 388.1 - or is an ookla issue... bottom line - no charts....

Time to dump spMerlin?...
 
Would someone using 388.1 PM me the the file produced by

[/usr/sbin/ookla -c http://www.speedtest.net/api/embed/vz0azjarf5enop8a/config --interface=eth0 --format="human-readable" --unit="Mbps" | tee outfile.txt

I can use the file in coming up with a updated version. I am not running 388.1 yet as it is too new and has some troubling reports re the AX88U (I have not updated my signature yet). But I can start working on a fix if someone can PM me the requested file.

Cheers
 
Would someone using 388.1 PM me the the file produced by

[/usr/sbin/ookla -c http://www.speedtest.net/api/embed/vz0azjarf5enop8a/config --interface=eth0 --format="human-readable" --unit="Mbps" | tee outfile.txt

I can use the file in coming up with a updated version. I am not running 388.1 yet as it is too new and has some troubling reports re the AX88U (I have not updated my signature yet). But I can start working on a fix if someone can PM me the requested file.

Cheers
I am not running that version either so cant create it for you.
Do the outputs from post 108 and 109 help and show what you want?
 
@miniterror

Jack uses the human readable output as in post 109. However, in post 109, that output is from the external ookla binary. I need the output from the builtin binary on a 388.1 firmware.

A forum member did send me an output, but I am not sure if was from the 386 codebase or the 388 codebase. I whipped up a test script using a code snipit from sdpMerlin last night and spdmerlin was able to get all the data points OK. The output in the PM also did not appear to have any extra info from the output I get on my AX88U running 386.7_2. I have asked the forum member for a followup as well as the internal ookla binary version number ( /usr/sbin/ookla --version) to compare with the 386.7_2 version.

Any other takers? If you are running 388.1, please send me the file outfile.txt produced by the following;

Code:
/usr/sbin/ookla -c http://www.speedtest.net/api/embed/vz0azjarf5enop8a/config --interface=eth0 --format="human-readable" --unit="Mbps" | tee outfile.txt

If you run this from the default SSH landing point, the file will be right in that direrctory. I perfer the actual file as opposed to just code pasted in case the file has hidden characters or something goofy messing up spdMerlin.
 
Another forum member sent me the files and sample output (as well as the version number). Thanks all.
 
And confirmed, the new output is messing things up. I will work on fixing it over the Xmas holidays and get a revised copy posted somewhere for testing. I am not a Git power user, but will maybe have to learn.

I will lilely call on someone to test once I get a fix done.
 
Edited
Edit2: added a new step (dos2unix)
Edit3: Rev2 of the test code to deal with the ookla bufferbload data added

Thanks to a work server outage, I had some time to adjust this script.

The test version can be downloaded here: https://pastebin.com/ur2V3Ppw

If someone with a 388.1 firmware cares to try this out before I discuss with @Jack Yaz on how best to get the updated verion to him, it would be appreciated.

1. make a backup copy of your current version of spdmerlin cp /jffs/scripts/spdmerlin /jffs/scripts/spdmerlin.old
2. Download test file wget -O /jffs/scripts/spdmerlin https://pastebin.com/raw/ur2V3Ppw
4. Give the file execute permission chmod u+x /jffs/scripts/spdmerlin
5. Change to unix format: dos2unix /jffs/scripts/spdmerlin

This test version will check which codebase you are on when using the internal ookla binary and get the correct datapoints from the speedtest.

Let me know if any errors come up.
 
Last edited:
Edited

Thanks to a work server outage, I had some time to adjust this script.

The test version can be downloaded here: https://pastebin.com/ur2V3Ppw

If someone with a 388.1 firmware cares to try this out before I discuss with @Jack Yaz on how best to get the updated verion to him, it would be appreciated.

1. make a backup copy of your current version of spdmerlin cp /jffs/scripts/spdmerlin /jffs/scripts/spdmerlin.old
2. Download test file wget -O /jffs/scripts/spdmerlin https://pastebin.com/raw/ur2V3Ppw
4. Give the file execute permission chmod u+x /jffs/scripts/spdmerlin

This test version will check which codebase you are on when using the internal ookla binary and get the correct datapoints from the speedtest.

Let me know if any errors come up.
Code:
# sh spdmerlin
: not foundline 2:
: not foundline 16:
: not foundline 30:
: not foundline 43:
: not foundline 48:
: not foundline 52:
: not foundline 55:
: not foundline 58:
: not foundline 68:
: not foundline 73:
spdmerlin: line 131: syntax error: unexpected word (expecting "in")
 
Try dos2unix /jffs/scripts/spdmerlin
 
From post 132, I tried it on my AX58U with 388.1 and that is what I get:
______________________
/usr/sbin/ookla -c http://www.speedtest.net/api/embed/vz0azjarf5enop8a/config --interface=eth0 --format="human-readable" --unit="Mbps" | tee outfile.txt
[2022-12-20 14:43:40.952] [error] Configuration - Timeout was reached (TimeoutException)
[2022-12-20 14:43:40.952] [error] Configuration - Cannot retrieve configuration document (0)
[2022-12-20 14:43:40.953] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[2022-12-20 14:43:40.953] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[error] Configuration - Could not retrieve or read configuration (ConfigurationError)
______________________
In the GUI I changed to Buit-in binary.
 
Try dos2unix /jffs/scripts/spdmerlin
Code:
Starting speedtest using Spectrum (Syracuse, NY, United States) for WAN interface

      Server: Spectrum - Syracuse, NY (id: 16978)
         ISP: Spectrum
Idle Latency:    23.03 ms   (jitter: 0.52ms, low: 21.52ms, high: 23.53ms)
    Download:  1133.54 Mbps (data used: 1.4 GB)                                                   
      Upload:    38.97 Mbps (data used: 46.1 MB)                                                   
 Packet Loss:     0.0%
 Result URL: https://www.speedtest.net/result/14100872244

Speedtest results - Download: 1133.54 Mbps (data used: 1.4 GB) - Upload: 38.97 Mbps (data used: 46.1 MB)

Connection quality - Idle Latency: 23.03 ms (jitter: 0.52ms, low: 21.52ms, high: 23.53ms) - Packet Loss: 0.0%

Retrieving data for WebUI charts


Press enter to continue...
 
From post 132, I tried it on my AX58U with 388.1 and that is what I get:
______________________
/usr/sbin/ookla -c http://www.speedtest.net/api/embed/vz0azjarf5enop8a/config --interface=eth0 --format="human-readable" --unit="Mbps" | tee outfile.txt
[2022-12-20 14:43:40.952] [error] Configuration - Timeout was reached (TimeoutException)
[2022-12-20 14:43:40.952] [error] Configuration - Cannot retrieve configuration document (0)
[2022-12-20 14:43:40.953] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[2022-12-20 14:43:40.953] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[error] Configuration - Could not retrieve or read configuration (ConfigurationError)
______________________
In the GUI I changed to Buit-in binary.

Are you using a ppoe connection? If so, then eth0 may be something else. See what nvram show wan_ifname gives you
 

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