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

Hi Lars

I think you can ignore what I was saying as I’ve checked the astroberry source and it configures chrony (which it uses in place of ntp) to get the date/time from the gps :-

# Set chrony to update time from GPS
if [ -e /etc/chrony/chrony.conf ] && [ -z "$(grep 'refclock SHM 0 offset 0.5 delay 0.2 refid GPS' /etc/chrony/chrony.conf)" ]; then
echo "refclock SHM 0 offset 0.5 delay 0.2 refid GPS" >> /etc/chrony/chrony.conf
fi

Read More...