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 )
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 Sonoma 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 Sonoma server with MD5 authentication. 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 configured. You should verify that it is being ‘reached’. (You may have to con-
tinue 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 Sonoma 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. Typically this is due
to a typing error in creating the
/etc/ntp.keys
file on the client that causes a mismatch between the
keys being used by the server and client. (If you transfer the file by
ftp
or
scp
, this shouldn’t be a
problem.) It is also possible to have a typing error in the
/etc/ntp.conf
file that causes the needed key
to not be included in the “trustedkey” list.
Unix-like Platforms: Broadcast/Multicast NTP Client Setup
Broadcast/multicast client setup is relatively simple, if:
• You have been able to successfully communicate with the Sonoma on your network.
• Your Sonoma has been configured to perform broadcasts or multicasts by running the
ntpconfig
shell script. (This is not the factory default configuration, so be sure to run
ntpconfig
.) If you are
going to use MD5 authentication, your Sonoma must have been configured to operate with authenti-
Содержание Sonoma N12
Страница 2: ......
Страница 16: ...S o n o m a U s e r M a n u a l This page intentionally left blank...
Страница 20: ...S o n o m a U s e r M a n u a l 4 C H A P T E R O N E This page intentionally left blank...
Страница 32: ...S o n o m a U s e r M a n u a l 16 C H A P T E R T W O This page intentionally left blank...
Страница 48: ...S o n o m a U s e r M a n u a l 32 C H A P T E R T H R E E This page intentionally left blank...
Страница 70: ...S o n o m a U s e r M a n u a l 54 C H A P T E R S I X This page intentionally left blank...
Страница 82: ...S o n o m a U s e r M a n u a l 66 C H A P T E R S E V E N This page intentionally left blank...
Страница 122: ...S o n o m a U s e r M a n u a l 106 A P P E N D I X A This page intentionally left blank...
Страница 156: ...S o n o m a U s e r M a n u a l 140 A P P E N D I X E...
Страница 158: ...S o n o m a U s e r M a n u a l 142 A P P E N D I X F This page intentionally left blank...
Страница 168: ...S o n o m a U s e r M a n u a l 152 A P P E N D I X H...
Страница 169: ...153 S o n o m a U s e r M a n u a l S P E C I F I C AT I O N S...
Страница 170: ...S o n o m a U s e r M a n u a l 154 A P P E N D I X H This page intentionally left blank...
Страница 172: ...S o n o m a U s e r M a n u a l 156 S P E C I A L M O D I F I C AT I O N S This page intentionally left blank...
Страница 173: ......