Looking for ntp/PPS setup guide

Kevin Oberman oberman at es.net
Sun Aug 1 22:13:59 PDT 2004


> From: Gregory Bond <gnb at itga.com.au>
> Date: Mon, 02 Aug 2004 10:15:45 +1000
> Sender: owner-freebsd-stable at freebsd.org
> 
> 
> Thanks all for the enlightening response.  There is one bit I still don't get: 
> How do I tell the kernel which port to look for the PPS signal on with
> PPS_SYNC?

You create a softlink from the physical device (parallel or serial).
ln -s /dev/ttyd0 /dev/pps0 (127.127.22.0 in ntp.conf)
or
ln -s /dev/ttyd1 /dev/pps0 (127.127.22.0 in ntp.conf)
or
ln -s /dev/ttyd1 /dev/pps1 (127.127.22.1 in ntp.conf)
or
ln -s /dev/ppc0 /dev/ppc2 (127.127.22.2 in ntp.conf)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634


More information about the freebsd-stable mailing list