Slackware HowTo

Configure NTP on Slackware with rc.ntpd

Correct time sync for logs, SSL, and system services.

1. Why it matters

Wrong date and time cause issues for TLS certificates, logs, scheduled jobs, and authentication.

2. NTP configuration

Check/edit /etc/ntp.conf with reliable NTP servers.

server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst

3. Enable and start

chmod +x /etc/rc.d/rc.ntpd
/etc/rc.d/rc.ntpd start

4. Checks

date
ntpq -p
tail -n 50 /var/log/messages | grep ntpd
After a few minutes, ntpq -p should show reachable peers and a stabilizing offset.

5. Common issues

Quick checklist

[ ] ntp.conf configured
[ ] rc.ntpd enabled
[ ] rc.ntpd started
[ ] ntpq -p OK
[ ] System time correct

Back to the Linux HowTo section