[ntp:questions] Re: Looking for manual to start NTP

Richard B. Gilbert rgilbert88 at comcast.net
Fri Jan 23 12:46:39 UTC 2004


You don't need to "find" the driftfile.  You tell NTP where to create it.

Stephen Liu wrote:

> Hi Richard,
>
> Thanks for your advice.
>
>> The absolute minimum configuration file for NTP is:
>>
>> server <address of timeserver>
>>
>> Almost as essential is to add the line
>> driftfile /etc/ntp/drift   # use a file spec that is appropriate for 
>> your system.
>
>
> Whether adding following 2 lines to  /etc/ntp.conf
>
> server   
> http://www.eecis.udel.edu/~mills/ntp/clock2.htm
>
> driftfile /etc/ntp/drift
>
> How to find the 'driftfile' from Debian
>
> Kindly advise.   TIA
>
> B.R.
> Stephen
>
>> The drift file is used when you restart your system; it supplies a 
>> reasonable initial value for the adjustment to your clock frequency.  
>> It can save you the several hours it would take to find the correct 
>> value without any guidance.
>>
>> Most configuration files will have a minimum of three server lines.
>>
>> There are many other things you can put in ntp.conf but the above 
>> will get you started.
>>
>> See Public NTP Time Servers 
>> <http://www.eecis.udel.edu/%7Emills/ntp/servers.html>
>> for the addresses of time servers near you.  Try the Stratum 2 
>> servers first; many of them provide more stable and accurate time 
>> than the Stratum 1 servers which are usually overloaded.
>>
>> Stephen Liu wrote:
>>
>>> Hi all folks,
>>>
>>> Debian - unstable.
>>>
>>> I have
>>> # apt-get install ntp
>>> installed
>>>
>>> # cat /etc/ntp.conf
>>> only found an empty file.
>>>
>>> # /etc/init.d/ntp-simple start
>>> Starting NTP server: ntpd.
>>>
>>> # man ntp
>>> no printout
>>>
>>> Kindly advise where can I find relevant manual to config 'ntp' and 
>>> get it to work.
>>>
>>> TIA
>>>
>>> B.R.
>>> Stephen Liu 
>>
>>
>
>




More information about the questions mailing list