Re: ntp

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

 



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


-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux