This is the README for chrony. What is chrony? =============== Chrony is a pair of programs for maintaining the accuracy of computer clocks. chronyd is a (background) daemon program that can be started at boot time. This does most of the work. chronyc is a command-line interface program which can be used to monitor chronyd's performance and to change various operating parateters whilst it is running. chronyd's main function is to obtain measurements of the true (UTC) time from one of several sources, and correct the system clock accordingly. It also works out the rate at which the system clock gains or loses time and uses this information to keep it accurate between measurements from the reference. The reference time can be derived from either Network Time Protocol (NTP) servers (preferred), or wristwatch-and-keyboard (via chronyc). The main source of information about the Network Time Protocol is http://www.eecis.udel.edu/~ntp. It is designed so that it can work on computers which only have intermittent access to reference sources, for example computers which use a dial-up account to access the Internet. Of course, it will work on computers with permanent connections too. In addition, the Linux 2.0.x (for x >= 32), 2.2.x and 2.3.x versions can monitor the system's real time clock performance, so the system can maintain accurate time even across reboots. Typical accuracies available between 2 machines are On an ethernet LAN : 100-200 microseconds, often much better On a V32bis dial-up modem connection : 10's of milliseconds (from one session to the next) chronyd can also operate as an RFC1305-compatible NTP server and peer. What will chrony run on? ======================== Chrony can be successfully built and run on 1. Linux v1.2.13, v2.0.x, 2.1.x (partially), 2.2.x, 2.3.x, 2.4.x (i386). Real time clock support is limited to 2.0.32 onwards and to 2.2, 2.3 and 2.4 series only. PowerPC is also known to be supported. 2. Solaris 2.5/2.5.1/2.6/2.7/2.8 (various platforms) 3. SunOS 4.1.4 (Sparc 2 and Sparc 20) 4. BSD/386 v1.1 has been reported to work using the SunOS 4.1 driver. 5. NetBSD. Any other system will require a porting exercise. You would need to start from one of the existing system-specific drivers and look into the quirks of certain system calls and the kernel on your target system. (This is described in the manual). How do I set it up? =================== The file INSTALL gives instructions. On supported systems the compilation process should be automatic. You will need an ANSI C compiler -- gcc is recommended. Versions 2.7.2/2.7.2.2 are known to work. The manual (in texinfo and text formats) describes how to set the software up for the less straightforward cases. What documentation is there? ============================ A manual is supplied in Texinfo format (chrony.texi) and ready-formatted plain text (chrony.txt) in the distribution. There is also information available on the chrony web pages, accessible through the URL http://chrony.sunsite.dk/ What can chrony not do? ======================= Compared to the `reference' RFC1305 implementation xntpd, chronyd does not support hardware reference clocks, leap seconds or broadcast modes. Where are new versions announced? ================================= There is a low volume mailing list where new versions and other important news relating to chrony is announced. You can join this list by sending mail to chrony-announce-subscribe@sunsite.dk These messages will be copied to chrony-users (see below). I also try to announce new versions on Freshmeat (http://freshmeat.net/). I don't reliably announce via news any more - I don't tend to keep up with news as I haven't enough time. How can I get support for chrony? and where can I discuss new features, possible bugs etc? ======================================================== There are 3 mailing lists relating to chrony. chrony-announce was mentioned above. chrony-users is a users' discussion list, e.g. for general questions and answers about using chrony. chrony-dev is a more technical list, e.g. for discussing how new features should be implemented, exchange of information between developers etc. To subscribe to either of these lists, send an empty message to chrony-users-subscribe@sunsite.dk or chrony-dev-subscribe@sunsite.dk as applicable. Note that due to family commitments (a 3 year-old and a 1 year-old), I no longer have the time to give to supporting chrony that I once had. Therefore, the chrony-users list should be your main route for support, rather than mailing me directly. Even if it's me that responds to your question on the list, at least *ALL* subscribers then benefit from seeing the discussion, rather than me taking up lots of time on supporting people on a one-to-one basis. If you do mail me directly, don't be surprised if I cc: the response to the mailing list. But how can I contact the author if I need to? ============================================== You can email me at . If that fails, you could try to find me through one of the mailing lists. It would be nice if: - you include the word 'chrony' in the subject line (so my mail reader can sort my mail by topic) - you don't send complete log files, encoded binaries etc, without editing such material down to just the relevant bits - a few tens of lines at most. (My dial-up connection handles large messages rather slowly ...). Acknowledgements ================ The following people have provided patches and other major contributions to the program : Andrew Bishop Fixes for bugs in logging when in daemon mode Fixes for compiler warnings Robustness improvements for drift file Improve installation (directory checking etc) Entries in contrib directory Improvements to 'sources' and 'sourcestats' output from chronyc Improvements to documentation Investigation of required dosynctodr behaviour for various Solaris versions. Stephan I. Boettcher Entries in contrib directory Erik Bryer Entries in contrib directory Juliusz Chroboczek Fix install rule in Makefile if chronyd file is in use. Paul Elliott DNSchrony (in contrib directory), a tool for handling NTP servers with variable IP addresses. Mike Fleetwood Fixes for compiler warnings Alexander Gretencord Changes to installation directory system to make it easier for package builders. Walter Haidinger Providing me with login access to a Linux installation where v1.12 wouldn't compile, so I could develop the fixes for v1.13. Also, for providing the disc space so I can keep an independent backup of the sources. Juergen Hannken-Illjes Port to NetBSD John Hasler Changes to support 64 bit machines (i.e. those where sizeof(unsigned long) > 4) Bug fix to initstepslew directive Fix to remove potential buffer overrun errors. Liam Hatton Advice on configuring for Linux on PPC Jachym Holecek Patch to make Linux real time clock work with devfs Jim Knoble Fixes for compiler warnings Antti Jrvinen Advice on configuring for BSD/386 Victor Moroz Patch to support Linux with HZ!=100 Kalle Olavi Niemitalo acquisitionport support Frank Otto Handling arbitrary HZ values Andreas Piesk Patch to make chronyc use the readline library if available Wolfgang Weisselberg Entries in contrib directory Ralf Wildenhues Many robustness and security improvements Ulrich Windl for the Providing me with information about the Linux 2.2 kernel functionality compared to 2.0. Doug Woodward Advice on configuring for Solaris 2.8 on x86 Many other people have contributed bug reports and suggestions. I'm sorry I can't identify all of you individually. Version control information =========================== $Header: /cvs/src/chrony/README,v 1.30 2003/09/21 23:11:06 richard Exp $ vim:tw=72