ratcheer
November 17th, 2009, 08:15 PM
I did a little server project, today. It may be almost trivial, but it is successful and I am proud of it. I have set up and configured an NTP (Time) server on my little Ubuntu host and am updating the clocks of all the other hosts in my house from it.
One detail was finding a good source for my time update. I did this by checking many Open Access NTP servers listed in ntp.org. I found one that consistently gives me sub-27 ms response time and placed it first in my server list. My other servers are the four us.pool.ntp.org pools.
The other detail I had to figure out was how to serve the time from my Ubuntu host to the rest of the nodes in my LAN. I ended up with the following line in my ntp.conf file:
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
The other nodes get < 1ms response time to my local time server.
Again, this may be simple stuff, but it is cool to me!
Tim
One detail was finding a good source for my time update. I did this by checking many Open Access NTP servers listed in ntp.org. I found one that consistently gives me sub-27 ms response time and placed it first in my server list. My other servers are the four us.pool.ntp.org pools.
The other detail I had to figure out was how to serve the time from my Ubuntu host to the rest of the nodes in my LAN. I ended up with the following line in my ntp.conf file:
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
The other nodes get < 1ms response time to my local time server.
Again, this may be simple stuff, but it is cool to me!
Tim