-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the system call ntp_adjtime() instead of the program ntpdc. #1
Conversation
Thanks Michael! This is really great! I'm going to try to test it tonight Perhaps you can help me with the last remaining problem with calibrating Do you know where I can look to track this down? I suspect that there is a Thanks again for the patch, On Thu, Aug 15, 2013 at 3:34 AM, Michael Tatarinov <notifications@github.com
Integrity is a binary state - either you have it or you don’t. - John |
Special packages aren't required. The ntp_adjtime() is kernel call and it exists on most modern UNIX. Is the ntpd synchronized with the network source? It can be a problem, so many factors affect the network synchronization. You can try to synchronize RPi to your external frequency counter. |
On Thu, Aug 15, 2013 at 11:58 AM, Michael Tatarinov <
James
Integrity is a binary state - either you have it or you don’t. - John |
Yes, it's true if link between you and ntp servers are symmetrical but Internet links are asymmetrical and you can get a persist error that the depend on the routing, bandwidth and etc. |
Oh, wow, didn't know that. It could be that the recent software update made Thanks! James
|
No, you restart the ntpd after updating and ntpd selected an another servers from pool with different characteristics. statsdir /var/log/ntpstats/ |
Hi Michael, Thanks for your input! Just trying to understand a few things. If there's For example, suppose the oscillator in the Pi happened to have no frequency However, I would expect the PPM frequency error reported by NTP to be 0 What I'm finding is that even with a perfect 19.2MHz clock, NTP on the Pi Thanks, On Fri, Aug 16, 2013 at 12:56 AM, Michael Tatarinov <
Integrity is a binary state - either you have it or you don’t. - John |
Use the system call ntp_adjtime() instead of the program ntpdc.
I think you're right. The asymmetric delay added persist offset error, not frequency. |
@JamesP6000 |
I don't ham but NTP, RPi and amateur radio is interesting to me. I hope this patch will be useful to you.
ps. I can't test the patch but it looks right. :)