pkg update ; pkg install -y py37-speedtest-cli
$ sudo speedtest-cliPassword:Retrieving speedtest.net configuration...Traceback (most recent call last): File "/usr/local/bin/speedtest-cli", line 11, in <module> load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest-cli')() File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1986, in main shell() File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1875, in shell secure=args.secure File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1091, in __init__ self.get_config() File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1174, in get_config map(int, server_config['ignoreids'].split(','))ValueError: invalid literal for int() with base 10: ''
pkg add "https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-freebsd.pkg"
$ pkg remove py37-speedtest-cli-2.1.2Checking integrity... done (0 conflicting)Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):Installed packages to be REMOVED: py37-speedtest-cli: 2.1.2Number of packages to be removed: 1Proceed with deinstalling packages? [y/N]: y[1/1] Deinstalling py37-speedtest-cli-2.1.2...[1/1] Deleting files for py37-speedtest-cli-2.1.2: 100%$ pkg add "https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-freebsd.pkg"Fetching ookla-speedtest-1.0.0-freebsd.pkg: 100% 520 KiB 532.1kB/s 00:01Installing speedtest-1.0.0.2-1.5ae238b...Extracting speedtest-1.0.0.2-1.5ae238b: 100%$ speedtestld-elf.so.1: Shared object "libidn2.so.0" not found, required by "speedtest"
$ pkg search libidn2libidn2-2.3.0_1 Implementation of IDNA2008 internationalized domain names$ pkg install libidn2-2.3.0_1Updating OPNsense repository catalogue...OPNsense repository is up to date.All repositories are up to date.Updating database digests format: 100%The following 2 package(s) will be affected (of 0 checked):New packages to be INSTALLED: libidn2: 2.3.0_1 libunistring: 0.9.10_1Number of packages to be installed: 2The process will require 3 MiB more space.609 KiB to be downloaded.Proceed with this action? [y/N]: y[1/2] Fetching libidn2-2.3.0_1.txz: 100% 110 KiB 112.8kB/s 00:01[2/2] Fetching libunistring-0.9.10_1.txz: 100% 498 KiB 510.4kB/s 00:01Checking integrity... done (0 conflicting)[1/2] Installing libunistring-0.9.10_1...[1/2] Extracting libunistring-0.9.10_1: 100%[2/2] Installing libidn2-2.3.0_1...[2/2] Extracting libidn2-2.3.0_1: 100%
root@router:/home/mirco # speedtest...Do you accept the license? [type YES to accept]: YESLicense acceptance recorded. Continuing. Speedtest by Ookla Server: HABNET - Frankfurt (id = 27673) ISP: Deutsche Telekom AG Latency: 7.51 ms (0.08 ms jitter) Download: 102.79 Mbps (data used: 78.3 MB) Upload: 40.85 Mbps (data used: 18.5 MB)Packet Loss: 0.0% Result URL: https://www.speedtest.net/result/c/MYRESULT