→ Applies to: SynetoOS 5.x
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Become Super User
sudo su
Step 3. Download the package
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.rpm.sh | sudo bashEXAMPLE OUTPUT
[root@syneto-os-5 admin]# curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.rpm.sh | sudo bash Detected operating system as rocky/8. Checking for curl... Detected curl... Downloading repository file: https://packagecloud.io/install/repositories/ookla/speedtest-cli/config_file.repo?os=rocky&dist=8&source=script done. Installing yum-utils... ookla_speedtest-cli-source 203 B/s | 833 B 00:04 ookla_speedtest-cli-source 4.1 kB/s | 3.9 kB 00:00 Importing GPG key 0xE723ACAA: Userid : "https://packagecloud.io/ookla/speedtest-cli (https://packagecloud.io/docs#gpg_signing) <support@packagecloud.io>" Fingerprint: C525 F88F CF3A 7E56 CE2C F591 31EB 3981 E723 ACAA From : https://packagecloud.io/ookla/speedtest-cli/gpgkey ookla_speedtest-cli-source 80 B/s | 296 B 00:03 syneto 30 kB/s | 4.2 kB 00:00 No match for argument: yum-utils Error: Unable to find a match: yum-utils WARNING: The yum-utils package could not be installed. This means you may not be able to install source RPMs or use other yum features. Generating yum cache for ookla_speedtest-cli... Importing GPG key 0xE723ACAA: Userid : "https://packagecloud.io/ookla/speedtest-cli (https://packagecloud.io/docs#gpg_signing) <support@packagecloud.io>" Fingerprint: C525 F88F CF3A 7E56 CE2C F591 31EB 3981 E723 ACAA From : https://packagecloud.io/ookla/speedtest-cli/gpgkey Generating yum cache for ookla_speedtest-cli-source... The repository is setup! You can now install packages.
Step 4. Install the script
sudo yum install -y speedtestEXAMPLE OUTPUT
[root@syneto-os-5 admin]# sudo yum install speedtest Last metadata expiration check: 0:00:05 ago on Mon 11 Nov 2024 06:01:51 PM CET. Dependencies resolved. ============================================================================================================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================================================================================================= Installing: speedtest x86_64 1.2.0.84_1.ea6b6773cf-1 ookla_speedtest-cli 1.1 M Transaction Summary ============================================================================================================================================================================================================================================= Install 1 Package Total download size: 1.1 M Installed size: 2.5 M Is this ok [y/N]: y Downloading Packages: speedtest-1.2.0.84_1.ea6b6773cf-1.x86_64.rpm 836 kB/s | 1.1 MB 00:01 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 834 kB/s | 1.1 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : speedtest-1.2.0.84_1.ea6b6773cf-1.x86_64 1/1 Running scriptlet: speedtest-1.2.0.84_1.ea6b6773cf-1.x86_64 1/1 Verifying : speedtest-1.2.0.84_1.ea6b6773cf-1.x86_64 1/1 Installed: speedtest-1.2.0.84_1.ea6b6773cf-1.x86_64 Complete!
Step 5. Run the script
speedtestPress YES when the prompt ‘Do you accept the license?’ appears
EXAMPLE OUTPUT
[root@syneto-os-5 admin]# 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. ============================================================================== Ookla collects certain data through Speedtest that may be considered personally identifiable, such as your IP address, unique device identifiers or location. Ookla believes it has a legitimate interest to share this data with internet providers, hardware manufacturers and industry regulators to help them understand and create a better and faster internet. For further information including how the data may be shared, where the data may be transferred and Ookla's contact details, please see our Privacy Policy at: http://www.speedtest.net/privacy ============================================================================== Do you accept the license? [type YES to accept]: YES License acceptance recorded. Continuing. Speedtest by Ookla Server: PVDataNet - Milano (id: 42070) ISP: Arelion Sweden AB Idle Latency: 22.87 ms (jitter: 0.66ms, low: 22.40ms, high: 23.08ms) Download: 35.94 Mbps (data used: 35.5 MB) 297.02 ms (jitter: 73.02ms, low: 25.58ms, high: 479.29ms) Upload: 16.53 Mbps (data used: 10.7 MB) 156.99 ms (jitter: 53.40ms, low: 24.63ms, high: 525.87ms) Packet Loss: Not available. Result URL: https://www.speedtest.net/result/c/f4494542-84a4-4aa4-9fc2-ac99160f5844