ntp
am 26.02.2004 09:08:16 von Luca Ferrari
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
Re: ntp
am 26.02.2004 10:09:03 von Jeffrey Morse
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 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
Re: ntp
am 26.02.2004 10:19:23 von Jeffrey Morse
OOPS, sorry about that, here is the link:
http://www.siliconvalleyccie.com/index.htm
Jeff
* On [02-26-2004 03:09 -0600] Jeffrey Morse 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 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
-
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
Re: ntp
am 26.02.2004 10:24:25 von terry white
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 ...
-
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
Re: ntp
am 26.02.2004 10:47:15 von mps
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.
-
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
Re: ntp
am 26.02.2004 15:59:57 von mps
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/
-
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