Difference between revisions of "NTP: Setup NTP Server Lokal"

From OnnoWiki
Jump to navigation Jump to search
Line 5: Line 5:
 
Tambahkan
 
Tambahkan
  
  server         127.127.1.0    # local clock
+
  server 127.127.1.1
  fudge           127.127.1.0 stratum 10
+
  fudge 127.127.1.1 stratum 8 refid NIST
 +
restrict default notrust nomodify
 +
restrict 127.127.0.0 mask 255.255.0.0 nomodify
 
  driftfile      /var/lib/ntp/drift
 
  driftfile      /var/lib/ntp/drift
 
  broadcastdelay  0.008
 
  broadcastdelay  0.008
Line 18: Line 20:
  
 
* http://www.brennan.id.au/09-Network_Time_Protocol.html
 
* http://www.brennan.id.au/09-Network_Time_Protocol.html
 +
* http://ubuntuforums.org/showthread.php?t=579418
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Revision as of 15:09, 17 June 2011

Instalasi NTP seperti biasa. Kemudian, edit

vi /etc/ntp.conf

Tambahkan

server 127.127.1.1
fudge 127.127.1.1 stratum 8 refid NIST
restrict default notrust nomodify
restrict 127.127.0.0 mask 255.255.0.0 nomodify
driftfile       /var/lib/ntp/drift
broadcastdelay  0.008
keys            /etc/ntp/keys

Restart

/etc/init.d/ntp restart

Referensi

Pranala Menarik