* [gentoo-user] Setting the clock with ntp
@ 2013-06-07 1:21 Chris Stankevitz
2013-06-07 1:30 ` staticsafe
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Chris Stankevitz @ 2013-06-07 1:21 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Setting the clock with ntp
2013-06-07 1:21 [gentoo-user] Setting the clock with ntp Chris Stankevitz
@ 2013-06-07 1:30 ` staticsafe
2013-06-07 4:03 ` Chris Stankevitz
2013-06-07 1:33 ` William Kenworthy
2013-06-07 12:10 ` Dale
2 siblings, 1 reply; 5+ messages in thread
From: staticsafe @ 2013-06-07 1:30 UTC (permalink / raw
To: gentoo-user
On Thu, Jun 06, 2013 at 06:21:32PM -0700, Chris Stankevitz wrote:
> 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
>
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Setting the clock with ntp
2013-06-07 1:21 [gentoo-user] Setting the clock with ntp Chris Stankevitz
2013-06-07 1:30 ` staticsafe
@ 2013-06-07 1:33 ` William Kenworthy
2013-06-07 12:10 ` Dale
2 siblings, 0 replies; 5+ messages in thread
From: William Kenworthy @ 2013-06-07 1:33 UTC (permalink / raw
To: gentoo-user
On 07/06/13 09:21, Chris Stankevitz wrote:
> 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
>
emerge ntp && sntp -s <timeserver>
for continous syncing - check /etc/ntpd.conf
rc-update add ntpd
check syncing ntpq -p
BillK
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Setting the clock with ntp
2013-06-07 1:30 ` staticsafe
@ 2013-06-07 4:03 ` Chris Stankevitz
0 siblings, 0 replies; 5+ messages in thread
From: Chris Stankevitz @ 2013-06-07 4:03 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
On Thu, Jun 6, 2013 at 6:30 PM, staticsafe <me@staticsafe.ca> wrote:
> emerge ntp && ntpdate pool.ntp.org
Thank you!
Chris
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Setting the clock with ntp
2013-06-07 1:21 [gentoo-user] Setting the clock with ntp Chris Stankevitz
2013-06-07 1:30 ` staticsafe
2013-06-07 1:33 ` William Kenworthy
@ 2013-06-07 12:10 ` Dale
2 siblings, 0 replies; 5+ messages in thread
From: Dale @ 2013-06-07 12:10 UTC (permalink / raw
To: gentoo-user
Chris Stankevitz wrote:
> 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
>
>
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!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-06-07 12:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-07 1:21 [gentoo-user] Setting the clock with ntp Chris Stankevitz
2013-06-07 1:30 ` staticsafe
2013-06-07 4:03 ` Chris Stankevitz
2013-06-07 1:33 ` William Kenworthy
2013-06-07 12:10 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox