Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Speed Test and/or Graph

    Scheduled Pinned Locked Moved General pfSense Questions
    26 Posts 4 Posters 4.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bearhntrB
      bearhntr @Jarhead
      last edited by

      @jarhead

      I am not a Linux guru. Apologies.

      I tried that command from the DIAG > CMD PRMT. I get an error.

      I will do some more research. I was just hoping there was a PKG to install and a DASHBOARD tile which could be used.

      J 1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        No, there is not currently a dashboard widget for speedtest results.

        1 Reply Last reply Reply Quote 0
        • J
          Jarhead @bearhntr
          last edited by

          @bearhntr said in Speed Test and/or Graph:

          @jarhead

          I am not a Linux guru. Apologies.

          I tried that command from the DIAG > CMD PRMT. I get an error.

          I will do some more research. I was just hoping there was a PKG to install and a DASHBOARD tile which could be used.

          You have to install it first.
          pkg add "https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-freebsd12-x86_64.pkg"

          You'll either need to reboot or start the service manually and I forget the command to do that but @stephenw10 knows it.

          bearhntrB stephenw10S 2 Replies Last reply Reply Quote 1
          • bearhntrB
            bearhntr @Jarhead
            last edited by

            @jarhead

            WOO HOO -- you da man!!

            I got it to install:

            Shell Output - speedtest --accept-license

            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
            

            ==============================================================================

            License acceptance recorded. Continuing.

            Speedtest by Ookla

              Server: Sparklight - Atlanta, GA (id: 8707)
                 ISP: Comcast Cable
            

            Idle Latency: 14.98 ms (jitter: 0.53ms, low: 14.78ms, high: 15.77ms)

            Download:   355.75 Mbps (data used: 430.1 MB)
                         37.51 ms   (jitter: 3.80ms, low: 4.96ms, high: 50.58ms)
            
              Upload:    11.79 Mbps (data used: 13.5 MB)
                         23.78 ms   (jitter: 11.24ms, low: 10.47ms, high: 429.20ms)
            

            Packet Loss: 0.0%

            bearhntrB 1 Reply Last reply Reply Quote 0
            • bearhntrB
              bearhntr @bearhntr
              last edited by

              Still would be nice to have a Dashboard Panel. 😁

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator @Jarhead
                last edited by

                @jarhead said in Speed Test and/or Graph:

                You'll either need to reboot or start the service manually and I forget the command to do that but @stephenw10 knows it.

                Run: rehash so the shell knows about the new binary.

                It's hard to recommend loading pkgs from external repos when one exists in the default repo though.

                Steve

                J bearhntrB 2 Replies Last reply Reply Quote 1
                • J
                  Jarhead @stephenw10
                  last edited by

                  @stephenw10 True, but is that one still maintained? Thought it hasn't been updated in years.
                  Plus, this one is right from Ookla and made for FreeBSD.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    It still works OK as far as I can see. Tests from the firewall itself are always a compromise anyway.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • bearhntrB
                      bearhntr @stephenw10
                      last edited by

                      @stephenw10

                      Tried it -- I got this:

                      001b74de-5195-4683-a477-77e909b2b55a-image.png

                      Do you know of any way to get something on the dashboard for SpeedTest? It would be nice if it was there with a record or history - but something which required a manual update.

                      I know the ORBI I have has a speed test and there is the ANALITI I have on my phone (which I love).

                      J 1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        You have to run that at the CLI not in the gui command prompt:

                        [2.7.0-DEVELOPMENT][admin@t70.stevew.lan]/root: rehash
                        [2.7.0-DEVELOPMENT][admin@t70.stevew.lan]/root: 
                        

                        You could code a widget to do it. It would be quite involved since speedtest-cli doesn't exist as a package already. Really though you should test from a client behind the firewall. Testing from the firewall itself often gives a worse result because it uses CPU cycles to run the test and pfSense is optimised as a router and not a TCP endpoint.

                        Steve

                        1 Reply Last reply Reply Quote 1
                        • J
                          Jarhead @bearhntr
                          last edited by

                          @bearhntr said in Speed Test and/or Graph:

                          @stephenw10

                          Tried it -- I got this:

                          001b74de-5195-4683-a477-77e909b2b55a-image.png

                          Do you know of any way to get something on the dashboard for SpeedTest? It would be nice if it was there with a record or history - but something which required a manual update.

                          I know the ORBI I have has a speed test and there is the ANALITI I have on my phone (which I love).

                          You don't need to run that since speedtest has already worked for you. Guessing you did a reboot after install. It was one or the other, reboot or run rehash.

                          If you search this forum, there was a widget made for the other speedtest package (speedtest-cli) but it was abandoned long ago and probably won't work but you may be able to update it if you want.

                          1 Reply Last reply Reply Quote 1
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Yup, there are a few user efforts in this thread: https://forum.netgate.com/topic/64735/speedtest-cli-run-speedtest-on-pfsense-box

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              This works if you just want to be able to run the test from the gui.

                              Screenshot from 2022-09-15 13-44-13.png

                              No test logging / history there.

                              Of course it's 3rd party code so you should read and understand it etc.

                              1 Reply Last reply Reply Quote 0
                              • provelsP
                                provels
                                last edited by

                                Here's a post from the Before Times and what I did.
                                But this was 5 years ago and it was never a bolt-on.

                                https://forum.netgate.com/topic/64735/speedtest-cli-run-speedtest-on-pfsense-box/25?_=1663246103246

                                Peder

                                MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                bearhntrB 1 Reply Last reply Reply Quote 1
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Yeah, that would be a pretty nice diagnostic tool. With the various caveats discussed in that thread. Tools are only as good as the user!

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • bearhntrB
                                    bearhntr @provels
                                    last edited by

                                    @provels

                                    Is this still working for you? Do you have the instructions 'consolidated' some place?

                                    provelsP 1 Reply Last reply Reply Quote 0
                                    • provelsP
                                      provels @bearhntr
                                      last edited by

                                      @bearhntr Still works, but I'm afraid you'll need to muddle around like I did. Too much to list and not terribly helpful anyway, more of a "wonder if I can do this" exercise.

                                      Peder

                                      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.