[ntp:questions] Re: FreeBSD refclock error

Richard B. Gilbert rgilbert88 at comcast.net
Thu Sep 7 18:29:12 UTC 2006


David Newman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Greetings. I have a FreeBSD 6.1 x86_64 system and an HP 58503A GPS
> receiver I'd like to use as a time source. The HP receiver displays time
> via tip or minicom, but when loading ntpd, FreeBSD returns this error:
> 
>  refclock_newpeer: clock type 26 invalid
> 
> This is with the stock install of FreeBSD; I didn't install ntp from
> ports, and I have not recompiled the kernel. (If I do need to recompile
> the kernel, please let me know what option(s) to use.)
> 
> Here is the relevant part of /etc/ntp.conf:
> 
> server 127.127.26.0 prefer
> server us.pool.ntp.org
> server us.pool.ntp.org
> server us.pool.ntp.org
> server us.pool.ntp.org
> 
> ntpq sees only the four pool servers (duh).
> 
> Also, I symlinked the serial port to /dev/hpgps0:
> 
> lrwxr-xr-x  1 root  wheel  10 Sep  6 00:25 /dev/hpgps0 -> /dev/cuad1
> 
> I'm new to ntp. What's missing here?
> 

Probably the ntpd driver for your HP 58503A (driver 26).  Build a copy 
of the reference distribution from source!  By default, all drivers are 
built and linked.  Don't know what the BSD distribution does by default 
but it looks as if it doesn't build all the refclock drivers.




More information about the questions mailing list