[ntp:questions] Second attempt at GPS-18 based NTP server

Chris Adams cmadams at hiwaay.net
Thu Feb 2 19:30:46 UTC 2012


Once upon a time, unruh  <unruh at invalid.ca> said:
>In the latest linux kernels, the pps option is already included, if
>selected by your distribution.

I'm using parallel port PPS with Fedora 16.  I did the following:

- put this in /etc/sysconfig/modules/pps.modules (mode 755):
  #!/bin/sh
  exec /sbin/modprobe pps_parport > /dev/null 2>&1 || :

- put this in /etc/udev/rules.d/99-local.rules
  SUBSYSTEM=="pps", MODE:="0640", GROUP:="ntp"

- put this in /etc/ntp.conf
  server 127.127.22.0 minpoll 4 maxpoll 4

Serial port PPS would need to load pps-ldisc instead of pps_parport (who
knows why one has an "-" and the other an "_") and an extra step to call
ldattach to attach the PPS line discipline to the appropriate serial
port (not sure where the best place to put that would be, maybe after
loading the module?).

-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.



More information about the questions mailing list