Created with The GIMP
   


Features

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

About Us

Mission
Directions to Meetings
Contact Us
Video
Guest Speaker Info
Acceptable Use
Link To Us!

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
Wesnoth
Xbox/Linux
udev
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
ReiserFS
Linux Sound
Samba notes
Network time protocol
C programming in Linux
Boot, startup and shutdown
hdparm HOWTO

Friends of CHLUG

Ubuntu NJ LoCo
New!
Cherry Hill Library
RUSLUG
LUG in Princeton
Useful Links

Loads of Linux Links
LinuxToday.com
Art of UNIX Programming
More Links

Agenda

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



Get Linux!


Get Firefox!

Get OpenOffice.org!




Created with The GIMP



Website Designer- jesran.net



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: http://www.linuxdoc.org/HOWTO/mini/Clock.html
 

Synchronize a Linux PC to a Public Time Server
----------------------------------------------

Go here: http://www.ntp.org

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

        ./configure

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

        make install

Check the local time: date

Sync with server "tock.usno.navy.mil":
ntpdate 192.5.41.41

The output of ntpdate should like like this:

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

If the command does not work, do this:

        whereis ntpdate

        ntpdate: /usr/local/bin/ntpdate

        /usr/local/bin/ntpdate 192.5.41.41

Other servers: http://www.bldrdoc.gov/timefreq/service/time-servers.html
 

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: http://www.bldrdoc.gov/timefreq/service/its.htm