HP-UX Internet Services Administrator's Guide (August 2003)
Configuring NTP
Getting Started with NTP
Chapter 4 73
server my_server.mydomain.my_org.com
my_server.mydomain.my_org.com is the complete name of the
server.
4. Specify the time source and add its information to the configuration
file.
• For Radio Receivers:
a. Uncomment the following fudge line found at the end of the
file /etc/ntp.conf server 127.127.26.1.
#fudge 127.127.26.1 time1 -0.955
b. Make a link to the device file that corresponds to the serial
port you are connecting to the GPS unit by typing the
following: /usr/bin/ln -s /dev/tty0p0 /dev/hpgps1
(device name for HP GPS)
• For the local NTP Machine, add the following lines at the end of
the /etc/ntp.conf file:
server 127.127.1.1
fudge 127.127.1.1 stratum 10
Create a link to the device file that corresponds to the serial port
you are connecting to the GPS unit by adding the following line
to the device file: /usr/bin/ln -s /dev/tty0p0 /dev/hpgps1
Use this optiononly when NTPis used in an isolaed environment
without a radio clock, NIST modem or Internet connection. You
can also use this if a particular server clock will be used as a last
resort, when all other normal synchronization sources are not
availiable.
5. Start the NTP daemon using the following steps:
a. Edit the /etc/rc.config.d/netdaemons file. Set the variable
NTPDATE_SERVER equal to an NTP time server that is reachable.
For example:
NTPDATE_SERVER=15.13.108.1
This will run the /usr/sbin/ntpdate command just before the
NTP daemon is started, and bring your system clock close to the
other server to start.
b. Set the XNTPD variable to 1.