OPNsense Forum

English Forums => 25.1, 25.4 Series => Topic started by: vellanix on February 26, 2025, 07:53:18 PM

Title: How to install speedtest cli?
Post by: vellanix on February 26, 2025, 07:53:18 PM
Hello,

I have a DEC750 appliance and I want to installa speedtest cli for some test (of course..)

My system infos:
Versions
OPNsense 25.1.1-amd64
FreeBSD 14.2-RELEASE-p1
OpenSSL 3.0.16

How can I installa speedtest cli?

I tried different way with pkd add but I'm unable to get the right version for my system.

Thank you

Title: Re: How to install speedtest cli?
Post by: meyergru on February 26, 2025, 08:02:21 PM
There is a plugin os-speedtest-community in the mimugmail repository (https://www.routerperformance.net/opnsense-repo/) which includes the CLI version.
Title: Re: How to install speedtest cli?
Post by: dirtyfreebooter on February 27, 2025, 01:01:21 AM
if you are just looking for the CLI tool, ookla doesn't have a FreeBSD 14 pkg, but the 13 pkg works fine, only you have to force install it.

pkg --force add "https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-freebsd13-x86_64.pkg"
Title: Re: How to install speedtest cli?
Post by: Isabella Borgward on July 22, 2025, 12:07:59 PM
Quote from: meyergru on February 26, 2025, 08:02:21 PMThere is a plugin os-speedtest-community in the mimugmail repository (https://www.routerperformance.net/opnsense-repo/) which includes the CLI version.

Is this still true? I installed this on 25.1 but can't work out what the speed test executable actually is.

# pkg info -lx os-speedtest-community
os-speedtest-community-0.9_6:
        /usr/local/opnsense/mvc/app/controllers/OPNsense/Speedtest/Api/DownloadController.php
        /usr/local/opnsense/mvc/app/controllers/OPNsense/Speedtest/Api/ServiceController.php
        /usr/local/opnsense/mvc/app/controllers/OPNsense/Speedtest/IndexController.php
        /usr/local/opnsense/mvc/app/models/OPNsense/Speedtest/ACL/ACL.xml
        /usr/local/opnsense/mvc/app/models/OPNsense/Speedtest/Menu/Menu.xml
        /usr/local/opnsense/mvc/app/models/OPNsense/Speedtest/Speedtest.php
        /usr/local/opnsense/mvc/app/models/OPNsense/Speedtest/Speedtest.xml
        /usr/local/opnsense/mvc/app/views/OPNsense/Speedtest/index.volt
        /usr/local/opnsense/scripts/OPNsense/speedtest/install_speedtest.sh
        /usr/local/opnsense/scripts/OPNsense/speedtest/opn_speedtest.py
        /usr/local/opnsense/service/conf/actions.d/actions_speedtest.conf
        /usr/local/opnsense/version/speedtest-community
        /usr/local/opnsense/www/js/widgets/Metadata/Speedtest.xml
        /usr/local/opnsense/www/js/widgets/Speedtest.js
        /usr/local/www/widgets/include/speedtest.inc
        /usr/local/www/widgets/widgets/speedtest.widget.php
Title: Re: How to install speedtest cli?
Post by: meyergru on July 22, 2025, 12:16:34 PM
I guess so. There is a script included named /usr/local/opnsense/scripts/OPNsense/speedtest/install_speedtest.sh, which installs the package from  "https://www.speedtest.net/apps/cli".
Title: Re: How to install speedtest cli?
Post by: Isabella Borgward on July 22, 2025, 12:18:16 PM
Right, just worked that out. For some reason, that didn't run so I just did it manually and I don't need the UI stuff anyway so removed it.