NTP server na FBSD
Radek Krejca
radek at ceskedomeny.cz
Tue Oct 20 11:29:18 CEST 2009
Dobry den,
prosim o nakopnuti spravnym smerem, zasekl jsem se na pomerne
(alespon se mi to zdalo) jednoduche veci. Potrebuji mit ntp server
a jelikoz je FBSD memu srdci nejblizsi, tak na nem.
Zvolil jsem v portech openntpd a pouzil nasledujici konfigurak
(nalezeno na x diskuzich, ze tak nejak by to melo chodit a podle
manu se tam taky neda moc vymyslet):
-----
listen on 10.255.255.20
servers pool.ntp.org
-----
Kdyz si ale pak zkusim nastavit cas, dopadne to takto:
ntpdate -d 10.255.255.20
20 Oct 11:28:29 ntpdate[29178]: ntpdate 4.2.4p5-a Wed Sep 16 08:21:54 CEST 2009 (1)
transmit(10.255.255.20)
receive(10.255.255.20)
transmit(10.255.255.20)
receive(10.255.255.20)
transmit(10.255.255.20)
receive(10.255.255.20)
transmit(10.255.255.20)
receive(10.255.255.20)
transmit(10.255.255.20)
10.255.255.20: Server dropped: Leap not in sync
server 10.255.255.20, port 123
stratum 3, precision -21, leap 11, trust 000
refid [10.255.255.20], delay 0.02568, dispersion 0.00000
transmitted 4, in filter 4
reference time: ce8800ea.142ce7ff Tue, Oct 20 2009 11:27:06.078
originate timestamp: ce8800da.0a1ee7ff Tue, Oct 20 2009 11:26:50.039
transmit timestamp: ce88013d.3df7f311 Tue, Oct 20 2009 11:28:29.242
filter delay: 0.02571 0.02570 0.02568 0.02568
0.00000 0.00000 0.00000 0.00000
filter offset: -99.2025 -99.2025 -99.2025 -99.2025
0.000000 0.000000 0.000000 0.000000
delay 0.02568, dispersion 0.00000
offset -99.202567
20 Oct 11:28:29 ntpdate[29178]: no server suitable for synchronization found
Hlaska se v prubehu casu meni, bezprostredne po startu je
10.255.255.20: Server dropped: strata too high. Nasel jsem, ze je
treba chvili cekat, nicmene na jinem serveru jsem instaloval
openntp se stejnou konfiguraci (akorat jinym ip) vcera vysledek je
stejny, to mi jiz jako doba pro cekani prijde velmi dlouha....
Diky za radu, pripadne co pouzit misto openntp, co bude chodit.
Radek
--
S pozdravem,
Radek Krejca
STARNET, s. r. o.
radek at ceskedomeny.cz
More information about the Users-l
mailing list