xntpd

Vinclav Erich vinclav at ives.vs.sk
Tue May 27 12:41:37 CEST 2003


On Tue, 27 May 2003 12:18:30 +0200, milan.cizek wrote
> Ahoj,
> mozna jsem nepochopil odpoved nebo si mi trochu neporozumel. Nepotrebuju
> rozbehnou NTP klienta, pro nastaveni casu te BSD stanice, chtel bych
> zprovoznit NTP server pro celou vnitrni sit. Zalozeni /var/log/ntp
> nepomohlo.
> 

1. Do /etc/rc.conf pridat riadok:
xntpd_enable="YES"
(to si pisal, ze mas)
2. editovat subor /etc/ntp.conf napr. nasledovne:
#******************************************************
logfile /var/log/ntpd
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
# server preto lebo som podriadeny a neovplyvnujem ... (narozdiel od peer)
# a minpoll a maxpoll 2^x nie castejsie ako raz za polhodinu = 11 (34 minut)
# a max poll = 16 (18hodin)
# ntp.bts.sk str 1 GPS
server 194.160.23.2 minpoll 7 maxpoll 16
#server 194.160.23.2
# ntp.uio.no str 2
server 129.240.12.4 minpoll 8 maxpoll 16
#server 129.240.12.4
# ntp1.ja.net str1
server 194.81.227.227 minpoll 8 maxpoll 16
#server 194.81.227.227
# rustime01.rus.uni-stuttgart.de
#server 129.69.1.153 minpoll 11 maxpoll 16
#******************************************************

Toto je priamo z mojho konfiguraku. A samozrejme, ze to funguje. Pred tym si 
ale zosynchronizuj cas rucne, mozu byt trable ked je velky casovy rozdiel...

--
Erich Vinclav
systémový administrátor, IVeS Košice
Čsl. armády 20, 041 18 Košice
vinclav.erich at ives.vs.sk



More information about the Users-l mailing list