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

    Link quality / packet loss command on shell

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 2 Posters 795 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.
    • C
      cat1510
      last edited by

      Hi,

      there is a command @ the cli to see the gateways and their packet loss in %.
      I'm looking for this command.
      The netgate support gave me the command some time ago, but I cannot log in into my account @ netgate. :(

      Can someone help me with the command?

      regards.

      CAT

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        think your looking for

        playback gatewaystatus

        This is available from shell/console after you put in 12
        12) PHP shell + pfSense tools

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • C
          cat1510
          last edited by

          @johnpoz said in Link quality / packet loss command on shell:

          playback gatewaystatus

          Right!
          Thank you!
          Exactly what I was looking for.

          Can I run this command through a shell or only via developer shell?

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            if you ssh to pfsense, you will get the menu - hit 12 and then you can use the command. Off the top of my head not sure if you login with some account via ssh that does not give you the menu, not sure how you can exec the command.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • C
              cat1510
              last edited by

              It works:

              /root: pfSsh.php playback gatewaystatus

              Thank you again... :)

              1 Reply Last reply Reply Quote 1
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                great! Good info for the next guy for sure.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • C
                  cat1510
                  last edited by

                  yes. I hope so.

                  the complete ssh command works too, like:

                  #ssh -A -p22 root@gateway pfSsh.php playback gatewaystatus
                  Name Monitor Source Delay StdDev Loss Status
                  WAN_PPPOE 9.9.9.9 79.227.208.185 24.827ms 0.337ms 0.0% none

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