Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Setting the clock with ntp

10 views
Skip to first unread message

Chris Stankevitz

unread,
Jun 6, 2013, 9:30:02 PM6/6/13
to
Hi,

What is the gentoo equivalent to this ubuntu command:

apt-get install ntpdate && ntpdate pool.ntp.org

The first command installs ntpdate, a program that uses ntp to
immediately set the clock, even if it is going to be a large
adjustment. The second comment tells ntpdate to sync the clock.

Thank you,

Chris

William Kenworthy

unread,
Jun 6, 2013, 9:40:01 PM6/6/13
to
emerge ntp && sntp -s <timeserver>

for continous syncing - check /etc/ntpd.conf

rc-update add ntpd

check syncing ntpq -p

BillK

staticsafe

unread,
Jun 6, 2013, 9:40:02 PM6/6/13
to
emerge ntp && ntpdate pool.ntp.org
--
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.

Chris Stankevitz

unread,
Jun 7, 2013, 12:10:02 AM6/7/13
to
On Thu, Jun 6, 2013 at 6:30 PM, staticsafe <m...@staticsafe.ca> wrote:
> emerge ntp && ntpdate pool.ntp.org

Thank you!

Chris

Dale

unread,
Jun 7, 2013, 8:20:02 AM6/7/13
to
I use this command for checking if the clock is getting synced and
accurate, enough.

ntpdate -b -u -q pool.ntp.org

If it happens to be way off, I remove the -q option and it will set the
clock, rather abruptly tho. Someone posted that command for me AGES ago
so figured I would pass it on. ;-)

Dale

:-) :-)

--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
0 new messages