Measure Internet Speed directly through the router
Posted: Wed May 09, 2018 8:26 pm
I've been searching on the subject in the past couple of days, and thought it could be useful as a plugin or to anybody interested.
speedtest-cli would be great for this, but since it relies on Python to work, it won't fit on the router. On the other hand, it's a great tool to measure internet speed on terminals, etc.
Although, I've found this script that runs using "netperf" package, and it worked great on my Archer C7.
So all I did was:
The only drawback is that it doesn't scan for nearest servers (which can be passed by parameter), so it can give different results from speedtest.net.
I wonder if this could be useful in Gargoyle itself? Maybe Remote monitoring, QoS DL/UL total bandwidth estimation, etc.
Any more ideas?
speedtest-cli would be great for this, but since it relies on Python to work, it won't fit on the router. On the other hand, it's a great tool to measure internet speed on terminals, etc.
Although, I've found this script that runs using "netperf" package, and it worked great on my Archer C7.
So all I did was:
Code: Select all
# Install netperf package
opkg update
opkg install netperf
# Copy the script "betterspeedtest.sh" to /usr/lib/gargoyle
Set script file permission to rwxrwxr-x (0775)
# Issue the following from PuTTY
sh /usr/lib/gargoyle/betterspeedtest.sh
I wonder if this could be useful in Gargoyle itself? Maybe Remote monitoring, QoS DL/UL total bandwidth estimation, etc.
Any more ideas?