Difference between revisions of "Network Time Protocol"
imported>Cov |
imported>Macintoshme (→Syncing your clock to Virginia Tech's time servers) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
Virginia Tech hosts four [[w:Network Time Protocol|Network Time Protocol]] (NTP) servers: | Virginia Tech hosts four [[w:Network Time Protocol|Network Time Protocol]] (NTP) servers: | ||
− | * '''ntp-1.vt.edu''' (198.82. | + | * '''ntp-1.vt.edu''' (198.82.247.51) (2001:468:c80:2101:0:14b:a768:154f) |
− | * '''ntp-2.vt.edu''' (198.82. | + | * '''ntp-2.vt.edu''' (198.82.247.71) (2001:468:c80:4101:0:1b6:a45f:ab40) |
− | * '''ntp-3.vt.edu''' (198.82. | + | * '''ntp-3.vt.edu''' (198.82.247.108) (2001:468:c80:6101:0:111:7c3a:677) |
− | * '''ntp-4.vt.edu''' (198.82. | + | * '''ntp-4.vt.edu''' (198.82.247.131) (2001:468:c80:8101:0:178:d2dd:db75) |
=== Using Gnome === | === Using Gnome === | ||
Line 39: | Line 39: | ||
=== Using ntpdate === | === Using ntpdate === | ||
− | Change the contents of <code>/etc/cron.daily/ntpdate<code> to: | + | Change the contents of <code>/etc/cron.daily/ntpdate</code> to: |
<pre> | <pre> | ||
ntpdate ntp-1.vt.edu ntp-2.vt.edu ntp-3.vt.edu ntp-4.vt.edu | ntpdate ntp-1.vt.edu ntp-2.vt.edu ntp-3.vt.edu ntp-4.vt.edu |
Latest revision as of 16:32, 7 February 2018
Contents
Syncing your clock to Virginia Tech's time servers
Virginia Tech hosts four Network Time Protocol (NTP) servers:
- ntp-1.vt.edu (198.82.247.51) (2001:468:c80:2101:0:14b:a768:154f)
- ntp-2.vt.edu (198.82.247.71) (2001:468:c80:4101:0:1b6:a45f:ab40)
- ntp-3.vt.edu (198.82.247.108) (2001:468:c80:6101:0:111:7c3a:677)
- ntp-4.vt.edu (198.82.247.131) (2001:468:c80:8101:0:178:d2dd:db75)
Using Gnome
- Right click on the clock in the top right hand corner of your desktop and select Adjust Date & Time.
- You may have to enter your password to continue.
- From the Configuration drop-down list, select Keep synchronized with Internet servers.
- You may need to click Install NTP support.
- Click Select Servers.
- Type
ntp-1.vt.edu
- Click the Add button.
- Type
ntp-2.vt.edu
- Click the Add button.
- Type
ntp-3.vt.edu
- Click the Add button.
- Type
ntp-4.vt.edu
- Click the Add button.
- Click the Close button.
- Click the Close button again.
Using ntpd
Backup your /etc/ntp.conf
:
# cp /etc/ntp.conf /etc/ntp.conf.bak
Add the following lines to /etc/ntp.conf
:
server ntp-1.vt.edu server ntp-2.vt.edu server ntp-3.vt.edu server ntp-4.vt.edu
Using ntpdate
Change the contents of /etc/cron.daily/ntpdate
to:
ntpdate ntp-1.vt.edu ntp-2.vt.edu ntp-3.vt.edu ntp-4.vt.edu