Package: chrony
Version: 1.21z-5
Followup-For: Bug #407466

A "me too" report.  My system is a dialup, my clock was six minutes
behind.  I looked at the docs, read dozens of screens and couldn't
figure out how to set the clock -- or rather I'd try things and fail.
Looked at the BTS, found this bug, commented out
"rtcfile /var/lib/chrony/chrony.rtc" as per maintainers advice,
restarted the 'chronyd' server, but the time was still off, so what that
changed is unclear.

The present docs are excellent technical references, describing
every command in detail.  And yet...

It's like handing a dictionary to an immigrant that doesn't know a word
of English and who just wants to answer a basic question; pat him on the
back, "it's all there mon ami, you figure it out".  Or the proverb
"Give a man a fish and you feed him today; teach him to fish, and you
feed him for life", for a first timer an encyclopedia of fish is not
efficient.  Or a hacker's "flooding" attack -- overwhelm the server,
(or learner).

With that tirade off my chest, I eventually discovered how to set the
clock, so 'chrony' novice BTS browsers take note:

    1) Become root.
    2) From the command line 'chronyc'.
    3) Now enter the special 'chrony' password, (which
       can be found in '/etc/chrony/chrony.keys'), like
       so:

            chronyc> password
            Password:           (the chrony pw. is not echoed)
            200 OK

    4) Put 'chrony' in manual mode:

            chronyc> manual on
            200 OK

    5) And set the time:

        chronyc> settime 1:29
        200 OK : Clock was 168.90 seconds fast.  Frequency change = 0.00ppm, 
new frequency = 44.82ppm

How to tell 'chronyc' to fetch the correct time from the web and actually
use it without skew?  Dunno yet.

Hope this helps...


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages chrony depends on:
ii  libc6                     2.6.1-1+b1     GNU C Library: Shared libraries
ii  libncurses5               5.6+20070825-1 Shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  ucf                       3.001          Update Configuration File: preserv

chrony recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to