All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hal Murray <hmurray@megapathdsl.net>
To: Michael Ellerman <michael@ellerman.id.au>
Cc: Hal Murray <hmurray@megapathdsl.net>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Hugh Blemings <hugh@blemings.org>,
	linuxppc-dev@ozlabs.org, devel@ntpsec.org,
	Paul Mackerras <paulus@ozlabs.org>
Subject: Re: Timekeeping oddities on MacMini G4s
Date: Tue, 07 Feb 2017 01:56:59 -0800	[thread overview]
Message-ID: <20170207095659.41AC2406076@ip-64-139-1-69.sjc.megapath.net> (raw)
In-Reply-To: Message from Michael Ellerman <michael@ellerman.id.au> of "Tue, 07 Feb 2017 13:21:40 +1100." <87h946g2q3.fsf@concordia.ellerman.id.au>

> What do I do if I don't have an existing ntp.conf ?

Assuming ntpsec builds...

There are sample config files in config/
  contrib/ntp.conf.log.sample has logging which you probably want.
it has lots of comments.

It is setup to use us.pool.ntp.org
If you aren't in the us, you should probably change that to your country code.

If you know of any good servers near your location (by network quality, not 
miles/km), you can add them with:
  server <ip-address-or-name> iburst

It will write in several files:
  /var/lib/ntp/ntp.drift
  /var/log/ntp.log
  /var/log/ntpstats/<various>
So you need to make sure the directories exist.


Turn off whatever is currently keeping time on your system.

./build/main/ntpd/ntpd -N -c ./contrib/ntp.conf.log.sample

(It may need a file name starting at /)


-- 
These are my opinions.  I hate spam.

  reply	other threads:[~2017-02-07  9:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01  3:10 Timekeeping oddities on MacMini G4s Hugh Blemings
2017-02-01  3:34 ` Benjamin Herrenschmidt
2017-02-01  6:59   ` Hal Murray
2017-02-01  7:13     ` Benjamin Herrenschmidt
2017-02-01  7:56       ` Hal Murray
2017-02-05  0:19         ` Fred Wright
2017-02-05  3:32           ` Hal Murray
2017-02-05 15:36             ` Frank Nicholas
2017-02-06  5:59               ` Hal Murray
2017-02-05 23:22           ` Benjamin Herrenschmidt
2017-02-06  2:12             ` Segher Boessenkool
2017-02-07  2:21         ` Michael Ellerman
2017-02-07  9:56           ` Hal Murray [this message]
     [not found] <1316061184.389961.1486121485729@mail.yahoo.com>
2017-02-03 11:41 ` Jochen Rollwagen

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=20170207095659.41AC2406076@ip-64-139-1-69.sjc.megapath.net \
    --to=hmurray@megapathdsl.net \
    --cc=benh@kernel.crashing.org \
    --cc=devel@ntpsec.org \
    --cc=hugh@blemings.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=michael@ellerman.id.au \
    --cc=paulus@ozlabs.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.