[ntp:questions] Help with NMEA driver

David Lord snews at lordynet.org
Fri May 27 09:41:31 UTC 2011


Mischanko, Edward T wrote:
> I tried this:
> 
> server 127.127.20.1 mode 18 minpoll 4 prefer
> 
> Mode 18 didn't want to work, but mode 16 does work.  What am I doing
> wrong?  I verified that the GPS is sending $GPGGA sentences at 9600
> baud.  Should I try mode 2 at 4800 baud?  I am using a Sure GPS on a
> Windows XP machine, but that shouldn't be a factor? 

I'm using NetBSD

There is no "mode" option with ntpd 4.2.0-r provided with
my old system. I've tried 4.2.6p2, 4.2.7p98 then 4.2.6p3
without problems other than my old ntpd.conf had some
typos that prevented the newer ntpd versions from starting.

 From my current ntpd.conf used with 4.6.3p3:
# GPS Sure serial tty00 /dev/gps2
server 127.127.20.2 mode 18 prefer
fudge 127.127.20.2 time2 0.350 refid GPSb
#
# pps2 clock serial /dev/pps2 -> /dev/tty00
127.127.22.2
fudge 127.127.22.2 flag2 0 flag3 1 refid PPSb

###################

 From peer_summary offset is avg=000.0 rms=0.003 max=0.03
The max value is a blip each night when cron processes
system logs.

I also intend comparing with "flag3 0" kernel pps disabled


David




More information about the questions mailing list