[ntp:questions] Re: How to configure gps/pps with ntp?

Richard B. Gilbert rgilbert88 at comcast.net
Sun Mar 26 00:59:30 UTC 2006


Chris Richmond - MD6-FDC ~ wrote:

> Folks,
> 
>    I'm back...  Now that ntp is running, I want to get it going with
> my Garmin gps18lvc.  I've got a 2.4.32 kernel with PPSKit running,
> linked /dev/ttyS0 -> /dev/pps1, and added "server 127.127.22.1 prefer"
> to the config file.  ntpq -p -n reports the .GPS. line, but the data
> isn't updating (all zero's except the last field is 4000.00).  I connected
> to /dev/ttyS0 with minicom, and I'm getting the NEMA sentences, so
> I think the hardware is OK.  I've tried looking through the online
> docs, but among all the words are hardly any examples of what to
> actually *do*.  I've also looked through Terje's notes, but the
> actual configs weren't mentioned.  > ntpq -c rv -p ntp1
> shows that refid=192.168.0.1 (other box, not GPS).
> 
> Please let me know what else I need to do.
> 
> Thx, Chris
> 

It looks as if you have the PPS device accounted for but what about the 
GPS device?   The code in the driver seems to be looking for /dev/gps1
to be pointing to your tty device.

I've not set this one up myself so I'll gladly defer to someone who 
knows what he's talking about! :-)




More information about the questions mailing list