davetelling
I'm trying to use a GPS dongle to keep the system clock in sync when using FT-8 in the field. I was able to do this in the past, but did the latest system update, and although gpsd shows that the dongle is being read, and GPS data are available, and I've edited the config files to use the GPS (it is titled NMEA in chrony config file), I can never get chrony to use the GPS data, even if I turn off network access in an effort to force it to use the GPS time. I'm kind of stuck - has anyone done a successful implementation of this? My GPS is a ublox-7 based system.
Reply 0 0
CanadianHam
I use a Glonas GPS dongle on my Windows Mini-PC, not tried it on Quadra because I am usually connected on line and use TIME.IS but there might come a time I am sat on a Park-Bench without WiFi... thoughts my cellfone has a GPS - why not OTG to my Quadra.. end of thoughts - brain hurts trying to do Windows simple stuff with Linux..
 
However this info might help:
 
 
Post a reply if it does..
 
73
Reply 0 0
davetelling
Thanks, CanadianHam! I actually found my error after squinting at config files multiple times. A setting in the gpsd config is supposed to be "-n"; I did not put in the "-". Once I did that, all was ducky!
However - I totally agree about Linux. I've used a variety of O/S's since DOS 1.25 (!), and the "..ux" systems have always proved give me the most problems. I have used several radios with a Signalink interface, and the IC-7300 and Xiegu X6100 in "native" USB interface mode on W10, and it was a trivial effort to get them working. Linux is wrestling with an octopus! I bought the Quadra as I wanted a small, low power portable FT-8 platform, but it has not been particularly user-friendly to get set up.
73,
KJ7WT
Reply 0 0
JReed
What dongle did you get? I went and did a POTA activation and found that I need a time source like you did.
Reply 1 0
davetelling
 
Reply 2 0
JReed
Thank you Sir! Got it coming Monday. If I run into issues I hope you don't mind if I ask for help
Reply 0 0
davetelling
 
JReed wrote:
Thank you Sir! Got it coming Monday. If I run into issues I hope you don't mind if I ask for help
I'll do my best, but most of what I found out was through trial and error!
This website helped out, BUT - it references some packages that caused errors upon installation (some Python-based stuff, apparently)
I just installed gpsd, gpsd-clients, and chrony.
In the setup file for  gpsd ( /etc/default/gpsd), use the settings recommended EXCEPT change usbauto to "false". Having that set as true is what screwed up my IC-7300 serial connection. Also (as I found out after dithering around for far too long), make sure that the line GPSD_OPTIONS shows "-n". I forgot the dash, and NEMA never showed up as a reliable source.
in the chrony config file, you don't need to add all of the servers listed, just the line:
refclock SHM 0 refid NMEA offset 0.000 precision 1e-3 poll 3 
I would also change the offset to .01 , as that shoould be close enough for most ham work. His article is for setting up an extremely accurate time system, and I did not need that level of accuracy.
He goes through a lot of stuff about checking the average offset from GPS, which I really didn't need. Use Step 6 info to make sure chrony shows that your GPS is being read and is a valid source. That's  about all I can think of right now!
Reply 1 0
JReed
Dave,
 
Thanks for that! Between that info and my Linux mentor I think I got it working!
Reply 0 0
davetelling
JReed wrote:
Dave,
 
Thanks for that! Between that info and my Linux mentor I think I got it working!
Excellent! 
Reply 1 0
JReed
Out of curiosity did you do the NTP portion of that write up or stop after you got Chrony done? I stopped at the completion of Chrony and step 6 says it is working fine. I even turned networks off shut down the quadra for an hour and booted it back up and time synched instantly. 
Reply 0 0
davetelling
JReed wrote:
Out of curiosity did you do the NTP portion of that write up or stop after you got Chrony done? I stopped at the completion of Chrony and step 6 says it is working fine. I even turned networks off shut down the quadra for an hour and booted it back up and time synched instantly. 
I just did the chrony setup, as that seems to work well for me.
Reply 1 0
JReed
Got ya, figured I would double check to make sure I didn't need too
 
Reply 0 0
Michael Burmeister-Brown inovato
This should now be supported by our Ham Apps installer.  If you install Conky, it will set everything up for the VK-162 (ttyACM0) and IC-705 (ttyACM1) internal GPS.  Time sync via GPS should happen automatically when you aren't on the network, and Conky should display your lat/long/gridsquare.  Let me know if this works for you.
Reply 1 0
JReed
I imagine it would work great if I had a 705 😁.
Reply 1 0
Michael Burmeister-Brown inovato
Which GPS do you have? 
Reply 1 0
Reply