[time-nuts] Setting PPS on the OpenBSD kernel

Chris Kuethe chris.kuethe at gmail.com
Mon Mar 31 04:36:57 EDT 2008


it's even easier than that. the PPS code is in and on by default, the
two things you need are to activate kernel timestamping with
nmeaattach (see /etc/rc.conf for an example) and then tell ntpd to use
the timedelta sensor ("sensor *" or "sensor nmea0")

CK

On Mon, Mar 31, 2008 at 1:23 AM, Matthew Smith <matt at smiffytech.com> wrote:
> Hi Folks
>
>  I have finally got a machine ready to be my time server.  I have OpenBSD
>  4.2 installed and am trying to fathom out how to configure it to use PPS.
>
>  I've been looking at this page:
>
>  <http://www.david-taylor.myby.co.uk/ntp/FreeBSD-GPS-PPS.htm>
>
>  ...which actually deals with FreeBSD - don't know if the process is similar.
>
>  I've installed the kernel source and have created a PPS file in the
>  config directory:
>
>  include GENERIC
>  ident PPS-GENERIC
>  option PPS_SYNC
>
>  (Looking at GENERIC, it seems that OpenBSD uses 'config' rather than
>  'configs' - is this correct?)
>
>  So then I just build and install the kernel and I'm ready to go?
>
>  I've only built Linux kernels before - this is all rather new to me.
>
>  Cheers
>
>  M
>
>  --
>  Matthew Smith
>  Smiffytech - Technology Consulting & Web Application Development
>  Business: http://www.smiffytech.com/
>  Personal: http://www.smiffysplace.com/
>  LinkedIn: http://www.linkedin.com/in/smiffy
>
>  _______________________________________________
>  time-nuts mailing list -- time-nuts at febo.com
>  To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>  and follow the instructions there.
>



-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



More information about the time-nuts mailing list