[ntp:questions] offline machines' time synchronization

E-Mail Sent to this address will be added to the BlackLists Null at BlackList.Anitech-Systems.invalid
Thu May 24 20:24:19 UTC 2012


Ali Nikzad wrote:
> they are still not synchronized.

Did you start ntpd with -g ?


> ntpq -c "rv 0 version"

 Try:
ntpq -n -c "lpe" -c "mru" -c "las" -c "rv &0" -c "rv &1" -c "rv &2" -c "rv &3"


> version="ntpd 4.2.4p8 at 1.1612-o Tue Apr 19 07:08:18 UTC 2011

I'd try a more recent ntp version e.g. 4.2.7
 <http://www.ntp.org/downloads.html>


> BTW, I didn't quite get what you mean by:  "automatic server discovery

<http://www.eecis.udel.edu/~mills/ntp/html/discover.html>
<http://www.eecis.udel.edu/~mills/ntp/html/manyopt.html>
<http://www.eecis.udel.edu/~mills/ntp/html/assoc.html>
<http://www.eecis.udel.edu/~mills/ntp/html/confopt.html>


> scheme in mesh configuration" ?

{e.g. I use something similar to this on all PCs / Devices}
# ALL (Clients and/or Servers)
tos cohort 1 orphan 11
restrict default limited kod nomodify notrap
restrict 127.0.0.1
restrict source nomodify
keys "/etc/ntp.keys" # e.g. contains: 123 M YOUR_MD5_KEY
trustedkey 123
manycastserver  224.0.1.1
manycastclient  224.0.1.1 key 123 preempt
multicastclient 224.0.1.1 key 123 preempt
broadcastclient


 If a specific one can reach the internet you could add to that e.g.:
{I add something similar to this on 2 PCs}
# LAN Primary NTP server
server ntp.ubuntu.com iburst
pool 0.ubuntu.pool.ntp.org iburst preempt
pool pool.ntp.org iburst preempt


-- 
E-Mail Sent to this address <BlackList at Anitech-Systems.com>
  will be added to the BlackLists.



More information about the questions mailing list