Can we install Speedtest CLI on OPNsense ?

Started by hushcoden, April 03, 2021, 09:14:37 PM

Previous topic - Next topic
possible to be able to select which connection? to test?

Sorry to duplicate.. but is this the error message?

***GOT REQUEST TO INSTALL***
Currently running OPNsense 23.7.1_3 at Wed Aug 16 12:44:43 EDT 2023
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating mimugmail repository catalogue...
mimugmail repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
os-speedtest-community: 0.9_3 [mimugmail]

Number of packages to be installed: 1

8 KiB to be downloaded.
[1/1] Fetching os-speedtest-community-0.9_3.pkg: .. done
Checking integrity... done (0 conflicting)
[1/1] Installing os-speedtest-community-0.9_3...
[1/1] Extracting os-speedtest-community-0.9_3: .......... done
Stopping configd...done
Starting configd.
Reloading plugin configuration
Configuring system logging...Error opening plugin module; module='examples', error='/usr/local/lib/syslog-ng/libexamples.so: Undefined symbol "random_choice_generator_parser"'
done.
Checking integrity... done (0 conflicting)
Nothing to do.
***DONE***

I got really wonky results from mimugmail speedtest. So, found this:
https://forum.opnsense.org/index.php?topic=35731.msg173764#msg173764

I got like 20-30MB/s with the speedtest-cli from the firewall, but almost 1GB/s speed through the firewall from a host. The speedtest above gave me more accurate results of in and out directly from the firewall.

root@fw:~ # speedtest

   Speedtest by Ookla

      Server: Telia Sweden AB - Stockholm (id: 45936)
         ISP: Ownit Broadband
Idle Latency:     0.58 ms   (jitter: 0.19ms, low: 0.54ms, high: 1.29ms)
    Download:   936.40 Mbps (data used: 433.9 MB)
                  3.18 ms   (jitter: 6.11ms, low: 0.89ms, high: 207.00ms)
      Upload:   937.42 Mbps (data used: 421.8 MB)
                 14.21 ms   (jitter: 3.47ms, low: 1.35ms, high: 22.77ms)
Packet Loss:     0.0%

@mimugmail isn't it possible to use only one specified speedtest server?
from my side it's only possible to get servers which are far away from my location.
The nearest one for me is normally "Contabo - Dusseldorf (id: 35154)".
But it's not possible to use it in the webui either in the ssh terminal.

Are the Servers Hardcoded?
Protectli FW4B
Intel J6412 4 cores
4x Intel I225-V 2,5 Gbit/s
16 GB memory
480 GB m.2 SATA SSD storage
Coreboot

November 12, 2023, 04:10:44 PM #19 Last Edit: November 12, 2023, 04:37:58 PM by hushcoden
@0zzy check with -h or --help what the options are, I believe you can get the list of the nearest servers and you can also specify a server ID to test against.


Quote from: hushcoden on November 12, 2023, 04:10:44 PM
@0zzy check with -h or --help what the options are, I believe you can get the list of the nearest servers and you can also specify a server ID to test against.
done it already the options are still there, but its not possible to get these I prefer.
Protectli FW4B
Intel J6412 4 cores
4x Intel I225-V 2,5 Gbit/s
16 GB memory
480 GB m.2 SATA SSD storage
Coreboot