I have Raspberry Pi Model-B with the Raspbian Wheezy OS and a local NTP server. I want to synchronise my Raspberry Pi board with my local NTP server (not using the Internet). All the process must be offline, not using the Internet. What is the step-by-step process to do this?
This answer is OBSOLETE. Debian 9 uses
/etc/ntpd.conf, replace the existing "server" entries with one for your server. You can use the hostname or IP address of your server.
After changing the file,
sudo service ntp restart
will restart the NTP daemon using your updated configuration.
$ sudo ntpq ntpq> peers
to verify that it's using your host as a peer. If everything is working, you should see non-zero values in the "when" and "reach" columns.