RE: [chrony-users] Chronyc Call to Add Refclock

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


My issue is that when I restart chrony, delete the ntp, and re-add the ntp but with the correct offset, it only then synchronizes to my refclock PPS half the time. I want it to consistently sync to the PPS after.

When it fails to sync to the PPS afterwards, the PPS' status is stuck as '?,' or itll say its synced but the LastRX never resets/resets after a couple minutes despite ppswatch and ppstest showing/recognizing a PPS every second (with it being at poll 3). 

So that was my aforementioned issue I noticed. When I try "chronyc selectdata" or "chronyc selectdata -a" I get a unrecognized command return.

My issue with the local directive is that from my understanding reading it, it makes chronyd to be an ntp server when I want it to be synced to an external ntp and then a PPS. (I am trying to sync multiple devices, so the local command would appear to make everything unsynchronized).


-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx> 
Sent: Monday, December 7, 2020 8:14 AM
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] Chronyc Call to Add Refclock

On Mon, Dec 07, 2020 at 01:03:38PM +0000, Chang, Benjamin wrote:
> > I've tried restarting chrony, then delete the ntp, reading the ntp with the offset, and then makestep. That works, but then itll only sync to the PPS half the time. Is there some combination of adding prefer and trust to make it work? I tried adding prefer and trust to the PPS and its still a gamble.
> > I've tried looking into the selectdata call, but that doesn't seem to work?
> 
> >I'm not sure what problem this is trying to solve.
> 
> I was just trying anything to see if there was a way to solve my original issue. Me mentioning the selectdata call was also just to inform that I can't get the call to work in general. Chronyc didn't seem to recognize it. I was just trying out all the commands in the chronyc documentation. Apologies that I wasn't more clear. 
> 
> > There could be a new command added to change the offset of existing sources.
> 
> That could work. Currently my setup is mentioned above. It would sure save a lot of calls. In the meantime however, do you have any advice or suggestion on how to workaround my issue?

What is the issue? You are getting falsetickers when both the NTP source and PPS refclocks are enabled? Do you have the "local"
directive in chrony.conf? The selectdata output might help, or the statistics log.

--
Miroslav Lichvar


-- 
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.


--
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/