network time
Derek Broughton
news at pointerstop.ca
Tue Sep 6 16:21:43 UTC 2005
Yannick Le Saint (kyncani) wrote:
> On Mon, 2005-09-05 at 08:18 -0400, Stephen R Laniel wrote:
>> On Mon, Sep 05, 2005 at 08:11:52AM -0400, Frank McCormick wrote:
>> > For some reason I noticed this morning (it may have been happening for
>> > a while) that my system no longer contacts the Ubuntu timeserver for
>> > the correct time.
>> > Where in the bootup scripts is this located? I probably accidentally
>> > deleted it sometime in the distant past.
>>
>> /etc/init.d/ntpdate -- here 'ntp' stands for 'network time
>> protocol.
>
> And if you only boot once in a while, i recommend using ntp-server
> (with ntp-simple), which will keep your local clock synchronized with
> other time servers even when your system is running.
otoh, if you boot often (eg, a laptop) or bring network interfaces up &
down, put a script in /etc/network/if-up.d/ to run /etc/init.d/ntpdate when
the interface comes up. For some odd reason, the default runs before I can
ever have a network connection.
--
derek
More information about the ubuntu-users
mailing list