Installing CLI speedtest client
-
I'm trying to install the CLI speedtest client, as described here. I've been trying to install the FreeBSD version, according to the instructions, though it was necessary to remove the "sudo" commands. When I try to run the 2nd instruction, which downloads and installs the package, it fails with the error :
"pkg: wrong architecture: FreeBSD:12:x86:64 instead of FreeBSD:11:amd64
Failed to install the following 1 package(s): https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-freebsd.pkg"
I thought x86_64 and amd64 were the same thing.
Any idea how to get around this?
Also, any chance of adding this to the available packages? Seems to me it might be useful.
-
@jknott said in Installing CLI speedtest client:
I thought x86_64 and amd64 were the same thing.
Before hitting that possible question, the "12" implies your using the upcoming 2.5.0. is that so ?
remember 2.4.5-p1 is FreeBSD 11.3 based.I know it exists for 2.4.5-p1 as :
[2.4.5-RELEASE][admin@pfsense.mylocallan.local]/root: speedtest-cli Retrieving speedtest.net configuration... Testing from Orange (82.126.44.254)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by ORANGE FRANCE (Paris) [1.88 km]: 31.352 ms Testing download speed................................................................................ Download: 15.59 Mbit/s Testing upload speed...................................................................................................... Upload: 2.33 Mbit/s
There is a big "speedtest-cli" forum thread. Also some one who made a GUI widget.
edit : Pick any : https://forum.netgate.com/search?term=speedtest-cli&in=posts&matchWords=all&timeRange=31104000&timeFilter=newer&sortBy=relevance&sortDirection=desc&showAs=posts
And there is also the "no-speedtest-on-a-router-as-it-makes-no-sense" association present on this forum ;)
-
I'm running 2.4.5-p1. Where did you find it? I looked in the available packages and that command isn't available on my system.
I was just curious to see how performance compares between pfsense and a computer behind it.
-
@jknott :
Found it :
[2.4.5-RELEASE][admin@pfsense.mylocallan.local]/root: pkg search speed py37-speedtest-cli-2.1.1 Command line interface for testing internet bandwidth
So :
pkg install py37-speedtest-cli-2.1.1
will do.
-
That did it. I'm not that familiar with the BSD way of doing things. I've been using rpm based Linux distros for many years.
Anywho, it works and shows 669.04 Mb down on a 500 Mb connection and also that I'm 6.74 Km from the server. I had thought it was closer to 8. The browser based speedtest on my computer has shown as high as 720 Mb. Next, I'll have to see if it uses IPv6, as the browser version does.
tnx
-
Hmmm... I just tried again and it selected a different site from my ISP.
This one is the head end I'm connected to:
Selecting best server based on ping...
Hosted by Rogers (Mississauga, ON) [6.74 km]: 17.295 ms
Testing download speed................................................................................
Download: 669.04 Mbit/sAnd this one is just east of Toronto's Pearson airport, in the opposite direction:
Hosted by Rogers (Etobicoke, ON) [17.59 km]: 13.581 ms
Testing download speed................................................................................
Download: 648.66 Mbit/s -
At higher speeds (and I count that as high ) the speedtest cli client becomes less accurate in my experience. Also testing from the firewall itself will almost always give you a lower result.
But consistent though which is is nice.Steve
-
As per this page How To Install Speedtest-cli On a FreeBSD To Check Internet Speed, I simply ran these two commands in the GUI at Diagnostics / Command Prompt / Execute Shell Command:
pkg search speedtest
This returned the following:
py38-speedtest-cli-2.1.3
Command line interface for testing internet bandwidthso I ran this command:
pkg install -y py38-speedtest-cli-2.1.3
Then from there I simply run speedtest
-
ssh into pfsense box > shell >
pkg install -g libidn2 ca_root_nss
pkg add "https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-freebsd.pkg"
then simple run speedtest
-
This post is deleted!