[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-users] getting ntpd connected to gpsd

From: Richard Cagley
Subject: [gpsd-users] getting ntpd connected to gpsd
Date: Mon, 17 Jun 2013 19:54:43 -0700

I've compiled ntpd with shared memory support and trying to get it to talk to gpsd using a really basic ntp.conf file
server minpoll 4
fudge refid NMEA
I can telnet into gpsd and see it query the nmea messages, but if I start up ntpd and gpsd, then gpsd just sits there. Based on my ntp.conf file and gpsd startup is there anything else I should be doing?
/ # gpsd -b -N -D5 /dev/ttyO0
gpsd:INFO: launching (Version 3.9)
gpsd:IO: opening IPv4 socket
gpsd:INFO: listening on port 2947
gpsd:PROG: NTPD shmat(0,0,0) succeeded, segment 0
gpsd:PROG: NTPD shmat(32769,0,0) succeeded, segment 1
gpsd:PROG: NTPD shmat(65538,0,0) succeeded, segment 2
gpsd:PROG: NTPD shmat(98307,0,0) succeeded, segment 3
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /dev/ttyO0 at slot 0
gpsd:INFO: running with effective group ID 0
gpsd:INFO: running with effective user ID 99
gpsd:INFO: startup at 2000-01-01T00:05:57.000Z (946685157)
No, output from ntpq -p

/ # ntpq -p
     remote           refid      st t when poll reach   delay   offset
 SHM(0)          .NMEA.           0 l    -   16    0    0.000    0.000    0.000

reply via email to

[Prev in Thread] Current Thread [Next in Thread]