<html>
<head>
<meta content="text/html; charset=iso-8859-2"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
ntpd běží nějakou dobu? Reach je bitová maska, jak se při posledních
pokusech podařilo dosáhnout server. Nula znamená, že odpověď nikdy
nedorazila. Mělo by tam po čase být 377 (je to osmičkově).<br>
Zkuste ntpdate -u 192.168.1.1<br>
L.<br>
<br>
<br>
<div class="moz-cite-prefix">On 15.6.2016 14:02, Zapletal Martin
wrote:<br>
</div>
<blockquote cite="mid:3C41183A462949D88FADBD6A7E10FD2A@MZPC"
type="cite">
<meta content="text/html; charset=iso-8859-2"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 9.00.8112.16659">
<style></style>
<div><font face="Arial" size="2">Zdravím přítomné.</font></div>
<div><font face="Arial" size="2">Už od rána ležím nad problémem
synchronizace času NTP serveru. Už jsem prolezl celý internet
ale jako nonlinux guru z toho moc moudrý nejsem. Výpis příkazu
sudo ntpq -p mi vypíše</font></div>
<div> </div>
<div><font face="Arial" size="2"> remote refid
st t when poll reach delay offset jitter<br>
==============================================================================<br>
192.168.1.1 .INIT. 16 u - 64 0
0.000 0.000 0.000<br>
tik.cesnet.cz .INIT. 16 u - 64 0
0.000 0.000 0.000<br>
tak.cesnet.cz .INIT. 16 u - 64 0
0.000 0.000 0.000</font></div>
<div> </div>
<div><font face="Arial" size="2">už zkouším všechno možné, i
spojení na 192.168.1.1 což je router který NTP má. Poradíte mi
prosím co zkontrolovat?</font></div>
<div><font face="Arial" size="2">Takhle vypadá ntp.conf</font></div>
<div> </div>
<div><font face="Arial" size="2"># /etc/ntp.conf, configuration
for ntpd; see ntp.conf(5) for help</font></div>
<div> </div>
<div><font face="Arial" size="2">driftfile /var/lib/ntp/ntp.drift</font></div>
<div> </div>
<font face="Arial" size="2">
<div><br>
# Enable this if you want statistics to be logged.<br>
#statsdir /var/log/ntpstats/</div>
<div> </div>
<div>statistics loopstats peerstats clockstats<br>
filegen loopstats file loopstats type day enable<br>
filegen peerstats file peerstats type day enable<br>
filegen clockstats file clockstats type day enable</div>
<div> </div>
<div><br>
# You do need to talk to an NTP server or two (or three).<br>
#server ntp.your-provider.example</div>
<div> </div>
<div># pool.ntp.org maps to about 1000 low-stratum NTP servers.
Your server will<br>
# pick a different set every time it starts up. Please
consider joining the<br>
# pool: <<a moz-do-not-send="true"
href="http://www.pool.ntp.org/join.html">http://www.pool.ntp.org/join.html</a>></div>
<div> </div>
<div>#puvodni nastaveni<br>
#server 0.debian.pool.ntp.org iburst<br>
#server 1.debian.pool.ntp.org iburst<br>
#server 2.debian.pool.ntp.org iburst<br>
#server 3.debian.pool.ntp.org iburst</div>
<div> </div>
<div>#nove nastaveni cz casovych serveru<br>
server 192.168.1.1 prefer<br>
server tik.cesnet.cz<br>
server tak.cesnet.cz</div>
<div> </div>
<div># Access control configuration; see
/usr/share/doc/ntp-doc/html/accopt.html for<br>
# details. The web page <<a moz-do-not-send="true"
href="http://support.ntp.org/bin/view/Support/AccessRestrictions">http://support.ntp.org/bin/view/Support/AccessRestrictions</a>><br>
# might also be helpful.<br>
#<br>
# Note that "restrict" applies to both servers and clients, so
a configuration<br>
# that might be intended to block requests from certain
clients could also end<br>
# up blocking replies from your own upstream servers.</div>
<div> </div>
<div># By default, exchange time with everybody, but don't allow
configuration.<br>
restrict -4 default kod notrap nomodify nopeer noquery<br>
restrict -6 default kod notrap nomodify nopeer noquery</div>
<div> </div>
<div># Local users may interrogate the ntp server more closely.<br>
restrict 127.0.0.1<br>
restrict ::1</div>
<div> </div>
<div># Clients from this (example!) subnet have unlimited
access, but only if<br>
# cryptographically authenticated.<br>
#restrict 192.168.123.0 mask 255.255.255.0 notrust</div>
<div> </div>
<div><br>
# If you want to provide time to your local subnet, change the
next line.<br>
# (Again, the address is an example only.)<br>
#broadcast 192.168.123.255</div>
<div> </div>
</font>
<div><font face="Arial" size="2"># If you want to listen to time
broadcasts on your local subnet, de-comment the<br>
# next lines. Please do this only if you trust everybody on
the network!<br>
#disable auth<br>
#broadcastclient<br>
</font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
HW-list mailing list - sponsored by <a class="moz-txt-link-abbreviated" href="http://www.HW.cz">www.HW.cz</a>
<a class="moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</a>
<a class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
</blockquote>
<br>
</body>
</html>