beautypg.com

Meinberg SHSPZF LANTIME User Manual

Page 16

background image

NTP Target

The software package NTP was tested on different UNIX systems. Many UNIX

systems have pre-installed a NTP client. Only some configurations have to be made
(/etc/ntp.conf - see NTP Client Installation). NTP clients as freeware or shareware are
also available for the most other operating systems like Windows
XP/2000/NT/95/98/3x, OS2 or MAC. The following WEB site is recommended to
get the latest version of NTP: "http://www.eecis.udel.edu/~ntp/". More information
you can find on our web page at "http://www.meinberg.de/english/sw/ntp.htm".

NTP-Client Installation

The following example shows the installation of a NTP client under UNIX. First

make sure that there is no NTP installed on your computer because many UNIX
operating systems include NTP already.

The shipped source code of the NTP daemon has to be compiled on the target system.
Using the enclosed script file configures the compilation of the NTP daemon and all
tools.

configure

All necessary information from the system will be collected and the corresponding
make files will be generated in the subdirectories.

After that the NTP daemon and all needed utilities will be generated. Therefore type:

make

While compiling the NTP daemon several warnings may appear. These warnings are
mostly unimportant. In case of problems during the compilation read the system
dependent notes in the subdirectory ‘html’.

Afterwards the generated programs and tools have to be moved in the corresponding
directories. Therefore type:

make install

The time adjustment can occur in different ways. Either the system time can be set
once by using the tool "ntpdate lantime" or the NTPD daemon is started. In the first
case it is recommended to set the time automatically with "cron" or once when
booting the system. The second case is described below.

First a file named /etc/ntp.conf has to be generated with an editor. Adapting the file to
Meinberg LANTIME it should contain the following:

# Example for /etc/ntp.conf for Meinberg LANTIME
server 127.127.1.0 # local clock
server 172.16.3.35 # TCPIP address of LANTIME
# optional: Driftfile
# driftfile /etc/ntp.drift
# optional: activate all messages in syslogfile
# logconfig =all

16

This manual is related to the following products: