S o n o m a U s e r M a n u a l
22
C H A P T E R T H R E E
23
S o n o m a 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 )
This line tells ntpd to use the NTP server at address 192.168.1.120 in addition to any other servers
which might also be congured in the client’s ntp.conf le.
Restart ntpd to have it begin using the Sonoma server. Use the NTP utility ntpq to check that ntpd
is able to communicate with the Sonoma. 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 Sonoma server
which you have just congured. 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 incre-
ment.) If you have other peers congured, verify that the offset information for the Sonoma server
peer and your other peers is in agreement to within a few milliseconds, assuming that the other peers
are synchronized to that level of accuracy.
It may also be useful to start the NTP daemon in ‘debug’ mode (ntpd -d) to conrm successful con-
guration. Refer to the NTP documentation for detailed usage of these debug utilities.
Unix-like Platforms: MD5 Authenticated NTP Client Setup
MD5 authenticated setup is relatively simple, if:
• You have been able to successfully communicate with the Sonoma on your network.
• Your Sonoma has been congured to perform authentication either by factory default, or by run-
ning the ntpconfig shell script. The example Sonoma authentication conguration shown in Con-
figuring NTP Using the Network Interface or Serial Port above, will be assumed in the example
conguration commands shown here.
• You have installed NTP on your client computer.
• You have successfully performed the Unix-like Platforms: Basic NTP Client Setup on your client
computer.
Create the ntp.keys File
You must create a le named ntp.keys in the /etc directory. It must be a copy of the one residing in
the /etc directory of your Sonoma. You can telnet into your Sonoma and start an ftp session with
your client computer to send the Sonoma’s /etc/ntp.keys le to your client computer, use the secure
copy utility scp, or you can just use a text editor on your client computer to create an equivalent le.