Anton TETERIN d0250eef32 * organizing /A | 1 year ago | |
---|---|---|
.. | ||
README.md | 1 year ago |
#
#
apt install gpsd gpsd-clients python-gps nano /etc/default/gpsd
DEVICES="/dev/ttyAMA0"
GPSD_OPTIONS="-n"
systemctl enable gpsd && systemctl restart gpsd systemctl status gpsd
nano /boot/config.txt
dtoverlay=pi3-miniuart-bt
core_freq=250
shutdown -r now
cgps -s gpsmon -n
apt install chrony #? systemctl enable chronyd && systemctl restart chronyd systemctl status chronyd chronyc sources -v nano /etc/chrony/chrony.conf
# comment for setup, uncomment on finish (to keep for time comparison)
pool 2.fedora.pool.ntp.org iburst
pool 2.debian.pool.ntp.org iburst
# add NMEA source as time reference
refclock SHM 0 offset 0.5 delay 0.2 refid NMEA
systemctl restart chronyd chronyc sources -v
ntpshmmon
nano /etc/chrony/chrony.conf
allow 192.168.0.0/16
systemctl restart chronyd
chronyc
clients
serverstats
apt remove ntpdate
nano /etc/dhcp/dhclient.conf
# remove "request ntp-servers"
# remove "option ntp_servers"
rm
/etc/dhcp/dhclient-exit-hooks.d/ntp
/lib/dhcpcd/dhcpcd-hooks/50-ntp.conf
/var/lib/ntp/ntp.conf.dhcp (might not exist)
#
Books: