⇤ ← Revision 1 as of 2013-06-23 06:05:07
Size: 367
Comment:
|
Size: 540
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Update clock in Slackware with NTP = | = NTP = == Update clock in Slackware with NTP == |
Line 16: | Line 18: |
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