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

    NTP Serial GPS not working in 2.6.0-RELEASE

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 4 Posters 837 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.
    • D
      digitalgimpus
      last edited by

      Noticed this weeks ago but haven't had the opportunity to dig in until today...

      (Garmin) GPS was working flawlessly in 2.5, in 2.6 it's a no-go. No real changes in a long time since NTP is basically set-it-and-forget-it.

      Only thing suspicious in the log is:

      May 29 18:37:14	ntpd	98558	kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
      May 29 18:37:14	ntpd	98558	kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
      

      And on the status page I see:
      Unreach/Pending 127.127.20.0 where the GPS connection should be in the list of peers.

      Curious if anyone's seen similar behavior. I don't see anything in the changelog to suggest any changes here, but maybe it's something FreeBSD related.

      NollipfSenseN 1 Reply Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense @digitalgimpus
        last edited by

        @digitalgimpus Is the GPS device USB? If so, heed this warning from here: https://docs.netgate.com/pfsense/en/latest/services/ntpd/gps.htm

        Screen Shot 2022-05-29 at 5.51.24 PM.png

        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

        D 1 Reply Last reply Reply Quote 0
        • D
          digitalgimpus @NollipfSense
          last edited by

          @nollipfsense Negative, I should have mentioned that. It's a serial GPS.

          T 1 Reply Last reply Reply Quote 0
          • T
            tquade @digitalgimpus
            last edited by

            @digitalgimpus Make sure that the console (or other service) are not directed to the serial port. I recall some changes recently regarding this matter (console).

            I am running NTP with a serial Garmin GPS with few problems on 22.01-RELEASE (amd64).

            Ted

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

              Mmm, I'm not aware of any particular issues in 2.6.
              Make sure it's still sending useful data to the port.

              Those errors are normal when ntpd first starts. It doesn't sync until it has valid data to use which can rake some time.

              Steve

              1 Reply Last reply Reply Quote 1
              • D
                digitalgimpus
                last edited by

                @tquade Checking in advanced, set to video console and the serial console is unchecked. So unless there's something else that can use it, I don't think that's the case.

                T 1 Reply Last reply Reply Quote 0
                • T
                  tquade @digitalgimpus
                  last edited by tquade

                  @digitalgimpus Try running cu against the serial port to see if NMEA Sentences are being pushed out.

                  cu -l cuaU0 -s 4800

                  Ted

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

                    It might be 9600bps. Or it might have reverted to defaults causing the problem?

                    The port is a real serial port so it will be cuau0 or cuau1. The upper case U implies a USB connected serial port.

                    Steve

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