Navigation

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

    General setup / NTP time server

    General pfSense Questions
    5
    6
    3400
    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
      bushtor last edited by

      Hi,

      I have pool.ntp.org set up as my ntp server, but it does not seem to update my system TOD clock.  It is written a reminder that I need to set up at least one DNS server name if I enter a host name here.  My wan receives its IP propwerties via DHCP.  Isn't this good enough, do I still need to put a DNS server IP address at my General Setup page..?

      If that is not needed, any tips on how to troubleshoot my ntp sycning not working?

      regards

      tor

      1 Reply Last reply Reply Quote 0
      • H
        hoba last edited by

        If you go to diagnostics>ping and try to ping something like google.com do you get nameresolution? Also do you see DNS-Servers listed at status>interfaces, WAN? If your DNS ist not working you can manually specify DNS servers at system>general.

        1 Reply Last reply Reply Quote 0
        • N
          newmember last edited by

          Here are a few things I found.

          Openntp only starts at boot.
          You can stop it then start it again.

          When the server is running you cant use ntpdate.
          You can use ntpdate after you stop openctp server.

          ntpdate pool.ntp.org

          Since opentpd has made it to base, we should celebrate and add:
          option time-servers
          option ntp-servers
          to dhcp.

          In dnsmasq world these options would be "dhcp-option=42,192.168.1.1"  where the IP address is the pfsense interface that openntpd is running on.

          Cheers

          1 Reply Last reply Reply Quote 0
          • F
            fernandotcl last edited by

            @newmember:

            Openntp only starts at boot.
            You can stop it then start it again.

            What do you mean? It doesn't start the first time you configure it?

            @newmember:

            When the server is running you cant use ntpdate.
            You can use ntpdate after you stop openctp server.

            What do you mean? Why can't you use ntpdate, what error are you getting, what command are you using (ntpdate pool.ntp.org?)?

            1 Reply Last reply Reply Quote 0
            • W
              windexh8er last edited by

              I guess I don't get how NTP is supposed to work in the build today either…  I'm running 1.0.1-SNAPSHOT-03-23-2007 and I don't see much for time sync.

              First of all, I'm used to using ntpq -p to check sync status.  Maybe there is something else, and I'm ignorant, but how can I check to see what time servers are actually being referenced for time?

              Second of all, if I do a ps -aux | grep ntp I get:

              root     730  0.0  0.2  1376   908  ??  Ss   Sun10AM   0:00.33 ntpd: [priv] (ntpd)
              _ntp     729  0.0  0.2  1344   908 con- S    Sun10AM   0:03.07 ntpd: ntp engine (ntpd)
              

              …is this right?  It looks like the daemon is running, however in my logs I only see 1 ntpdate command that got logged.  Nothing else (and this ntpdate is from over 3 days ago).

              Can someone shed some light please?  I'm sure it's probably just me, but...  I'd like to get a better handle on how NTP is supposed to operate.

              Thanks!!!

              1 Reply Last reply Reply Quote 0
              • W
                windexh8er last edited by

                I also noticed that /etc/rc.d/ntpd start | stop | restart | status | poll – none of the options, do anything.  I haven't looked much at it either, but again, probably my lack of understanding here.  Just seems to work a lot differently then I would expect.

                Thanks, again, for any insight!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post