Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm behind a firewall, so I can't access or Ubuntu's own time servers directly, and I'd like to change the time servers for my system. When googling, I find references to missing manpages like ntpd.conf(5) and ntpd(8), to a missing GUI for setting the time servers, and to a cron script (/etc/cron.daily/ntpdate) that doesn't seem to exist on my system. I've also found a reference to there being changes to ntpd.conf, so I'm hesitant to just create that file in /etc. How is one supposed to change the time servers in 11.10?

share|improve this question
Perhaps you mean that you are behind a firewall, not behind NAT. – jdthood Sep 24 '13 at 13:59
I didn't mean NAT, thanks. – Reinis I. Sep 27 '13 at 22:17
up vote 4 down vote accepted

I don't know of the GUI you mention, but all the missing files sound like they're part of the ntp package.

sudo apt-get install ntp

should install them, then you'll have /etc/ntp.conf which you can edit. Once done, do:

service ntp restart

to reload your new config. The command

ntpq -pn

will show you the list of servers it's using (and various stats).

share|improve this answer
Using Ubuntu 12, I had to use sudo service ntp restart… – Snekse Dec 17 '12 at 22:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.