[Top][All Lists]

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

Re: [gpsd-users] Must first run gpsmon...

From: Gary Hodges - NOAA Affiliate
Subject: Re: [gpsd-users] Must first run gpsmon...
Date: Tue, 9 Aug 2016 13:04:37 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0

Hi Gary,

Thank you for the quick response.  I'll take my best stab at your questions.

To configure gpsd I follow the example found at:

Basically this means I install gpsd and ntp with aptitude, then run "dpkg-reconfigure gpsd" answering the questions as directed:

Start gpsd automatically on boot? Yes
Device the GPS receiver is attached to: /dev/ttyS0
Should gpsd handle attached USB GPS receivers automatically? No
Options to gpsd: -b -n

Note that six of my machines use /dev/ttyUSB0 and one uses /dev/ttyS3.

I configure ntp.conf, and that's pretty much it, I believe. This process worked with the previous debian stable with the same hardware. It is only with Jessie that I have to first run gpsmon.

I think I covered your configuration question above. I don't know which is run run first, gpsd or ntpd. As for the driver version... ntp works just fine if pointing at Internet time servers. It just won't use the local GPS unless gpsmon is first run.


On 08/09/2016 12:49 PM, Gary E. Miller wrote:
Yo Gary!

On Tue, 9 Aug 2016 12:42:03 -0600
Gary Hodges - NOAA Affiliate <address@hidden> wrote:

Debian Jessie (latest stable) is the OS.  I have seven identical
machines, all with the same issue.  To get ntp to "see" the GPS data
I have to first run gpsmon.  Once that is done ntp will sync time
using the attached GPS.  I believe this is a serial port config
issue.  What do I need to do so that everything works on start-up?

What does your configuuation look like?  Do you run gpsd first, then
ntpd.  Do you run ntpd first, then gpsd.  Or are you running ntpd
standalone?  Are you using ntpd driver 20, 22, 28, or?

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

reply via email to

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