What's new

how to run an in-router speedtest?

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

yelo3

Regular Contributor
I'm looking for a solution to run a speedtest inside the router, every hour.
I've found this script, but some dependences are missing (bc)
http://dl.getipaddr.net/speedtest.sh

Do you know if I can install it? Or do you know another speedtes solution that does not need any additional dependencies?
 
For it to work you need Entware installed:
Code:
entware-setup.sh
Then install bc:
Code:
opkg install bc
Then make sure speedtest.sh is placed on a large enough USB-Device, like the one you installed entware on perhaps.
It'll download the testfile of 100 MB to it.
This test may be very inaccurate as the writing speed to disk may hinder the testing of it's real download speed.
Good luck.
 
I'm not aware of one and I doubt it will work accurately on your Asus router because of the write speed.
I may be proven wrong though.
 
Is there any other speedtest solution you suggest?

Does this work? ..where xxx.xxx.xxx.xxx is the I/P of your router

Code:
taskset  1 wget  --bind-address xxx.xxx.xxx.xxx  -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test100.zip

(I can't recall the original forum thread where this was originally posted.)
 
Can't we just write to /dev/null to improve speed?
It actually does if you don't modify the script as I did...
But then it says: Out of memory for malloc.
I am aborting testing, my RT-AC87U hates me today, I guess.
 

Latest threads

Sign Up For SNBForums Daily Digest

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