![]() |
|
|
|
|
![]() 2007 CHLUGger of the Year! Mailing List Archive Help Open Source Question of the Day Mission Directions to Meetings Contact Us Video Guest Speaker Info Acceptable Use Link To Us! 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 Ubuntu NJ LoCo New! Cherry Hill Library RUSLUG LUG in Princeton Loads of Linux Links LinuxToday.com Art of UNIX Programming More Links Contact Congress Why We Use Linux Companies Using Linux Linux in Business ![]()
![]()
![]() ![]() |
Using the Network Time Protocol
------------------------------- Paul Agin 06/26/01
Purpose: Synchonize local time to a public time server. This is just the basics to get started.
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":
The output of ntpdate should like like this: 26 Jun 18:20:51 ntpdate[16558]:
adjust time server 192.5.41.41
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 |