Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Setting the clock with ntp
Date: Fri, 07 Jun 2013 01:34:19
Message-Id: 51B13871.80604@iinet.net.au
In Reply to: [gentoo-user] Setting the clock with ntp by Chris Stankevitz
1 On 07/06/13 09:21, Chris Stankevitz wrote:
2 > Hi,
3 >
4 > What is the gentoo equivalent to this ubuntu command:
5 >
6 > apt-get install ntpdate && ntpdate pool.ntp.org
7 >
8 > The first command installs ntpdate, a program that uses ntp to
9 > immediately set the clock, even if it is going to be a large
10 > adjustment. The second comment tells ntpdate to sync the clock.
11 >
12 > Thank you,
13 >
14 > Chris
15 >
16
17 emerge ntp && sntp -s <timeserver>
18
19 for continous syncing - check /etc/ntpd.conf
20
21 rc-update add ntpd
22
23 check syncing ntpq -p
24
25 BillK