Correct the system time and setup Network Time Protocol (NTP)

'' This article originally Based on work by Frontalot at Linkstationwiki.org '' 1. Correct the LinkStation time zone setting. Use the command:

tzconfig

2. Install the necessary NTP packages. Use the command:

apt-get install ntp ntp-simple ntp-server ntpdate (this generated an error for me: "ntp: Conflicts: ntp-server" ... i dropped ntp-server)

3. Your system will now automatically communicate with NTP servers and adjust the system clock.

4. The NTP client usually synchronizes the system clock upon boot. However, if you rarely reboot your LinkStation then you may wish to manually force ntpdate to resynchronize the system clock. Use the command:

/etc/init.d/ntpdate restart ("ntpdate" did not exist for me in init.d, "ntp" did however)

5. After a few days uptime the clock can drift off by a few minutes. One can make a 'cron' job of the above command easily through the webmin interface. It's recommended not to do this to occur at midnight (or on the hour) as the time servers will usually be under a heavy load.

6. Edit /etc/ntp.conf to use more time servers. Enter in the appropriate place two, three or more as per:

server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org

7. The NTP daemon will automatically communicate with the available NTP servers and adjust the system clock accordingly. It will also build a drift file to help reduce future clock drift.