Author Topic: Checking Speed test by command line Debian based servers.  (Read 918 times)

kc9zhv

  • Administrator
  • Newbie

  • Offline
  • *****
  • Owner of Voipham.com and KC9ZHV.com
  • 24
  • Karma:
    +0/-0
  • Personal Text
    I enjoy helping others with allstarlink!
    • View Profile
    • KC9ZHV
  • Callsign: KC9ZHV
Checking Speed test by command line Debian based servers.
« on: May 25, 2017, 08:10:01 PM »
Hello recently their has been some changes to a program i use to test out speed test related issues I decided to post the new information and code here to help others..

First off I create a script:

Code: [Select]
nano speedtestsetup.sh
Inside speedtestsetup.sh I put the following information:
Code: [Select]
#!/bin/bash
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --no-check-certificate
chmod a+rx speedtest.py
mv speedtest.py /usr/local/bin/
chown root:root /usr/local/bin/speedtest.py
/usr/local/bin/speedtest.py

To run the speed test I create another script called speedtest.sh
Example
Code: [Select]
nano speedtest.shInside that script is the following information.
Code: [Select]
/usr/local/bin/speedtest.py
I hope this helps out some one else like it has helped me.. Good luck and remember speed test is not everything you really should do a MTR report to different points around the country to look for packet loss and other issues that can occur..