set date and time on Debian / Ubuntu

install

aptitude install ntpdate

update

ntpdate ptbtime1.ptb.de

Server:
http://www.ptb.de/cms/fachabteilungen/abtq/fb-q4/ag-q42/zeitsynchronisation-von-rechnern-mit-hilfe-des-network-time-protocol-ntp.html
ptbtime1.ptb.de
ptbtime2.ptb.de
ptbtime3.ptb.de
http://www.pool.ntp.org/zone/de
0.de.pool.ntp.org
1.de.pool.ntp.org
2.de.pool.ntp.org
3.de.pool.ntp.org

update hardware clock

hwclock --systohc

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.