Dobrica Pavlinušić's random unstructured stuff
NTP: Revision 10
Installing Stratum II NTP server on RaspberryPi using SiRF STAR III gps Links
Raspbian installationroot@ntpi:/home/pi# systemctl start ssh root@ntpi:/home/pi# systemctl enable ssh pi@ntpi:~ $ grep pps /boot/config.txt dtoverlay=pps-gpio,gpiopin=18 pi@ntpi:~ $ sudo apt-get install pps-tools # reboot, after it: pi@ntpi:~ $ dmesg | grep pps [ 30.331047] pps_core: LinuxPPS API ver. 1 registered [ 30.331066] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 30.352868] pps pps0: new PPS source pps.-1 [ 30.352966] pps pps0: Registered IRQ 178 as PPS source root@ntpi:~# systemctl disable systemd-timesyncd root@ntpi:~# systemctl stop systemd-timesyncd pi@ntpi:~ $ hcitool scan Scanning ... 00:02:78:10:A2:32 SJ GPS fix pps signal from this GPS and test again root@ntpi:/home/pi# grep pps /boot/config.txt dtoverlay=pps-gpio,gpiopin=18,assert_falling_edge root@ntpi:/home/pi# ppstest /dev/pps0 | head trying PPS source "/dev/pps0" found PPS source "/dev/pps0" ok, found 1 source(s), now start fetching data... source 0 - assert 1516805100.156350675, sequence: 70193 - clear 0.000000000, sequence: 0 source 0 - assert 1516805100.176368675, sequence: 70195 - clear 0.000000000, sequence: 0 source 0 - assert 1516805100.196339675, sequence: 70196 - clear 0.000000000, sequence: 0 source 0 - assert 1516805100.216363675, sequence: 70198 - clear 0.000000000, sequence: 0 source 0 - assert 1516805100.236378675, sequence: 70200 - clear 0.000000000, sequence: 0 source 0 - assert 1516805100.256385675, sequence: 70202 - clear 0.000000000, sequence: 0 source 0 - assert 1516805100.276392675, sequence: 70204 - clear 0.000000000, sequence: 0 ntp serverroot@ntpi:/home/pi# apt-get install ntp |