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
):
|
Make sure you use the -q
switch which makes sure it only queries the time server (but makes no changes to your local system).