Synchronising alinux ntp client machine to a linux based ntp server is fairly straightforward. It is mainly a case of configuring the /etc/ntp.conf file on the client machine.
You must ensure NTPD is installed on the client, if not then you will either need to install it or download it from ntp.org and recompile.
After NTPD is installed correctly, all you need to do is to edit the ntp.conf file to specify the server as your linux ntp server machine.
eg:
server 192.168.0.200 (# where 192.168.0.200 is the IP address of the NTP server with the GPS.)
You may specify additional servers, if required. A useful ntp app is ntpq or ntp query, which is installed with ntpd. This can be run from the client to check the status of the server.
Try:
ntpq -p 192.168.0.200 (# where 192.168.0.200 is the IP address of the NTP server with the GPS.)
|