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!

Thanks this is great.

I've only updated today and initially would not show any speed-tests even when hitting Run Speedtest, it would also not allow any change to data storage method or display the historical data. This was fixed simply by running a speed-test via CLi but has left those speed-tests from before upgrading to v4 with null value, was it previously not capturing latency or jitter?

Update: DOH my bad, Jack Yaz clearly mentioned must run first in CLi mode to accept licence in release notes.
correct, no latency or jitter prior to v4
 
Hi. I upgraded to version 4 today. Tried to do a CSV dump and get 404 error on the URL "http://192.168.1.254/ext/spdmerlin/csv/spdmerlindata.zip"

I can't find an spdmerlindata.zip file in the router filesystems. Is there some configuration I need to do ?

Pete

PS: Not tried a CSV dump before so no idea if it worked in previous versions

Running RT-AC68U with 384.19
do you get any errors running a speedtest in cli please?
 
Assuming this is what you referring to....Both of my routers have the config file disappearing issue and are on Trend Micro: Signature version 2.204. One of the routers shows "Updated 2020/11/12" while other router shows 2020/10/30. Clicking "Check" finds no new signatures yet but they may not be pushed yet? Just adding more detail in case others notice same issue.

Different signature files.
 
do you get any errors running a speedtest in cli please?
Ah - yes ...

Code:
Downloading http://pkg.entware.net/binaries/armv7/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/packages.
Package p7zip (16.02-1) installed in root is up to date.
/opt/bin/spdmerlin: line 2864: /opt/bin/7z: not found
mv: can't rename '/tmp/spdmerlindata.zip': No such file or directory

/opt/bin has this:

-rwxr-xr-x 1 delladmi root 994372 Jan 4 2018 /opt/bin/7za

but no 7z binary.
 
Ah - yes ...

Code:
Downloading http://pkg.entware.net/binaries/armv7/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/packages.
Package p7zip (16.02-1) installed in root is up to date.
/opt/bin/spdmerlin: line 2864: /opt/bin/7z: not found
mv: can't rename '/tmp/spdmerlindata.zip': No such file or directory

/opt/bin has this:

-rwxr-xr-x 1 delladmi root 994372 Jan 4 2018 /opt/bin/7za

but no 7z binary.
i wonder why the 7z binary isn't being included in entware...
ah well, changed in develop, will be in 4.0.1
 
Ah - yes ...

Code:
Downloading http://pkg.entware.net/binaries/armv7/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/packages.
Package p7zip (16.02-1) installed in root is up to date.
/opt/bin/spdmerlin: line 2864: /opt/bin/7z: not found
mv: can't rename '/tmp/spdmerlindata.zip': No such file or directory

/opt/bin has this:

-rwxr-xr-x 1 delladmi root 994372 Jan 4 2018 /opt/bin/7za

but no 7z binary.
How old is your Entware installation? My Packages.gz downloads from bin.entware.net.
 
i wonder why the 7z binary isn't being included in entware...
ah well, changed in develop, will be in 4.0.1
Hmmm. I edited the spdmerlin script to change 7z to 7za, and get this:

Code:
/opt/bin/7za: /opt/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /opt/bin/7za)
/opt/bin/7za: /opt/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /opt/bin/7za)
mv: can't rename '/tmp/spdmerlindata.zip': No such file or directory

Is entware installed by the merlin firmware updates or is it separate ? Looks like my entware install is borked ?
 
How old is your Entware installation? My Packages.gz downloads from bin.entware.net.

I installed entware a long time ago and haven't touched it since. I know this is off topic but anyone have an idea what to do ? Can I upgrade entware or do I need a complete reinstall of it ?
 
I installed entware a long time ago and haven't touched it since. I know this is off topic but anyone have an idea what to do ? Can I upgrade entware or do I need a complete reinstall of it ?

OK. I'd forgotten it was like a debian package management system. after opkg update and opkg upgrade it informed me

Code:
File /opt/etc/opkg.conf upgraded, new repository set!
Please run opkg update + opkg upgrade once more

so I've run the update/upgrade cycle twice and now I have the 7z binary installed.

Doh! Cheers guys and sorry to have wasted your time!
 
i wonder why the 7z binary isn't being included in entware...
ah well, changed in develop, will be in 4.0.1

You can probably roll that back, because the 7za binary I had didn't work anyway. May be worth noting in the README that it is worth running a couple of cycles of opkg update/opkg upgrade to ensure that the entware packages are up to date ?
 
@NGI for your AutoBW threshold idea, do you think a single % threshold is sufficient, or separate for upload and download?
 
Jack - brilliant additions to latest SpdMerlin - sent you some appreciation:)
 
Thanks @Jack Yaz I'm happy with your choice. I will test it today and report.
@Jack Yaz I did a quick test and when I choose 0% threshold I still don't get the BW values to change see below in bold:
1. Update QoS bandwidth values now

2. Configure scale factor

Download: 90% - Upload: 90%

3. Configure bandwidth limits

Upper Limit Download: 0 Mbps - Upload: 0 Mbps

Lower Limit Download: 0 Mbps - Upload: 0 Mbps

4. Configure threshold for updating QoS bandwidth values

Download: 0% - Upload: 10%

5. Toggle AutoBW on/off

Currently: Enabled

e. Go back

####################################################################

Choose an option: 1

spdMerlin: Calculated Download speed (26241) Kbps does not exceed 0% threshold of existing value (26104 Kbps)

spdMerlin: Calculated Download speed (5289) Kbps does not exceed 10% threshold of existing value (5262 Kbps)

Press enter to continue...

I seems to work for Upload BW but not for Download BW
 
@Jack Yaz - Would it be possible to have an option to keep more than 30 days of data ? Perhaps an option to archive records > 30 days to a USB drive ?
Or do I need to pull down the sqlite database on a regular basis ?
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top