Re: [SLE] ntp update frequency



On 31/10/06 04:46, Carlos E. R. wrote:
ntp daemon only checks at certain intervals for a time server. Which ntp
configuration file could I edit to shorten/lengthen the time between the
ntp checks? The last check was at 07h29 and the time now is 08h24 and it
hasn't checked inbetween.

No, that's the wrong conclussion. The fact that the daemon doesn't log
anything doesn't mean that it hasn't checked the time in the interval. It
may have done it hundreds of times for all you know.
The stuff that does go into the ntp logfile is actually pretty spartan
when it comes to trying to determine what is happening with a particular
server, unless one is willing to do a fair bit of digging (as I noted in
my tome replying to Hylton's first post). Better would be to use the
"statistics" and "filegen" directives, but I have only got those to work
once, and I can't recall what made it work. It worked for awhile, then
stopped after a re-install of the entire OS (when I changed hard
drives). I'm sure I am still using identical directives, but I've never
seen any statistics files show up since. The resultant files were
definitely full of useful information when any problems arose connecting
with a particular server. If anyone has a working statistics/filegen
combination, I would definitely like to see the lines.


And you can not modify when ntp sees fit to check the time.
minpoll/maxpoll

If this configuration is not available, what command could I issue to
initiate an ntp time check against the internet ntp servers ie after I
have enabled the net connection?

Do not use the ntp daemon unless your connection is permanent.

ntpd -q does the same thing as ntpdate. See also my second note to John
Anderson.

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: Setting Up NTP for Time Sync
    ... how do you know that yuour windows machine will act as an NTP ... That is different than acting as an ntp client. ... >> I think you have to install ntp server software onto the windows machine. ... For systems with sporadic connection to the net, ...
    (comp.os.linux.networking)
  • Re: NTP Client with Bell South DSL
    ... to restart the NTP connection each time I restart my computer. ... Normally just configure NTP in YaST. ... KDE and run YAST it detects the NTP server and the connection is made. ...
    (alt.os.linux.suse)
  • Re: NTP fails synchronization with server at startup
    ... synchronize with the server at booting. ... not make the connection. ... isn't up when NTP starts. ... Just for info I post a bit of output from ntpq> pe from FC2, ...
    (Fedora)
  • Re: NTP Client with Bell South DSL
    ... to restart the NTP connection each time I restart my computer. ... Yast starts the NTP service with no problem when I start it up. ... KDE and run YAST it detects the NTP server and the connection is made. ...
    (alt.os.linux.suse)
  • Re: broadcast client
    ... synchronizing with the same ntp server. ... ntp displined clock. ... because the drift discipline is inversely ... The reason for the backup to long poll intervals is ...
    (comp.protocols.time.ntp)