Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > ca05d17306a897e7bdc7ce5b478d8b91 > files > 10

chrony-1.23-8mdv2010.0.i586.rpm

This document describes setup of chrony on a Redhat system (the specific
configuration chosen for this setup).  The user should read the documentation
in /usr/doc/chrony (especially the info files) for specific information
about chrony.

The configuration file is in /etc/chrony.conf and looks like:

    server x.x.x.x offline
    keyfile /etc/chrony.keys
    commandkey 1
    driftfile /etc/chrony.drift
    logdir /var/log/chrony
    log statistics measurements tracking rtc
    rtcfile /etc/chrony.rtc
    rtconutc

You should replace the "x.x.x.x" with your NTP server and add new NTP
servers to this file as necessary.  Remove the "offline" parameter if
you are on a direct connection (not a dialin).  If you are dialing in,
see below for more info.

The password in the keyfile is currently "test1".  You should probably
change this.
The last line assumes your clock is on UTC time. Remove it if you use 
local time.

If you are dialing in, you must adjust your startup files to handles
this.  I use PPP, so that is all I know about.  If you use PPP, add
the following to your /etc/ppp/ip-up.local, changing the password to
what you have chosen:

    cat <<EOF | /usr/bin/chronyc
    password test1
    online
    EOF

and add the following to your /etc/ppp/ip-down.local:

    cat <<EOF | /usr/bin/chronyc
    password test1
    offline
    writertc
    EOF


Corey Minyard <minyard@acm.org>