Skip to contentSkip to conversation

ntp

DISCUSSION Luca Ferrari 4 participants 6 messages Feb 26, 2004

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Luca Ferrari,
[email protected]
#1 lore raw

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

Quoted 34 lines · On

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

Signature · 6 lines
Luca Ferrari,
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

OOPS, sorry about that, here is the link:

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

Jeff

Quoted 42 lines · On

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

Quoted 22 lines · On

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.

Quoted 12 lines

What's wrong with this small configuration?

Thanks,
Luca

Signature · 6 lines
Luca Ferrari,
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Luca Ferrari

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 ...

Signature · 2 lines
... i'm a man, but i can change,
    if i have to , i guess ...
#4 lore raw
Quoted 10 lines · terry white

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.

#5 lore raw
Quoted 9 lines · Milan P. Stanic
Quoted 8 lines · terry white

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"

Quoted 6 lines
Quoted 2 lines

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/