astroberry-server icon indicating copy to clipboard operation
astroberry-server copied to clipboard

System time doesn't update after GPS fix

Open fliker09 opened this issue 3 years ago • 2 comments

Installed today AstroBerry. Disabled VirtualGPS service, waited for my USB GPS dongle to obtain a fix (which it did) and... system time still stuck in 12th of October :-| Am I missing something? Or it is a bug?

fliker09 avatar Oct 23 '21 15:10 fliker09

Some debugging info is required to verify this. Run chronyc sources -v to verify if GPS is used at all. If not, check /etc/chrony/chrony.conf file and make sure that the line refclock SHM 0 offset 0.5 delay 0.2 refid GPS is uncommented (no # in front of the line). If you need to edit the file, save changes and remember to restart chrony by running sudo systemctl restart chrony

rkaczorek avatar Oct 23 '21 18:10 rkaczorek

It did the trick, thanks! Without your help - wouldn't figure it out anytime soon... Why it's not set by default this way? Also, found no mentions about this in the Wiki :-
Got another question, if I may - what apps can leverage the GPS positioning? I was able to make KStars use it (which is dope!), but it seems HNSKY / Skychart / CCDciel can't - they must be configured manually, I assume?

fliker09 avatar Oct 23 '21 19:10 fliker09