Ubuntu – synchronizing the clock over the Internet using NTP

I have had problems with the clock on one of my Ubuntu computers. The NTP (Network Time Protocol) service is supposed to take care of synchronizing the clock, and the GUI has settings for this. However, and but it did not work (Ubuntu 11.10), as the clock was constantly delayed. The fix was simple, (re)installing …