[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to enable NTP?



Estelmann, Christian said the following at 03/22/2014 10:41 AM :
> What says 'ntpq -p'?
> 

[HN:radio] ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 cheezum.mattnor .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 4.53.160.75     .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 1.empty.pw      .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 krillin.ecansol .INIT.          16 u    - 1024    0    0.000    0.000   0.000
[HN:radio]


> 
> If it says that it can't reach any hosts, then you should try other hosts.
> 

I have no idea where it got those hosts from; /etc/ntp.conf says:

server 0.debian.pool.ntp.org iburst
server 1.debian.pool.ntp.org iburst
server 2.debian.pool.ntp.org iburst
server 3.debian.pool.ntp.org iburst

maybe those are mapped to the above list? I don't understand why only two of
them seem to have valid names, though (4.53.160.75 and 1.empty.pw). I can ping
those two machines just fine.

> You can tell your DHCP-client that he has to ask the DHCP-server or you 
> can set them in /etc/ntp.conf.
> Default settings in /etc/ntp.conf:
> server 0.debian.pool.ntp.org iburst
> server 1.debian.pool.ntp.org iburst
> server 2.debian.pool.ntp.org iburst
> server 3.debian.pool.ntp.org iburst

Exactly; they're set in /etc/ntp.conf.

I think I may just set the server to be one of the other machines on the
network, since despite a range of distros and versions, they all seem to be
keeping time correctly.

  Doc

-- 
Web:  http://www.sff.net/people/N7DR

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: