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

    NTP with GPS/GNSS modules - for posting your settings

    Scheduled Pinned Locked Moved Hardware
    2 Posts 2 Posters 263 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.
    • P
      pbe
      last edited by pbe

      Hi,

      since that there are so many GPS/GNSS modules out there, why not have a thread where anyone can post their setup and pfSense settings?

      I'll kick off with mine:

      On Amazon I got the LocoSys LU23030-V2 Dual-Band GNSS receiver - USB version.
      I'm running pfSense 2.7.x in ProxMox and I've been able to get a reasonably accurate clock.
      The only issue is that the NTP widget doesn't show how many satellites are in use, even though the puck does provide the data when testing with several other GPS NMEA software.
      Below my current settings.

      First, PfSense System tunables:

      hw.usb.ucom.pps_mode = 2
      

      This enables the option to use PPS on the DCD pin, which is connected in the internal UART of the GPS module. And yes, you'll see the PPS processing disabled in the settings below which I use now. Over time I'll experiment some more.

      The Serial GPS settings:

      GPS Type= custom
      Serial port= depends on the VM or device.
      Serial port speed= 115200 (its the default of this LOCOSYS puck)
      NMEA Sentences= ALL
      fudge1= 0.0021
      fudge2= 0.0620
      Min. poll= 8 seconds (3)
      Max. poll= 32 seconds (5)
      Prefer this clock     X
      Do not use this clock -
      Enable PPS processing -
      Enable falling        X
      Enable kernel PPS dis X
      Obscure location      -
      Log subsecond         -
      Display extended GPS  X
      

      GPS initialisation strings:

      $PAIR512*3C
      $PAIR753,1*26
      $PAIR755,1,1*3D
      $PAIR080,4*2A
      $PAIR050,100*22
      $PAIR006*3C
      

      The result so far:
      Screenshot 2024-09-03 at 16.26.39.png

      1 Reply Last reply Reply Quote 1
      • E
        elvisimprsntr
        last edited by elvisimprsntr

        Congratulations on your efforts.

        I went a different route to eliminate any USB and virtualization delays/errors.

        https://github.com/elvisimprsntr/pfsense-ntp-gps

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