Re: [chrony-users] Setting up Chrony with PPS

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


First off, thanks for all of the responses! I'm testing your suggestions as fast as I can and if I apologize if I don't directly reply to a suggestion.


Does /var/run/chrony.ttyAMA0.sock exist? If not, then it is hard to read
from
it. Your gpsd does not seem to be writing to SHM0


Yes, it does exist:

pi@gps /var/run $ ls -l *.sock
srwxr-xr-x 1 root root 0 Feb 18 16:23 chrony.ttyAMA0.sock
srw-rw---- 1 root root 0 Feb 18 15:43 dhcpcd.sock
srw-rw-rw- 1 root root 0 Feb 18 15:43 dhcpcd.unpriv.sock
srwxr-xr-x 1 root root 0 Feb 18 16:23 gpsd.sock

But I don't think it existed before I configured chrony.

I am also concerned that your outside clocks are way off ( hundreds of ms )
and have HUGE variances -- the network, unless you are using smoke
signals for
your network, should not be out by a hundred ms. Mind you telling your
system
that  your SHM0  is out by 135ms is probably all wrong, and is part of the
problem.

So, I would first suggest that you get rid of the nmea, and just use the
external clocks as your reference. and get PPS working. Then  you can
try to
get nmea working.  One thing at a time.



After removing the refclock references from chrony.conf I get:

pi@gps ~/SystemFiles $ chronyc sources
210 Number of sources = 4
MS Name/IP address     Stratum Poll LastRx Last sample
======================================================================
^+ gopher.fart.website     3    7     43    +16ms[  +14ms] +/-   89ms
^? mirror                  3    7     41    +17ms[  +17ms] +/-  134ms
^~ com1243.eecs.utk.edu   16    6     59    +71ms[  +55ms] +/-   55ms
^* tock.usshc.com          1    6     59    +15ms[ -696us] +/-  122ms

Is this more in line with what you expected?

--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/