home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / ntp107.zip / NTP.DOC next >
Text File  |  1998-03-05  |  6KB  |  137 lines

  1. -------------------------------------------------
  2. Network Time Protocol (NTP) Client - Version 1.07
  3. (c) Copyright Ralf Christen 1997,1998
  4. -------------------------------------------------
  5.  
  6. YOU MAY USE AND DISTRIBUTE THIS PROGRAM FREELY AS LONG AS YOU DON'T
  7. MODIFY ANY OF ITS PARTS.
  8.  
  9.  
  10. What this software does
  11. -----------------------
  12. The Network Time Protocol (NTP) Client connects to a time server through the
  13. Internet, gets the current time and adjusts the clock of your OS/2 machine
  14. using the system DATE function.
  15.  
  16.  
  17. What you need
  18. -------------
  19. You need Warp V3 or Warp V4 with TCP/IP or the IBM Internet Access Kit (IAK)
  20. (ICS) installed to run this software.
  21.  
  22. IMPORTANT: This package needs a DLL named RXSOCK.DLL. If you have Warp V3
  23. WITHOUT TCP/IP installed (Internet Access Kit only), you must get the
  24. DLL mentioned above from the following source and copy it to your /tcpip/dll
  25. directory:
  26. http://www.horgen.net/rem/software/RXSOCK.DLL
  27.  
  28.  
  29. Where to find a time server
  30. ---------------------------
  31. There are many public time servers available in the Internet. The following
  32. Webpage contains an excellent list of time servers open to the public:
  33. http://www.eecis.udel.edu/~mills/ntp/servers.html
  34.  
  35. Important: Be sure to use a time server located near yourself to ensure that
  36. - there are short transmission times
  37. - the server has the same timezone
  38.  
  39.  
  40. Where can I install this NTP client
  41. -----------------------------------
  42. You can install this client on any OS/2 system which has access to the
  43. Internet. If you are behind a SOCKS firewall, you can enable the general
  44. SOCKS gateway of Warp 4 since this NTP client doesn't offer the usage of a
  45. SOCKS gateway.
  46.  
  47. If you use a DialIn access to the Internet through an access provider, it is
  48. a good way to add the NTP to the autostart section of your dialer. This
  49. adjust the time of your PC every time you connect to the Internet.
  50.  
  51. Many users install this NTP client on an OS/2 system running a LAN-Server.
  52. All connected clients (LAN-Requesters) adjust their time using the following
  53. LAN-Requester command: "NET TIME \\SERVER01 /SET /YES" where 'SERVER01' is the
  54. name of your LAN-Server. If the TIMESOURCE service is activated on your LAN-
  55. Server, your OS/2 client will adjust its time automatically.
  56.  
  57.  
  58. How to start the NTP client for a DAYTIME server
  59. ------------------------------------------------
  60. The most common timeserver service is DAYTIME which delivers the current time
  61. of your timezone at TCP/IP port #13. To use this service, use the following
  62. syntax:
  63.  
  64. NTP.EXE timeserver [interval-in-seconds] [/NOBACK]
  65.  
  66. The following command uses the timeserver 'bernina.ethz.ch' and gets the new
  67. time every hour (=3600 seconds):
  68. NTP.EXE bernina.ethz.ch 3600
  69.  
  70. The following command uses the timeserver 'bernina.ethz.ch' and gets the new
  71. time once:
  72. NTP.EXE bernina.ethz.ch
  73.  
  74. The NTP client displays the following data for every time request:
  75. 07/05/97 09:53:45 - Wed May  7 09:53:45 1997
  76. On the left side you see the current date and time of your workstation, on the
  77. right hand side you have the complete date and time information of the time
  78. server. After this, the NTP client adjusts its own time.
  79.  
  80.  
  81. How to start the NTP client for a TIME server
  82. ---------------------------------------------
  83. There is a seconds time service in use. The TIME service delivers a UTC/GMT
  84. time at port #37. To use this service, use the following syntax:
  85. NTP.EXE timeserver [interval-in-seconds] /TS+n [/NOBACK]
  86.  
  87. The following command uses the timeserver 'tick.usno.navy.mil' and gets the
  88. new time every hour (=3600 seconds) with a time-offset of 2 hours:
  89. NTP.EXE tick.usno.navy.mil 3600 /TS+2
  90.  
  91. The following command uses the timeserver 'tick.usno.navy.mil' and gets the
  92. new time once with a time-offset of -5 hours:
  93. NTP.EXE tick.usno.navy.mil /TS-5
  94.  
  95. The NTP client displays the following data for every time request:
  96. 07/05/97 09:53:45 - 09:53:45
  97. On the left side you see the current date and time of your workstation, on the
  98. right hand side you have the time information of the time server. After this,
  99. the NTP client adjusts its own time.
  100.  
  101.  
  102. The /NOBACK switch
  103. ------------------
  104. Some programs encounter serious problems if you put back the current time to a
  105. lower value (earlier time). One of these programs is the Lotus Notes server.
  106. If you have the /NOBACK switch enabled, the NTP clients does not set back the
  107. time to a lower value if your clock should run too fast. The current time will
  108. remain the same until the correct time has been reached. Be aware that this
  109. applies to hour/minute/second level and not to 1/10 or 1/100 seconds level.
  110.  
  111. NTP.EXE bernina.ethz.ch 3600 /NOBACK
  112.  
  113.  
  114. New in the last few versions
  115. ----------------------------
  116. - New /NOBACK switch added (1.07)
  117. - Problem fixed it time server delivers an empty time string. (1.07)
  118. - Some WinNT Time servers use a different DAYTIME format. This version can
  119.   also handle those exotic time formats. (1.06)
  120. - NTP can handle another special time format which has some timezone infos
  121.   appended to the returned DAYTIME string. (1.06)
  122.  
  123.  
  124. More about the NTP protocol
  125. ---------------------------
  126. Visit the following Webpage if you want to learn more about the
  127. Internet NTP protocol: http://www.eecis.udel.edu/~ntp/
  128.  
  129.  
  130. News about this software
  131. ------------------------
  132. You can get the latest release of this software at:
  133. http://www.horgen.net/rem/software/
  134.  
  135. If you have questions or suggestions, mail to:
  136. ralf.christen@ibm.net
  137.