Home arrow Hardware arrow ipNTP arrow NTP Information arrow Unix / Linux

Synchronizing times with Linux

Synchronizing times with the Linux/Solaris operating system

You can synchronize the system time with the Linux operating system as well. For this, please apply the procedure outlined below.
Before you set up the service you should test the ipNTP connection with a ping.
For Linux systems, please type the command

ping –s 32 <IP-Address>

in the command shell.

For Solaris systems, please type the command

ping –s <IP-Address> 32

in the command shell.


With the command

/usr/sbin/ntpdate <Server IP or Server Name>

the system time is synchronised with the server once.

If you want your system time to be regulary synchronized with the NTP server, there are several possibilities, for example, you can perform a registered cronjob at the crontab.
If you want to synchronize your system time at 3:30 on a daily basis, please enter the command:

30 3 * * * /usr/sbin/ntpdate <Server-IP or Server Name>

For further information, please read the "man" pages:
man ntpdate
man crontab
man ntpd
man xntpd

<<
↑


ipcas GmbH is a member of Data Respons Group


Copyright 1988 - 2010 ipcas GmbH

Gundstrasse 15 D-91056 Erlangen Tel.: +49 (0)9131/ 7677-0 Fax: +49 (0)9131/ 7677-78 E-Mail: info@ipcas.de