connecting UNIX/Linux to NTP server

Hello
i want to connect my solaris & Linux boxes to ntp server
i used the command
/usr/sbin/ntpdate -s -b -p 8 -u <NTP-IP>
and added the NTP server as server in /etc/ntp.conf

please help in completing the process and verifying it

i only know for solaris.

  • edit the /etc/inet/ntp.conf file to your needs. (there are example files!)
  • start ntpd with "svcadm onlne svc:/network/ntp:default" (only on Solaris 10!) on older versions you have to use the init script
  • look with "ntpq -c peers" if everything is correct

hth,
DN2