<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-2" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16659"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2 face=Arial>takový příkaz v mém raspbianu vůbec není. Update a
upgrade jsem dělal před půl hodinou.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>MZ</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=spam@nagano.cz href="mailto:spam@nagano.cz">Ladislav Vaiz</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=hw-list@list.hw.cz
href="mailto:hw-list@list.hw.cz">HW-news</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, June 15, 2016 2:09
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Raspberry-NTP se nechce
chytit</DIV>
<DIV><BR></DIV>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 name=GENERATOR content="MSHTML 9.00.8112.16659">
<STYLE></STYLE>
<DIV><FONT size=2 face=Arial>Zdravím přítomné.</FONT></DIV>
<DIV><FONT size=2 face=Arial>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 size=2 face=Arial>
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 size=2 face=Arial>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 size=2 face=Arial>Takhle vypadá ntp.conf</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial># /etc/ntp.conf, configuration for ntpd; see
ntp.conf(5) for help</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>driftfile /var/lib/ntp/ntp.drift</FONT></DIV>
<DIV> </DIV><FONT size=2 face=Arial>
<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
href="http://www.pool.ntp.org/join.html"
moz-do-not-send="true">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 href="http://support.ntp.org/bin/view/Support/AccessRestrictions"
moz-do-not-send="true">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 size=2 face=Arial># 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>
<P>
<HR>
<P></P>_______________________________________________<BR>HW-list mailing
list - sponsored by
www.HW.cz<BR>Hw-list@list.hw.cz<BR>http://list.hw.cz/mailman/listinfo/hw-list<BR></BLOCKQUOTE></BODY></HTML>