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

    What the "Timeservers" field (in the general setup) does?

    General pfSense Questions
    3
    5
    497
    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.
    • L
      lucasg
      last edited by

      Hello,

      I have two XG-1541. In System > General Setup, I have added my internal NTP server's IP in the "Timeservers" field.

      After 4 days of uptime, I saw a time drift of 30 secs with the reality on one of my XG, 55 secs on the another. I ran ntpdate from ssh: it corrected the drift.
      After 9 days of uptime (and 5 days from the last manual ntpdate), I saw a time drift of 11 secs and 13 secs. I executed ntpdate from ssh (it corrected the drift).
      After 11 days (and 2 days), I saw 2 secs.
      After 19 days (and 10 days), I saw 24 secs.

      I think I need to run ntpd from Services > NTP.

      But I wonder what the "timeservers" field is for in general setup? It runs ntpdate at boot time? It runs ntpdate periodically?

      I have read the doc (https://docs.netgate.com/pfsense/en/latest/config/general.html) but it does not answer my question.

      Bye.

      johnpozJ JKnottJ 2 Replies Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @lucasg
        last edited by

        Where are you getting this time drift from? The ntp monitoring graph? Or like the gui time on the dashboard?

        I see drift in fractions of ms.. Is ntp server running?

        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.7.2, 24.11

        L 1 Reply Last reply Reply Quote 0
        • L
          lucasg @johnpoz
          last edited by

          @johnpoz

          "Where are you getting this time drift from?"
          => 1) "ntpdate <internal NTP server>" from SSH shell ; or 2) "date" from SSH shell and compare its output with my desktop (my desktop is synced on my internal NTP server by ntpd).

          "Is ntp server running?"
          => On pfSense? No. As I wrote, I know I probably need to enable it, but before doing that I'm asking what the "timeservers" field in general setup does (running ntpdate at boot? or running ntpdate periodically? or configure ntpd without enable it? or…)

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

            Hmmm - not exactly sure on that.. Have never run pfsense without running the ntp server portion. I don't point my clients to pfsense either since I run my own local stratum 1 ntp server as well. Pfsense points to this along with all my other clients.

            I just point ntp in pfsense towards it. But I am not exactly sure what that entry does if you don't have ntp server actually enabled on pfsense..

            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.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • JKnottJ
              JKnott @lucasg
              last edited by

              @lucasg said in What the "Timeservers" field (in the general setup) does?:

              I have two XG-1541. In System > General Setup, I have added my internal NTP server's IP in the "Timeservers" field.

              What are your internal servers using for a source? I have pfsense configured to use 3 stratum 1 servers and 1 stratum 2.

              PfSense running on Qotom mini PC
              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
              UniFi AC-Lite access point

              I haven't lost my mind. It's around here...somewhere...

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