_:n6a15ad45d290429290589e5bf376e49dxb14
<http://schema.org/text>
"Sorry I was confusing, my examples using `ntpdate` and `clockdiff` were to check clock offsets between my workstation and the Sawyer.\n\tFor clarity (all IP addresses are configured statically):\n\n\n\n\t\tNTP server: 192.168.212.22\n\t \n\t\n\t\tSawyer: 192.168.212.60\n\t \n\t\n\t\tWorkstation (Ubuntu 16.04 LTS virtual machine running under Oracle VirtualBox on Windows 7 Enterprise): 192.168.212.160\n\t \n\n\tContent of my workstation's `/etc/ntp.conf` file:\n\n\n\n# ntp.conf: Managed by puppet.\n#\n# Enable next tinker options:\n# panic - keep ntpd from panicking in the event of a large clock skew\n# when a VM guest is suspended and resumed;\n# stepout - allow ntpd change offset faster\ntinker panic 0\n\ndisable monitor\n\n# Permit time synchronization with our time source, but do not\n# permit the source to query or modify the service on this system.\nrestrict -4 default kod nomodify notrap nopeer noquery\nrestrict -6 default kod nomodify notrap nopeer noquery\nrestrict 127.0.0.1\nrestrict ::1\n\n# Set up servers for ntpd with next options:\n# server - IP address or DNS name of upstream NTP server\n# iburst - allow send sync packages faster if upstream unavailable\n# prefer - select preferrable server\n# minpoll - set minimal update frequency\n# maxpoll - set maximal update frequency\nserver 192.168.212.22 iburst prefer\nserver 10.8.113.254 iburst\nserver time.my.company.fr iburst\n\n# Driftfile.\ndriftfile /var/lib/ntp/drift\n\n\n\tSome outputs from my workstation:\n\n\n\nuser@workstation:~$ ntpq -p\n     remote           refid      st t when poll reach   delay   offset  jitter\n==============================================================================\n 192.168.212.22  132.166.192.1    3 u   32   64    0    0.000    0.000   0.000\n+10.8.113.254    192.168.8.2      3 u    4   64    7    1.117    4.700  10.553\n*my.company      195.220.94.163   2 u    3   64    7    1.154   -2.642  11.157\n\n\nuser@workstation:~$ ntpdate -q 192.168.212.22\nserver 192.168.212.22, stratum 3, offset -0.062119, delay 0.02606\n13 Jun 09:37:19 ntpdate[2368]: no server suitable for synchronization found\n\n\nuser@workstation:~$ ntpdate -q 192.168.212.60\nserver 192.168.212.60, stratum 0, offset 0.000000, delay 0.00000\n13 Jun 09:38:24 ntpdate[2373]: no server suitable for synchronization found\n\n\nuser@workstation:~$ clockdiff -o 192.168.212.60\n......\nhost=192.168.212.60 rtt=177(265)ms/0ms delta=-17952260ms/-17952260ms Wed Jun 13 09:38:58 2018\n\n\n\tContent of Sawyer's FSM:\n\n\n\n\t\tHostname: 02170CP00029\n\t \n\t\n\t\tIP type: Static IP\n\t \n\t\n\t\tIP Address*: 192.168.212.60\n\t \n\t\n\t\tIP Netmask*: 255.255.252.0\n\t \n\t\n\t\tIP Gateway*: 192.168.215.254 # That is a dummy one as there is no gateway configured on my network\n\t \n\t\n\t\tDNS: # Empty\n\t \n\t\n\t\tNTP Servers: 192.168.212.22\n\t \n\t\n\t\tROS Naming Type: ROS_IP\n\t \n\t\n\t\tTimezone: Europe/Paris\n\t \n\n\tLet me know if you need further information. Thanks Ian.\n"
<https://rethinkrobotics.interaforum.com/topic/562-cannot-sync-with-ntp-server/?tab=comments#comment-1676>