doc: improve answer in FAQ for firewall issue

This commit is contained in:
Miroslav Lichvar 2016-05-23 09:00:42 +02:00
parent 91cbebb629
commit 962ca91574

View file

@ -205,13 +205,24 @@ following questions.
=== Behind a firewall? === Behind a firewall?
If there is a firewall between you and the NTP server you're trying to use, the Check the `Reach` value printed by the ``chronyc``'s `sources` command. If it's
packets may be blocked. Try using a tool like `wireshark` or `tcpdump` to see if zero, it means `chronyd` did not get any valid responses from the NTP server
you're getting responses from the server. If you have an external modem, see you are trying to use. If there is a firewall between you and the server, the
if the receive light blinks straight after the transmit light (when the link is packets may be blocked. Try using a tool like `wireshark` or `tcpdump` to see
quiet apart from the NTP traffic). Try adding `log measurements` to the if you're getting any responses from the server.
_chrony.conf_ file and look in the _measurements.log_ file after `chronyd` has
been running for a short period. See if any measurements appear. When `chronyd` is receiving responses from the servers, the output of the
`sources` command issued few minutes after `chronyd` start might look like
this:
----
210 Number of sources = 3
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^* foo.example.net 2 6 377 34 +484us[ -157us] +/- 30ms
^- bar.example.net 2 6 377 34 +33ms[ +32ms] +/- 47ms
^+ baz.example.net 3 6 377 35 -1397us[-2033us] +/- 60ms
----
=== Are NTP servers specified with the `offline` option? === Are NTP servers specified with the `offline` option?