S o n o m a U s e r M a n u a l
18
C H A P T E R T H R E E
19
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 )
Configuring NTP Using the Network Interface or Serial Port
The following shows the question and answer conguration utility called ntpconfig. The user-
entered responses are shown in a larger font size.
Sonoma_D12 CDMA(root@Sonoma_D12:~)-> ntpcong
*******************************************************************************
**********************Network Time Protocol Conguration**********************
*******************************************************************************
* *
* This script will allow you to configure the ntp.conf and ntp.keys files *
* that control Sonoma_D12 CDMA NTP daemon operation. *
* *
* You will be able to create new MD5 authentication keys which are stored *
* in the ntp.keys file. *
* *
* You will be able to update the authentication related commands in the *
* ntp.conf file. *
* *
* You will be able to configure the “broadcast” mode of operation, with *
* or without authentication. If you supply the multicast address instead *
* of your network broadcast address, then you will be able to configure *
* the time-to-live of the multicast packets. *
* *
* The changes you make now will not take effect until you re-boot the *
* Sonoma_D12 CDMA. If you make a mistake, just re-run ntpconfig prior to *
* re-booting. *
* *
* You will now be prompted for the necessary set up parameters. *
* *
*******************************************************************************
*******************************************************************************
---MD5 Keyfile Configuration
Would you like to create a new ntp.keys file? ([y]es, [n]o) y
You will be prompted for a key number (1 - 65534), then the actual key.
When you have entered all of the keys that you need, enter zero at the next
prompt for a key number.
MD5 keys may contain from 1 to 31 ASCII characters. They may not contain
contain SPACE, TAB, LF, NULL, or # characters! If the key is longer than
20 characters, then only the valid hexadecimal characters
(0 - 9, a, b, c, d, e, f) may be used.
Enter a key number (1-65534) or 0 to quit: 1
Enter the key (1-31 ASCII characters): EndRun_Technologies
Writing key number: 1 and Key: EndRun_Technologies to ntp.keys
Enter a key number (1-65534) or 0 to quit: 2
Enter the key (1-31 ASCII characters): Sonoma
Writing key number: 2 and Key: Sonoma to ntp.keys