Table of Contents

Run a Speedtest from the Command Line Interface

Typically, you test connection speed by visiting sites like speedtest.net or fast.com. However, situations may arise when you need to test the FreshTomato device remotely or you just want to test from the command line instead of via the Web interface.

Downloading speedtest cli

For example, at a command line, download the file:


cd /mnt/USB wget ookla-speedtest-1.2.0-linux-armel.tgz


Then, extract the archive:

tar zxvf ookla-speedtest-1.2.0-linux-armel.tgz


Now, make the file executable:

chmod +x ./speedtest



Executing the test


The very first time you run speedtest, it will prompt you to confirm (type YES) that you accept the Terms and Conditions:


./speedtest
==============================================================================

You may only use this Speedtest software and information generated
from it for personal, non-commercial use, through a command line
interface on a personal computer. Your use of this software is subject
to the End User License Agreement, Terms of Use and Privacy Policy at
these URLs:

        https://www.speedtest.net/about/eula
        https://www.speedtest.net/about/terms
        https://www.speedtest.net/about/privacy

==============================================================================

Do you accept the license? [type YES to accept]: YES
License acceptance recorded. Continuing.


   Speedtest by Ookla

      Server: MTN Uganda - Kampala (id: 31566)
         ISP: Airtel Uganda
Idle Latency:    33.96 ms   (jitter: 4.06ms, low: 29.12ms, high: 39.83ms)
    Download:    38.30 Mbps (data used: 65.9 MB)
                379.96 ms   (jitter: 78.85ms, low: 35.18ms, high: 1257.00ms)
      Upload:    25.25 Mbps (data used: 42.5 MB)
                 75.72 ms   (jitter: 18.90ms, low: 25.09ms, high: 207.16ms)
 Packet Loss: Not available.