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 |