Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-10-2004, 10:53 PM   #1
Registered: Mar 2004
Location: Netherland
Distribution: Fedora Core 2, Mandrake10.0
Posts: 62

Rep: Reputation: 15
Question Howto use ntpd time synchronization???

Hello everybody,

I have installed the ntp package, but don't yet know how to make it set my desktopclock to the right time.
Read the manuals, but holy <beep> what a lot of techtalk! I get lost in a jungle of technical details, and my "dummy-feeling" becomes stronger after each line of the man-pages.
Does anybody have experience with this? I will be very glad with some practical advice.
Thnx in advance!

Old 03-10-2004, 11:20 PM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
What you need to do is setup and ntp.conf file

here is mine:
fudge stratum 3
server <serveraddress/ip>
server <serveraddress/ip>
server <serveraddress/ip>
server <serveraddress/ip>
driftfile /var/lib/ntp/ntp.drift
logfile /var/log/ntp.log
1. Runs only for the local machine (ntpd can be used to run a time server for others as well).
2. Sets up the servers to use
3. What that does is sets /var/lib/ntp/ntp.drift as the drift file (don't worry about it, just make sure you choose a place that ntpd can write to).
4. Tells it to log to ntp.log in /var/log

I removed the server addresses I use, please look up addresses here:

Now that file should go in /etc
Run ntpd with a command line like ntpd -u ntp:ntp
This requires you have a user/group called ntp and will run the server under that user or group. It is safer then running it as root.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux real-time file replication/synchronization bretticus Linux - Networking 12 10-18-2007 02:53 AM
time synchronization on HPUX11 ntoughe Other *NIX 2 10-25-2005 10:46 AM
ntpd time server problem MGrosskopf Linux - Networking 0 02-06-2005 08:57 AM
Time Synchronization mykrob SUSE / openSUSE 4 10-23-2004 04:09 PM
NTP synchronization, slewing for large period of time ? trubi Solaris / OpenSolaris 1 10-18-2004 05:26 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration