how to activate NTP

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 37
Joined: Fri Sep 13, 2013 9:57 pm

how to activate NTP

Post by joelpaz » Mon Mar 31, 2014 5:41 pm

Hello everybody,
I'm happy using Linux Mint 16 and for now only have a small problem. The Time and date usually is wrong and I set up the time manually but when I try to change to get the time automatically thru the internet it tells me that Ntp support is not installed. So I go to software manager and it shows NTP installed. I go back to time and date ian it tells me that it isn't. What should i do? :)

User avatar
Level 15
Level 15
Posts: 5973
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland

Re: how to activate NTP

Post by kukamuumuka » Wed Apr 02, 2014 3:39 pm

Command Line ntpdate

Ubuntu comes with ntpdate as standard, and will run it once at boot time to set up your time according to Ubuntu's NTP server. However, a system's clock is likely to drift considerably between reboots if the time between reboots is long. In that case it makes sense to correct the time occasionally. The easiest way to do this is to get cron to run it every day. With your favorite editor, create (needs sudo) a file /etc/cron.daily/ntpdate containing:

Make sure that you make this new file executable:
sudo chmod 755 /etc/cron.daily/ntpdate
To setup ntpd in versions of Ubuntu 7.04 and higher
sudo apt-get install ntp

Post Reply

Return to “Software & Applications”