NTP 4.x for Windows NT
Introduction
The NTP 4 distribution runs as service on (i386) Windows NT 4.0 and Windows
2000. The binaries work on dual processor systems. This port has not been
tested on the Alpha platform.
Refer to System Requirements and Instructions for how to compile the
program.
Reference Clocks
Refernce clock support under Windows NT is tricky because the IO functions
are so much different. The following reference clocks are supported by
Windows NT:
Type 1 Undisciplined Local Clock (LOCAL)
Type 29 Trimble Navigation Palisade GPS
(GPS_PALISADE)
Functions Supported
All NTP functions are supported with some constraints. See the TODO list
below.
Accuracy
Greg Brackley has implemented a fantastic interpolation scheme that improves
the precision of the NTP clock using a realtime thread (is that poetic
or what!) which captures a tick count from the 8253 counter after each
OS tick. The count is used to interpolate the time between operating system
ticks.
On a typical 200+ MHz system NTP achieves a precision of about 5 microseconds
and synchronizes the clock to +/-500 microseconds using the Trimble
Palisade as UTC reference. This allows distributed applications to
use the 10 milliseconds ticks available to them with high confidence.
Binaries
Recent InstallShield based executable versions of NTP for Windows NT (i386)
are available from:
http://www.trimble.com/oem/ntp
and http://www.five-ten-sg.com/
ToDo
-
NMEA refclock support is in development.
-
See if precision can be improved by using CPU cycle counter for tick interpolation.
-
Make precision time available to applications using NTP_GETTIME API
Compiling Requirements
-
Windows NT 4.0 or 5.0 (2000)
-
Microsoft Visual C++ 6.0
-
Some version of the archiving program ZIP.
Compiling Instructions
-
Unpack the NTP-4.x.tar.gz
-
Open the .\ports\winnt\ntp.dsw Visual C workspace
-
Batch build all projects
Configuration File
The default NTP configuration file path is %SystemRoot%\system32\drivers\etc\.
(%SystemRoot%
is an environmental variable that can be determined by typing "set" at
the "Command Prompt" or from the "System" icon in the "Control Panel").
Refer to your system environment and create your ntp.conf
file in the directory corresponding to your system installation.
The older <WINDIR>\ntp.conf is still supported but you
will get a log entry reporting that the first file wasn't found.
Installation Instructions
The instsrv program in the instsrv subdirectory of the distribution
can be used to install 'ntpd' as a service and start automatically at boot
time. Instsrv is automatically compiled with the rest of the distribution
if you followed the steps above.
-
Start a command prompt and enter "instsrv.exe <pathname_for_ntpd.exe>"
-
Clicking on the "Services" icon in the "Control Panel" will display the
list of currently installed services in a dialog box. The NetworkTimeProtocol
service should show up in this list. Select it in the list and hit the
"Start" button in the dialog box. The NTP service should start.
-
View the event log by clicking on the "Event Viewer" icon in the "Administrative
Tools" group, there should be several successful startup messages from
NTP. NTP will keep running and restart automatically when the machine is
rebooted.
You can change the start mode (automatic/manual) and other startup parameters
corre't found.
<4 0000000 0000000 00000005663 06201167154 017100 0 ustar root root Compilation:
Usual thing: rm -f Config.local ; make for vanilla
make refconf for reference clock (e. g. DCF77)
Directory contents:
hints/PARSE - this file
xntpd/refclock_parse.c
- reference clock support for DCF77/GPS in xntp
parse/parse.c
- Reference clock data parser framework
parse/parse_conf.c
- parser configuration (clock types)
parse/clk_meinberg.c
- Meinberg clock formats (DCF U/A 31, PZF 535, GPS166)
parse/clk_schmid.c
- Schmid receiver (DCF77)
parse/clk_rawdcf.c
- 100/200ms pulses via 50 Baud line (DCF77)
parse/clk_dcf7000.c
- ELV DCF7000 (DCF77)
parse/clk_trimble.c
- Trimble SV6 GPS receiver
If you want to add new clock types please check
with kardel@informatik.uni-erlangen.de. These files
implement the conversion of RS232 data streams into
timing information used by refclock_parse.c which is
mostly generic except for NTP configuration constants.
parse/Makefile.kernel
- *SIMPLE* makefile to build a loadable STREAMS
module for SunOS 4.x / SunOS 5.x systems
parse/parsestreams.c
- SUN Streams module (loadable) for radio clocks
This streams module is designed for SunOS 4.1.X.
parse/parsesolaris.c
- SUN Streams module (loadable) for radio clocks.
This streams module is designed for SunOS 5.x
Beware this is still new - so it might crash
your machine (we have seen it working, though).
parse/parsetest.c
- simple test program for STREAMS module. Its so simple,
that it doesn't even set TTY-modes, thus they got to
be correct on startup - works for Meinberg receivers
parse/testdcf.c
- test program for raw DCF77 (100/200ms pulses)
receivers
include/parse.h - interface to "parse" module and more
include/parse_conf.h
- interface to "parse" configuration
include/sys/parsestreams.h
- STREAMS specific definitions
scripts/support
- scripts (perl & sh) for statistics and rc startup
the startup scripts are used in Erlangen for
starting the daemon on a variety of Suns and HPs
and for Reference Clock startup on Suns
These scripts may or may not be helpful to you.
Supported clocks:
Meinberg DCF U/A 31
Meinberg PZF535/TCXO (Software revision PZFUERL 4.6)
Meinberg PZF535/OCXO (Software revision PZFUERL 4.6)
Meinberg GPS166 (Software version for Uni-Erlangen)
ELV DCF7000 (not recommended - casual/emergency use only)
Conrad DCF77 receiver (email: time@informatik.uni-erlangen.de)
+ level converter
TimeBrick (email: time@informatik.uni-erlangen.de)
Schmid Receiver Kit
Trimble SV6 GPS receiver
Addresses:
Meinberg Funkuhren
Auf der Landwehr 22
31812 Bad Pyrmont
Germany
Tel.: 05281/20 18
FAX: 05281/60 81 80
ELV Kundenservice
Postfach 1000
26787 Leer
Germany
Tel.: 0491/60 08 88
Walter Schmidt
Eichwisrain 14
8634 Hombrechtikon
Switzerland
If you have problems mail to:
time@informatik.uni-erlangen.de
We'll help (conditions permitting)
./usr/share/doc/ntp-doc/html/hints/winnt.htm 0100644 0000000 0000000 00000031015 07054647674 017723 0 ustar root root
NTP on Windows NT
NTP 4.x for Windows NT
Introduction
The NTP 4 distribution runs as service on (i386) Windows NT 4.0 and Windows
2000. The binaries work on dual processor systems. This port has not been
tested on the Alpha platform.
Refer to System Requirements and Instructions for how to compile the
program.
Reference Clocks
Refernce clock support under Windows NT is tricky because the IO functions
are so much different. The following reference clocks are supported by
Windows NT:
Type 1 Undisciplined Local Clock (LOCAL)
Type 29 Trimble Navigation Palisade GPS
(GPS_PALISADE)
Functions Supported
All NTP functions are supported with some constraints. See the TODO list
below.
Accuracy
Greg Brackley has implemented a fantastic interpolation scheme that improves
the precision of the NTP clock using a realtime thread (is that poetic
or what!) which captures a tick count from the 8253 counter after each
OS tick. The count is used to interpolate the time between operating system
ticks.
On a typical 200+ MHz system NTP achieves a precision of about 5 microseconds
and synchronizes the clock to +/-500 microseconds using the Trimble
Palisade as UTC reference. This allows distributed applications to
use the 10 milliseconds ticks available to them with high confidence.
Binaries
Recent InstallShield based executable versions of NTP for Windows NT (i386)
are available from:
http://www.trimble.com/oem/ntp
and http://www.five-ten-sg.com/
ToDo
-
NMEA refclock support is in development.
-
See if precision can be improved by using CPU cycle counter for tick interpolation.
-
Make precision time available to applications using NTP_GETTIME API
Compiling Requirements
-
Windows NT 4.0 or 5.0 (2000)
-
Microsoft Visual C++ 6.0
-
Some version of the archiving program ZIP.
Compiling Instructions
-
Unpack the NTP-4.x.tar.gz
-
Open the .\ports\winnt\ntp.dsw Visual C workspace
-
Batch build all projects
Configuration File
The default NTP configuration file path is %SystemRoot%\system32\drivers\etc\.
(%SystemRoot%
is an environmental variable that can be determined by typing "set" at
the "Command Prompt" or from the "System" icon in the "Control Panel").
Refer to your system environment and create your ntp.conf
file in the directory corresponding to your system installation.
The older <WINDIR>\ntp.conf is still supported but you
will get a log entry reporting that the first file wasn't found.
Installation Instructions
The instsrv program in the instsrv subdirectory of the distribution
can be used to install 'ntpd' as a service and start automatically at boot
time. Instsrv is automatically compiled with the rest of the distribution
if you followed the steps above.
-
Start a command prompt and enter "instsrv.exe <pathname_for_ntpd.exe>"
-
Clicking on the "Services" icon in the "Control Panel" will display the
list of currently installed services in a dialog box. The NetworkTimeProtocol
service should show up in this list. Select it in the list and hit the
"Start" button in the dialog box. The NTP service should start.
-
View the event log by clicking on the "Event Viewer" icon in the "Administrative
Tools" group, there should be several successful startup messages from
NTP. NTP will keep running and restart automatically when the machine is
rebooted.
You can change the start mode (automatic/manual) and other startup parameters
corre't found.
<4 0000000 0000000 00000005663 06201167154 017100 0 ustar root root Compilation