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

    NTP Options

    Scheduled Pinned Locked Moved Forum Feedback
    19 Posts 7 Posters 13.3k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      I've got a USB serial GPS that it works with, though the unit is of slightly questionable quality as it seems to lock on to a GPS point about 25 miles away from where I actually am.

      Anyhow, as it says on the page, anything that outputs the right signal (NMEA format output) on a serial port that the firewall can use is OK.

      Some GPS units do that automatically, others need to be configured in their settings to output in the correct format.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

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

        I am particularly liking the Google maps link.  :) Checking for continental drift?

        I guess for home use, which is where I would be deploying it, there is almost no need for 1ms accuracy in system time. What application might require this if you don't mind me asking?

        As an aside I found it particularly ironic that this year, when daylight saving time ended, about the only piece of digital equipment I had to manually update was my sat-nav.  ::) The one thing that absolutely definitely knows what time is and what time zone it's in!

        Steve

        1 Reply Last reply Reply Quote 0
        • chpalmerC
          chpalmer
          last edited by

          @stephenw10:

          What application might require this if you don't mind me asking?

          Steve

          Public Safety Applications. Logging has to be on to the second, across the board with other agencies.

          Even when the internet is down so generally we use GPS reference equipment.

          Triggering snowflakes one by one..
          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Also if you want to provide a highly accurate clock to your own users so that you don't need to rely solely on external time sources.

            I'd say for more realtime applications like stock trading but IIRC USB is too slow/inaccurate for extremely high precision (e.g. PPS) to work properly. You'd need a "real" serial GPS unit for that.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • A
              apmuthu
              last edited by

              Are there any 2.0.2 snapshots. I've only seen the v2.1 snapshots.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                http://files.nyi.pfsense.org/jimp/foo/shiny/ehrmagerd/

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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

                  @jimp what device are you using?  Cost of?  I would love to do something like this.

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

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    I forget the exact model, it was provided to me so I don't know the cost. It was going to be sold just for this type of deployment, but the quality of the devices wasn't quite what we'd hoped.

                    It still works passably for this for me, not sure how accurate it is in the long run though.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

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

                      You tweeted it much earlier Jim:

                      @JimP:

                      Navisys GR-601W USB GPS plugged into an ALIX. Nothing too fancy.

                      The problem with that particular device is that it doesn't seem to be available individually to the consumer.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        Aha, go figure twitter has a longer memory than me. ;-)

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

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

                          Does anyone have suggestion of a device?  I found this thread about that model

                          http://blog.gmane.org/gmane.comp.hardware.gps.thumbgps

                          Seems you can buy them in bulk 100 units ;)

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

                          1 Reply Last reply Reply Quote 0
                          • S
                            stoffix
                            last edited by

                            @jimp:

                            I've got a USB serial GPS that it works with, though the unit is of slightly questionable quality as it seems to lock on to a GPS point about 25 miles away from where I actually am.

                            Anyhow, as it says on the page, anything that outputs the right signal (NMEA format output) on a serial port that the firewall can use is OK.

                            The GPS unit is probably just fine.
                            The gps outputs the position in dd.mmmm (degrees,minutes(decimal minutes)). (ref. http://www.teletype.com/pages/support/Documentation/RMC_log_info.htm)
                            This data is sent to google maps, which expects the data in dd.dddd format. (degrees, decimal degrees.)

                            You can use this calculator to convert the coordinate format: http://www.gpscoordinates.eu/convert-gps-coordinates.php

                            If you try, you should see that your gps actually works properly ;)

                            1 Reply Last reply Reply Quote 0
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate
                              last edited by

                              Yep, you're right. I could swear I accounted for that in the code or used a special syntax in the google maps URL but I went back and checked again, and it didn't do the extra conversion.

                              Fixed now.. https://github.com/bsdperimeter/pfsense/commit/96a7ddb7604b4f422e2fdff3078e80109efed4dd

                              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

                              1 Reply Last reply Reply Quote 0
                              • A
                                apmuthu
                                last edited by

                                The new link for the fix is at:
                                https://github.com/pfsense/pfsense/commit/96a7ddb7604b4f422e2fdff3078e80109efed4dd

                                Also the new patches are at:
                                http://files.nyi.pfsense.org/

                                1 Reply Last reply Reply Quote 0
                                • B
                                  biggsy
                                  last edited by

                                  This was fun to build and configure.  Not as challenging as it could have been, though, if someone hadn't already compiled an image for the Pi: http://ntpi.openchaos.org/downloads/

                                  Lots of useful info at this site, including the above link: http://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html

                                  Maybe one day I'll get around to putting it all in a box and mount the antenna where it has a better view of the sky.  It's just sitting next to the window at the moment so the time is not that good - but always less than a second out (normally about 250-300ms).

                                  1 x Adafruit Ultimate GPS Breakout - 66 channel w/10 Hz updates (Version 3) [ID:746] = $39.95
                                  1 x Raspberry Pi Model B 512MB RAM[ID:998] = $39.95
                                  1 x SMA to uFL/u.FL/IPX/IPEX RF Adapter Cable[ID:851] = $3.95
                                  1 x GPS Antenna - External Active Antenna - 3-5V 28dB 5 Meter SMA[ID:960] = $12.95

                                  About $100 plus shipping.

                                  My pfSense runs in a VM on the free version of ESXi, so there was no way to pass in the PPS signal on a serial port.

                                  063.jpg
                                  063.jpg_thumb
                                  ![2013-07-02 21-02-23.png](/public/imported_attachments/1/2013-07-02 21-02-23.png)
                                  ![2013-07-02 21-02-23.png_thumb](/public/imported_attachments/1/2013-07-02 21-02-23.png_thumb)

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