aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/mac_osx_ntp_config.md
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-09-19 23:34:47 -0500
committerMatt Rude <[email protected]>2011-09-19 23:34:47 -0500
commit605c842ab4c58520ca98e40ad13c02fa824731fc (patch)
tree0f9edc8400fcf72097f42aa28a68e8614678f7c9 /documentation/mac_osx_ntp_config.md
parentce4f68566e1c0087c4da6e6c06fafe4170b2ec32 (diff)
downloadtime.mattrude.com-605c842ab4c58520ca98e40ad13c02fa824731fc.tar.gz
time.mattrude.com-605c842ab4c58520ca98e40ad13c02fa824731fc.tar.bz2
time.mattrude.com-605c842ab4c58520ca98e40ad13c02fa824731fc.zip
Adding missing files
Diffstat (limited to 'documentation/mac_osx_ntp_config.md')
-rw-r--r--documentation/mac_osx_ntp_config.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/documentation/mac_osx_ntp_config.md b/documentation/mac_osx_ntp_config.md
new file mode 100644
index 0000000..12dd1fc
--- /dev/null
+++ b/documentation/mac_osx_ntp_config.md
@@ -0,0 +1,22 @@
+It.s been a while. Here is a simple guide in setting up an NTP Server in your Mac OS X. Although it does look trivial, it took me a while to figure it out (and find solutions out there). Steps 1 & 2 are important, as it does the trick.
+
+* Disable the synchronizing of the local clock to ntp. Uncheck .Set date & time automatically..
+* If you find NTP in the services offered in Server Admin, stop it also.
+* Open the Terminal. Create or edit /etc/ntp.conf and add the ntp servers from where you will synch.
+ server 0.asia.pool.ntp.org minpoll 12 maxpoll 17
+ server 1.asia.pool.ntp.org minpoll 12 maxpoll 17
+ server 2.asia.pool.ntp.org minpoll 12 maxpoll 17
+ server 3.asia.pool.ntp.org minpoll 12 maxpoll 17
+ server 0.jp.pool.ntp.org minpoll 12 maxpoll 17
+
+* Edit or check /etc/ntp-restrict.conf. Add the allowed ip address range to synch with your server.
+ restrict 10.0.0.0 mask 255.0.0.0 nomodify notrap
+ restrict 202.92.128.0 mask 255.255.224.0 nomodify notrap
+
+* Edit /etc/hostconfig.
+ TIMESYNC=-NO-
+ TIMESERV=-YES-
+
+* Reboot server.
+* Check if process is running: ps ax| grep ntp
+* Check if it is synching with external ntp servers: ntpq -p