linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ntp
@ 2004-02-26  8:08 Luca Ferrari
  2004-02-26  9:09 ` ntp Jeffrey Morse
  2004-02-26  9:24 ` ntp terry white
  0 siblings, 2 replies; 6+ messages in thread
From: Luca Ferrari @ 2004-02-26  8:08 UTC (permalink / raw)
  To: linux-admin

Hi,
I'd like to set up a ntp server and several clients connected to the server 
itself. Unluckily I'm unable to find documentation on-line, or better I 
cannot understand what I've found. Briefly here there's what I've done:
- on the server:
_ installed ntp
_ configuration file /etc/ntp.conf contains the line 
server 127.0.0.1
_ I launch ntp and query it:
ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 localhost       0.0.0.0          0 l    -   64    0    0.000    0.000 4000.00


- clients:
_ set the ntp.conf file to point to the server:
server ntpserver
_ launch ntp but I get the message (in the warnings) that there is no service 
running at the server
_ try with ntpdate but I cannot get the time from the server.

What's wrong with this small configuration?

Thanks,
Luca

-- 
Luca Ferrari,
fluca1978@virgilio.it

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ntp
  2004-02-26  8:08 ntp Luca Ferrari
@ 2004-02-26  9:09 ` Jeffrey Morse
  2004-02-26  9:19   ` ntp Jeffrey Morse
  2004-02-26  9:24 ` ntp terry white
  1 sibling, 1 reply; 6+ messages in thread
From: Jeffrey Morse @ 2004-02-26  9:09 UTC (permalink / raw)
  To: linux-admin

Here is a very good resource for NTP configuration along with many other
helpful Linux configurations.

* On [02-26-2004 09:08 +0100] Luca Ferrari <fluca1978@virgilio.it> wrote:
> Hi,
> I'd like to set up a ntp server and several clients connected to the server 
> itself. Unluckily I'm unable to find documentation on-line, or better I 
> cannot understand what I've found. Briefly here there's what I've done:
> - on the server:
> _ installed ntp
> _ configuration file /etc/ntp.conf contains the line 
> server 127.0.0.1
> _ I launch ntp and query it:
> ntpq -p
>      remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
>  localhost       0.0.0.0          0 l    -   64    0    0.000    0.000 4000.00
> 
> 
> - clients:
> _ set the ntp.conf file to point to the server:
> server ntpserver
> _ launch ntp but I get the message (in the warnings) that there is no service 
> running at the server
> _ try with ntpdate but I cannot get the time from the server.
> 
> What's wrong with this small configuration?
> 
> Thanks,
> Luca
> 
> -- 
> Luca Ferrari,
> fluca1978@virgilio.it
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ntp
  2004-02-26  9:09 ` ntp Jeffrey Morse
@ 2004-02-26  9:19   ` Jeffrey Morse
  0 siblings, 0 replies; 6+ messages in thread
From: Jeffrey Morse @ 2004-02-26  9:19 UTC (permalink / raw)
  To: linux-admin

OOPS, sorry about that, here is the link:

http://www.siliconvalleyccie.com/index.htm

Jeff

* On [02-26-2004 03:09 -0600] Jeffrey Morse <jmorse@m4cc.com> wrote:
> Here is a very good resource for NTP configuration along with many other
> helpful Linux configurations.
> 
> * On [02-26-2004 09:08 +0100] Luca Ferrari <fluca1978@virgilio.it> wrote:
> > Hi,
> > I'd like to set up a ntp server and several clients connected to the server 
> > itself. Unluckily I'm unable to find documentation on-line, or better I 
> > cannot understand what I've found. Briefly here there's what I've done:
> > - on the server:
> > _ installed ntp
> > _ configuration file /etc/ntp.conf contains the line 
> > server 127.0.0.1
> > _ I launch ntp and query it:
> > ntpq -p
> >      remote           refid      st t when poll reach   delay   offset  jitter
> > ==============================================================================
> >  localhost       0.0.0.0          0 l    -   64    0    0.000    0.000 4000.00
> > 
> > 
> > - clients:
> > _ set the ntp.conf file to point to the server:
> > server ntpserver
> > _ launch ntp but I get the message (in the warnings) that there is no service 
> > running at the server
> > _ try with ntpdate but I cannot get the time from the server.
> > 
> > What's wrong with this small configuration?
> > 
> > Thanks,
> > Luca
> > 
> > -- 
> > Luca Ferrari,
> > fluca1978@virgilio.it
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ntp
  2004-02-26  8:08 ntp Luca Ferrari
  2004-02-26  9:09 ` ntp Jeffrey Morse
@ 2004-02-26  9:24 ` terry white
  2004-02-26  9:47   ` ntp Milan P. Stanic
  1 sibling, 1 reply; 6+ messages in thread
From: terry white @ 2004-02-26  9:24 UTC (permalink / raw)
  To: linux-admin

on "2-26-2004" "Luca Ferrari" writ:

: I'd like to set up a ntp server and several clients connected to the server

: _ configuration file /etc/ntp.conf contains the line
: server 127.0.0.1

... ciao:

    first, to be a server, you have to be a client of one, OR, have
access to accurate time information; typically via 'radio' if no access
to net based time servers available to you.  so, line similar to the
following should appear:

	"server  time.nist.gov"
	"server  time-a.timefreq.bldrdoc.gov"

these are the 'servers' i poll for time information.  when you use the
'loopback' address, you're asking 'yourself' what time it is.

    instead of being a 'time server' per se, remote systems use 'rdate'
in a cron event to keep 'hourly accurate' time.


: ntpq -p
:      remote           refid      st t when poll reach   delay   offset  jitter
: ==============================================================================
:  localhost       0.0.0.0          0 l    -   64    0    0.000    0.000 4000.00

    on this system:

[ root  ] ~  # ntpq -p
     remote      refid     st t when poll reach   delay   offset  jitter
==============================================================================
 time.nist.gov   .ACTS.     1 u 1409 1024   16   86.885   -5.531  3.542
*time-A.timefreq .ACTS.     1 u  318 1024  377   95.454   -5.127  5.316

    hope that helps ...


-- 
... i'm a man, but i can change,
    if i have to , i guess ...



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ntp
  2004-02-26  9:24 ` ntp terry white
@ 2004-02-26  9:47   ` Milan P. Stanic
  2004-02-26 14:59     ` ntp Milan P. Stanic
  0 siblings, 1 reply; 6+ messages in thread
From: Milan P. Stanic @ 2004-02-26  9:47 UTC (permalink / raw)
  To: linux-admin

On Thu, Feb 26, 2004 at 01:24:25AM -0800, terry white wrote:
>     first, to be a server, you have to be a client of one, OR, have
> access to accurate time information; typically via 'radio' if no access
> to net based time servers available to you.  so, line similar to the
> following should appear:
> 
> 	"server  time.nist.gov"
> 	"server  time-a.timefreq.bldrdoc.gov"
> 
> these are the 'servers' i poll for time information.  when you use the
> 'loopback' address, you're asking 'yourself' what time it is.
 
New (and preferred way) is to use pool.ntp.org as servers.

Info's are on the http://pool.ntp.org/ IIRC.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ntp
  2004-02-26  9:47   ` ntp Milan P. Stanic
@ 2004-02-26 14:59     ` Milan P. Stanic
  0 siblings, 0 replies; 6+ messages in thread
From: Milan P. Stanic @ 2004-02-26 14:59 UTC (permalink / raw)
  To: linux-admin; +Cc: Bruce Ferrell

On Thu, Feb 26, 2004 at 10:47:15AM +0100, Milan P. Stanic wrote:
> On Thu, Feb 26, 2004 at 01:24:25AM -0800, terry white wrote:
> >     first, to be a server, you have to be a client of one, OR, have
> > access to accurate time information; typically via 'radio' if no access
> > to net based time servers available to you.  so, line similar to the
> > following should appear:
> > 
> > 	"server  time.nist.gov"
> > 	"server  time-a.timefreq.bldrdoc.gov"
> > 
> > these are the 'servers' i poll for time information.  when you use the
> > 'loopback' address, you're asking 'yourself' what time it is.
>  
> New (and preferred way) is to use pool.ntp.org as servers.
> 
> Info's are on the http://pool.ntp.org/ IIRC.

Sorry, I was wrong. It is on the http://fortytwo.ch/time/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-26 14:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-26  8:08 ntp Luca Ferrari
2004-02-26  9:09 ` ntp Jeffrey Morse
2004-02-26  9:19   ` ntp Jeffrey Morse
2004-02-26  9:24 ` ntp terry white
2004-02-26  9:47   ` ntp Milan P. Stanic
2004-02-26 14:59     ` ntp Milan P. Stanic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).