Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm behind a firewall, so I can't access pool.ntp.org 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
add comment

1 Answer 1

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 askubuntu.com/questions/178968/… –  Snekse Dec 17 '12 at 22:14
add comment

Your Answer

 
discard

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.