Я пытаюсь использовать ntpd для точной синхронизации времени с модулем ublox gps, используя это руководство по Ubuntu 16.04.
Однако, я застрял, настраивая ntpd для прослушивания драйвера shm. В /var/log/ntp.log
я получаю следующую ошибку:
05-18T10:58:56 ntpd[6687]: newpeer: addr:127.127.28.0, name:(null), cast_flags:1, flags:1
05-18T10:58:56 ntpd[6687]: ntpd was compiled without refclock support.
05-18T10:58:56 ntpd[6687]: 127.127.28.0 local addr 127.0.0.1 -> <null>
05-18T10:58:56 ntpd[6687]: newpeer: addr:127.127.28.1, name:(null), cast_flags:1, flags:21
05-18T10:58:56 ntpd[6687]: ntpd was compiled without refclock support.
05-18T10:58:56 ntpd[6687]: 127.127.28.1 local addr 127.0.0.1 -> <null>
05-18T10:58:56 ntpd[6687]: Fudge commands not supported: built without refclocks
Я использую вилку NTPsec NTP со следующим файлом ntp.conf
:
pool pool.ntp.org iburst
driftfile /var/lib/ntp/ntp.drift
logfile /var/log/ntp.log
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1 mask 255.255.255.0
restrict -6 ::1
# GPS Serial data reference (NTP0)
server 127.127.28.0
fudge 127.127.28.0 refid GPS
# GPS PPS reference (NTP1)
server 127.127.28.1 prefer
fudge 127.127.28.1 refid PPS
[ 119] Кажется, я собрал NTP без поддержки рефлока. Однако я не нахожу информации, как это включить.
Вся помощь очень ценится!