Port-arm archive

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

Re: ntpdate issue ....



In article <5521A935.4050809%hiwaay.net@localhost>,
William A. Mahaffey III <wam%hiwaay.net@localhost> wrote:
>
>I absolutely agree, I wish I had figured this out a while back :-). It 
>does bring up another possible issue for me. My LAN is not always 
>connected to the internet, I disconnect at night & whenever I know I 
>will be away from the computer for some time (mow the lawn, run errands, 
>eat, etc.), thus I am only connected a few hours per day. How will ntpd 
>handle this intermittent connection (to internet time servers) 
>circumstance ? TIA & thanks again.
>

It depends; when you get disconnected, the clock will drift. Depending
on the system (how well it keeps time) and how long you stay disconnected
will dictate the approach. If you drift for < 600 seconds, you can use
ntpd -x (i.e. keep running ntpd with -x and it will correct the drift when
it is reconnected); if you drift more (and I hope you don't), you should
create a script or a cron job to restart ntpdate and ntpd.

christos



Home | Main Index | Thread Index | Old Index