Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Network Time Protocol

1,643 bytes added, 07:03, 13 November 2009
Import from old wiki
== Syncing your clock to Virginia Tech's time servers ==
Virginia Tech hosts four [http://en.wikipedia.org/wiki/Network_Time_Protocol Network Time Protocol] (NTP) servers:

<ul><li> '''ntp-1.vt.edu''' (198.82.1.201)
</li><li> '''ntp-2.vt.edu''' (198.82.1.202)
</li><li> '''ntp-3.vt.edu''' (198.82.1.203)
</li><li> '''ntp-4.vt.edu''' (198.82.1.204)
</li></ul>
=== Using GNOME ===
<ol><li> Right click on the clock in the top right hand corner of your desktop and select '''Adjust Date &amp; Time'''.
</li><li> You may have to enter your password to continue.
</li><li> From the '''Configuration''' drop-down list, select '''Keep synchronized with Internet servers'''.
</li><li> You may need to click '''Install NTP support'''.
</li><li> Click '''Select Servers'''.
</li><li> Type <code>ntp-1.vt.edu</code>
</li><li> Click the '''Add''' button.
</li><li> Type <code>ntp-2.vt.edu</code>
</li><li> Click the '''Add''' button.
</li><li> Type <code>ntp-3.vt.edu</code>
</li><li> Click the '''Add''' button.
</li><li> Type <code>ntp-4.vt.edu</code>
</li><li> Click the '''Add''' button.
</li><li> Click the '''Close''' button.
</li><li> Click the '''Close''' button again.
</li></ol>
=== Using ntpd ===
<ol><li> Backup your ntp.conf <code></code><pre>cp /etc/ntp.conf /etc/ntp.conf.bak</pre>
</li><li> Add the following lines to <code>/etc/ntp.conf</code>:
</li></ol>
<code></code><pre>server ntp-1.vt.edu
server ntp-2.vt.edu
server ntp-3.vt.edu
server ntp-4.vt.edu</pre>
=== Using ntpdate ===
<ol><li> Change the contents of /etc/cron.daily/ntpdate to: <code></code><pre>ntpdate ntp-1.vt.edu ntp-2.vt.edu ntp-3.vt.edu ntp-4.vt.edu</pre>
</li></ol>
Anonymous user