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

    How long WAN connected ?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.1k Views 3 Watching
    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.
    • B Offline
      bgroper
      last edited by

      Hi forum
      Is there someplace to see how long the WAN has been connected ?
      TIA's

      I'm not a complete idiot. There's still a few pieces missing.

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

        It depends on the WAN type. It will show you in Status > Interfaces if it's a ppp connection.

        Otherwise you can check the dhcp logs for dhclient entries to see when it last renewed.

        Steve

        1 Reply Last reply Reply Quote 0
        • B Offline
          bgroper
          last edited by bgroper

          Thanks for reply.
          My WAN is having a DHCP connection, thru a bridged VDSL2 modem. No PPP needed.
          Its a shame the WAN connection time is not already shown on the dashboard someplace.
          Would be nice to see the hours, days weeks. months, whatever.
          Also, I wonder whether trawling thru DHCP logs will actually reveal any reconnection/s, or whether it just shows timestamps for any periodic renewal of DHCP lease.
          Whenever there's any problems with remote access to server/s in DMZ, its helpful to know whether there's been a connection problem at our end.
          Is there any howto or guide describing how to add a custom widget to the dashboard ?

          Edit. I'm familiar with access to uptime data when using PPPoE. Will need to ponder whether similar data is available when using DHCP. Hmmm.

          I'm not a complete idiot. There's still a few pieces missing.

          1 Reply Last reply Reply Quote 0
          • GertjanG Offline
            Gertjan
            last edited by

            Info you can use :
            DHCP requests. Note that DHCP renewal is just an extending of the exiting lease.
            With a WAN set up as DHCP-client, it's actually the system uptime of your pfSense and the upstream router, that gives you the duration of the up time of the link. Use UP's on both, and the ISP link becomes the critical factor.

            Also : thing about the dpinger logs.
            And the Status > Monitoring : Quality / WAN_DHCP chart.

            I'm using myself a remote Munin, that questions pfSense every 5 minutes.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            B 1 Reply Last reply Reply Quote 1
            • B Offline
              bgroper @Gertjan
              last edited by

              @gertjan
              And the Status > Monitoring : Quality / WAN_DHCP chart.

              Thanks for this tip. Works nicely. +1
              The recent spike in packet loss and delay clearly shows a WAN outage.

              I'm not a complete idiot. There's still a few pieces missing.

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