Nigel Dunmore replied to the topic 'GPS date and time wrong' in the forum. 1 year ago

Hi

that command was from the astroberry setup scripts, you don’t need to type that in. Check the file /etc/chrony/chrony.conf to see if that line is there, also check that chrony is running using sudo systemctl status chrony (I believe that’s the correct systemctl command).

If chrony is configured and running then it should be picking up updates from gpsd using the shared memory interface. These updates will then enable it to correct the system time of the raspberry. This is all outside of ekos/kstars/indi. There are commands that can show whether the updates are being seen at least for ntp and I would expect for chrony (chrony and ntp do similar jobs it’s just one of those linux choice things ). Note if you are connecting the raspberry to a network with internet access it’s quite possible that chrony will get the date/time from an internet time server which is what my system does now. There are commands (again at least for ntp but I expect the same for chrony) that show which source it has decided to use as you can configure a priority to each source.

There’s a diagram somewhere in the astroberry faqs showing how the gps system hangs together I believe.

Regards

Nigel

Read More...