Created with The GIMP


2007 CHLUGger of the Year!
Mailing List
Help Open Source
Question of the Day

About Us

Directions to Meetings
Contact Us
Guest Speaker Info
Acceptable Use
Link To Us!
Our Blog

CHLUG Exclusives

Open Office 3.0- New and Enhanced Features New!
Linux Hacking and the Law New!
VOIP with Asterisk
Assessing OSS
Knoppix Ubiquitous Computing
Filesystem Hierarchy
Virtual Hosting
Emacs Talk Notes
Home Sweet ~
Top 100 CLIs
Device Drivers
Real Time Linux
Network Considerations Part II
Network Considerations Part I
Amanda Presentation
GNU/Linux Calculators Configuring Rio
Linux Sound
Samba notes
Network time protocol
C programming in Linux
Boot, startup and shutdown
hdparm HOWTO

Friends of CHLUG

Ubuntu NJ LoCo
Cherry Hill Library
LUG in Princeton
Useful Links

Loads of Linux Links
Art of UNIX Programming
More Links


Contact Congress
Why We Use Linux
Companies Using Linux
Linux in Business

Get Linux!

Get Firefox!


Created with The GIMP

Website Designer-

Using the Network Time Protocol

Paul Agin 06/26/01
(reformatted with permission for chlug 2001-08-01.)

Purpose: Synchonize local time to a public time server.

This is just the basics to get started.
Examples are run on Red Hat 7.0 (Linux 2.2) and Win98SE.

More information:

Synchronize a Linux PC to a Public Time Server

Go here:

Get this: ntp-4.0.99k23.tar.gz (file size 1.9M)

Do this:

        tar -zxvf ntp-4.0.99k23.tar.gz

        cd ntp-4.0.99k23


        make    (Warnings are expected, but not a problem.)

        make install

Check the local time: date

Sync with server "":

The output of ntpdate should like like this:

        26 Jun 18:20:51 ntpdate[16558]: adjust time server
        offset -0.016501 sec

If the command does not work, do this:

        whereis ntpdate

        ntpdate: /usr/local/bin/ntpdate


Other servers:

Synchronize a Windows PC to Linux PC running Samba

Do this: C:\>net time \yourserver /set /yes

For more information: C:\>net time /?

Free software: