9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Ethan Gardener" <eekee57@fastmail.fm>
To: 9fans@9fans.net
Subject: Re: [9fans] aux/timesync -n doesn't work
Date: Wed, 18 Sep 2019 19:14:29 +0100	[thread overview]
Message-ID: <a8a72f9f-fede-417c-8d9a-49ae3d365e38@www.fastmail.com> (raw)
In-Reply-To: <CALp9=o+xMY-LWpL98BB4vmQpCO1sjMcDtqzAtpb+vK3xFm+58g@mail.gmail.com>

On Tue, Sep 10, 2019, at 3:20 PM, Олег Бахарев wrote:
> aux/timesync doesnt work in raspberry pi 2. How to fix this problem ?

I could never get it working until I did this:

term% cat /rc/bin/termrc.local
# timesync
# when timesync(8) says "$ntp", it's lying.
rm -f /sys/log/timesync
TIMESYNCARGS=(-na1000000 2.europe.pool.ntp.org)
term% 

I'm not sure what the rm was for, but it's not needed now. It must have been a debug option. I think I remember timesync complaining if /sys/log/timesync existed when it started up.



  parent reply	other threads:[~2019-09-18 18:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-10 14:20 Олег Бахарев
2019-09-10 15:53 ` Richard Miller
2019-09-10 22:40   ` Олег Бахарев
2019-09-10 22:53     ` Bakul Shah
2019-09-11  4:01 ` Ori Bernstein
2019-09-18 18:14 ` Ethan Gardener [this message]
2019-09-19 10:11   ` Richard Miller
2019-09-22  9:20     ` Ethan Gardener
2019-09-22 10:01       ` Richard Miller
2019-09-28 18:08         ` Ethan Gardener

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8a72f9f-fede-417c-8d9a-49ae3d365e38@www.fastmail.com \
    --to=eekee57@fastmail.fm \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).