M e r i d i a n I I U s e r M a n u a l
78
C H A P T E R S E V E N
79
M e r i d i a n I I U s e r M a n u a l
N E T W O R K T I M E P R O T O C O L ( N T P )
IMPORTANT
Handling of the
/etc/ntp.keys
file is the weak link in the MD5 authentication scheme. It is very impor-
tant that it is owned by
root
and not readable by anyone other than
root
.
After transferring the file by
ftp
, and placing it in the
/etc
directory on the client computer, issue
these two commands at the shell prompt:
chown root.root /etc/ntp.keys
chmod 600 /etc/ntp.keys
Configure NTP
You must edit the
ntp.conf
file which
ntpd
, the NTP daemon, looks for by default in the
/etc
directo-
ry. Assuming that you have created two trusted keys as shown in
Configuring the NTP Server Using
the Network Interface or Serial Port
above, add these lines to the end of the
ntp.conf
file:
keys /etc/ntp.keys
trustedkey 1 2
Modify the line added previously in
Unix-like Platforms: Basic NTP Client Setup
so that authenti-
cation will be used with the Meridian II server using one of the trusted keys, in this example, key # 1:
server 192.168.1.120 key 1
Restart
ntpd
to have it begin using the Meridian II server with MD5 authentication. Use the NTP
utility
ntpq
to check that
ntpd
is able to communicate with Meridian II. After issuing the command
ntpq
you will see the
ntpq
command prompt:
ntpq>
Use the command
peers
to display the NTP peers which your computer is using. One of them should be the Meridian II
server which you have just configured. You should verify that it is being ‘reached’. (You may have
to continue issuing the peers command for a minute or two before you will see the ‘reach’ count
increment.)
You can verify that authentication is being used by issuing the command
associations
to display the characteristics of the client server associations. In the “auth” column of the display,
you should see “OK” for the row corresponding to the Meridian II server. If you see “bad”, you
should wait a few minutes to be sure that there is a problem since “bad” is the initial state of this
setting. If the “bad” indication persists then you must check your configuration for errors. Typi-
cally this is due to a typing error in creating the
/etc/ntp.keys
file on the client that causes a mismatch
Summary of Contents for Meridian II
Page 2: ......
Page 20: ...M e r i d i a n I I U s e r M a n u a l This page intentionally left blank...
Page 139: ...119 M e r i d i a n I I U s e r M a n u a l R E A R P A N E L I O...
Page 216: ...M e r i d i a n I I U s e r M a n u a l 196 A P P E N D I X J...
Page 235: ...215 M e r i d i a n I I U s e r M a n u a l S P E C I F I C AT I O N S...
Page 236: ...M e r i d i a n I I U s e r M a n u a l 216 A P P E N D I X K...
Page 239: ......