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

    USB GPS receiver

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 3 Posters 1.4k 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.
    • JKnottJ
      JKnott @stephenw10
      last edited by JKnott

      @stephenw10

      Well, that's a bit better. It's now listed in the status.

      5a34b011-07ea-456b-b5ef-094c054b8e79-image.png

      I guess that Unreach/Pending means it's not getting a signal.

      But it will work when you WAN is down.

      We had a 14 hour failure on July 8. It took out Internet, IPTV, home phone and cell phone service. It was caused by a router software update.

      It's cool to see the location link on the dashboard widget.

      I have the NTP status widget. Is there another one?

      tnx jk

      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...

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

        @jknott said in USB GPS receiver:

        Is there another one?

        Nope. You will see the link to Google maps there when it see a valid NMEA signal.

        ntp-widget.png

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

          @stephenw10

          It looks like I may be out of luck. ๐Ÿ˜ฆ

          I have a GPS test app on my cell phone. Inside my condo, it occasionally shows 1 or 2 satellites. When I step outside, I have 24 in view.

          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
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Mmm, well that won't help!

            First troubleshooting step though is disable it in ntp and just connect to it from the command line. Make sure it's outputting _something _ at the baud rate you expect.

            Steve

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

              @stephenw10

              I hooked it up to my Linux computer and used minicom @ 4800 b/s and get this:

              $GPRMC,000103.044,V,,,,,,,110905,,,N43
              $GPGGA,000104.056,,,,,0,00,,,M,0.0,M,,0000
              50
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000104.056,V,,,,,,,110905,,,N
              47
              $GPGGA,000105.045,,,,,0,00,,,M,0.0,M,,000053
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000105.045,V,,,,,,,110905,,,N
              44
              $GPGGA,000106.045,,,,,0,00,,,M,0.0,M,,0000
              50
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000106.045,V,,,,,,,110905,,,N
              47
              $GPGGA,000107.056,,,,,0,00,,,M,0.0,M,,000053
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000107.056,V,,,,,,,110905,,,N
              44
              $GPGGA,000108.045,,,,,0,00,,,M,0.0,M,,0000
              5E
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000108.045,V,,,,,,,110905,,,N
              49
              $GPGGA,000109.045,,,,,0,00,,,M,0.0,M,,00005F
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000109.045,V,,,,,,,110905,,,N
              48
              $GPGGA,000110.057,,,,,0,00,,,M,0.0,M,,0000
              54
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000110.057,V,,,,,,,110905,,,N
              43
              $GPGGA,000111.045,,,,,0,00,,,M,0.0,M,,000056
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000111.045,V,,,,,,,110905,,,N
              41
              $GPGGA,000112.045,,,,,0,00,,,M,0.0,M,,0000
              55
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000112.045,V,,,,,,,110905,,,N
              42
              $GPGGA,000113.057,,,,,0,00,,,M,0.0,M,,000057
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000113.057,V,,,,,,,110905,,,N
              40
              $GPGGA,000114.045,,,,,0,00,,,M,0.0,M,,0000
              53
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000114.045,V,,,,,,,110905,,,N
              44
              $GPGGA,000115.045,,,,,0,00,,,M,0.0,M,,000052
              $GPGSA,A,1,,,,,,,,,,,,,,,1E
              $GPRMC,000115.045,V,,,,,,,110905,,,N
              45
              $GPGGA,000116.057,,,,,0,00,,,M,0.0,M,,0000
              52
              $GPGSA,A,1,,,,,,,,,,,,,,,*1E

              I suspect it's working or at least would if I had a decent signal. PfSense saw it, when I selected the right com port.

              According to that GPS test app, I have a decent signal at the other end of my condo, but that's quite a way from my "office".

              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
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Yup, it's sending NMEA sentences at the expected baud rate. Just no data, presumably because there's no signal. ๐Ÿ˜ž

                B 1 Reply Last reply Reply Quote 0
                • B
                  bmcgover @stephenw10
                  last edited by

                  @stephenw10

                  it occasionally shows 1 or 2 satellites. When I step outside, I have 24 in view.

                  You need at least three for rough location data. I'm guessing the timing signal will come with the location sentence (its been awhile since I've done NEMA stuff).

                  With 4, you'll start to get error correction, and each subsequent satellite with make it "better".

                  An external antenna (as big as possible if you're indoors, better will be something you can put outside) will help here if the device supports it. If it doesn't have an external antenna, you may have to arrange for the device to be outside for good reception. I have a little USB one myself, and it works best when the magnet has it attached to the top of the truck - not so good even when its in the truck.

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

                    Yeah, I used a USB extension cable to get the receiver out the window. Works fine there, for what it is (no PPS).

                    Steve

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

                      @bmcgover

                      The problem here is the building my condo is in. Outside my window is a walkway connecting the units and then stairs beyond that. So, even when I'm right next to the window, I'm still quite a way from "outside". At the other end of my unit, the window really is next to outside and I can get satellites there. I've long had RF problems here, whether it's cell phones or broadcast radio. I use Wifi calling on my cell phone for that reason.

                      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...

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

                        @stephenw10

                        For me, I'd have to use an extension through the wall and over a walkway, before I can get a decent signal.

                        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
                        • B
                          bmcgover @JKnott
                          last edited by

                          @jknott
                          Yup. "Clear view of the sky" is a general GPS requirement for both signal strength AND being able to see enough satellites. The signals aren't overly strong to start with, and once you do start any penetration with a density higher than "sea level air", you'll start to pick up distortions pretty quickly.

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

                            @bmcgover said in USB GPS receiver:

                            The signals aren't overly strong to start with

                            That is a massive understatement. ๐Ÿ˜‰ When you look into GPS you find it requires some engineering blackmagic to detect the signals at all even in the best conditions. Something everyone takes for granted these days.

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