Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Aug 2004 22:13:58 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Gregory Bond <gnb@itga.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Looking for ntp/PPS setup guide 
Message-ID:  <20040802051358.7D3E05D08@ptavv.es.net>
In-Reply-To: Your message of "Mon, 02 Aug 2004 10:15:45 %2B1000." <200408020015.KAA29231@lightning.itga.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Gregory Bond <gnb@itga.com.au>
> Date: Mon, 02 Aug 2004 10:15:45 +1000
> Sender: owner-freebsd-stable@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@es.net			Phone: +1 510 486-8634



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040802051358.7D3E05D08>