January 8, 200818 yr I'd love to get some sort of clock synchronization program built into a future release. I just went and checked my five servers and the clocks were wrong on all of them. Wildly wrong. ntpd or something would be much appreciated. Has anyone added this to their Unraid on their own?
January 8, 200818 yr Author Nevermind, I got this figured out myself last night. Just need to install the ntp package for slackware and do a little bit of file copying and you're good to go.
January 16, 200818 yr IMHO an ntp client should be considered a required component of any NAS. Time is everything when looking at logs and its so trivial to add perhaps we can get it in the next version?
January 17, 200818 yr I so never thought about not having NTP! Well - as above the pkg is installed and running. Also its set to install, copy the config and run in the 'go' script. EDIT: Adding my config for this in case any other non-linux people would like it! Current configuration: /boot/custom/ - used for all my changes to the unRAID server. /boot/custom/etc/ - gets rsync'd to /etc/ in my go script. /boot/packages/ - used to hold all the packages I install on boot. 1. I first grabbed the pkg file, ntp-4.2.4p0-i486-1.tgz from one of the links on here: http://packages.slackware.it/package.php?q=current/ntp-4.2.4p0-i486-1 and put the file in /boot/packages (the folder I use for all the othe rpackages I install). 2. Installed the package installpkg /boot/packages/ntp-4.2.4p0-i486-1.tgz 3. Modified the ntp config file, /etc/ntp.conf by adding the following lines: server 0.au.pool.ntp.org server 1.au.pool.ntp.org server 2.au.pool.ntp.org server 3.au.pool.ntp.org 4. I then copy this file (/etc/ntp.conf) to /boot/custom/etc so every reboot it will sync back to /etc/ntp.conf with my changes. 5. Added the following lines to my go script. Also showing my rsync command which already exists. # # Install extra packages # installpkg /boot/packages/ntp-4.2.4p0-i486-1.tgz # # Copy my custom configurations to production # rsync -r /boot/custom/etc/ /etc/ # # Configure and start ntp daemon # chmod u+x /etc/rc.d/rc.ntpd /etc/rc.d/rc.ntpd start 6. Your NTP should now be setup and sync with online server (as far as I can gather anyway!).
Archived
This topic is now archived and is closed to further replies.