Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/CloudIngenium.com/htdocs/wp-includes/functions.php on line 6114
NTP Server: How to test client connectivity from an Ubuntu client – Knowledge eXchange

NTP Server: How to test client connectivity from an Ubuntu client

As I was working on setting up an NTP Server for our local network, I wanted to make sure it was set up properly and working. To do so, I looked up for a way to do a simple thing like run a command con the cli and get information back. On windows you can use W32Time so this time I am going to cover how to do it on a linux/ubuntu client.

Using ntpdate you can easily query an NTP server like so (you might need to first install it using sudo apt install ntpsec-ntpdate)

$ ntpdate -q pool.ntp.org
2019-12-16 21:57:34.6713 (+0000) +0.031568 +/- 0.103280 pool.ntp.org 84.245.9.254 s1 no-leap
 

Make sure you use the -q switch which makes sure it only queries the time server (but makes no changes to your local system). 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.