Size: 367
Comment:
|
Size: 596
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Update clock in Slackware with NTP = | ## page was renamed from UpdateClockInSlackwareWithNTP = NTP = == Update clock in Slackware with NTP == |
Line 16: | Line 19: |
Add ntp server * Edit /etc/ntp.conf * add '''server pt.pool.ntp.org''' Check the offset in milliseconds * ntpdate -q pt.pool.ntp.org * ntpq -pn |
NTP
Update clock in Slackware with NTP
Run the command as superuser:
- ntpdate pool.ntp.org
Date and time should be stored in UTC.
Info on slack docs:
Enable the service:
- chmod 755 /etc/rc.d/rc.ntpd
Start the service manually:
- /etc/rc.d/rc.ntpd start
- /etc/rc.d/rc.ntpd status
Add ntp server
- Edit /etc/ntp.conf
add server pt.pool.ntp.org
Check the offset in milliseconds
- ntpdate -q pt.pool.ntp.org
- ntpq -pn