How to set time
Posted: Tue 05 Sep 2017, 16:02
In Trinitydog :
First, i installed ntp.
Then i added ca.pool.ntp.org in /etc/systemd/timesyncd.conf.
The file looks like this :
[Time]
NTP=ca.pool.ntp.org #nearest server for me
Testing in terminal :
timedatectl status
Resulting values :
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no
Finally, reboot.
Now time should be correct.
In Stretchdog with Openbox (from mklive-stretch script & default config)
An alternative way of setting system time.
UTC is used, and there is a mismatch between UTC and local time.
To set the time :
# date -s hh:mm:ss #in Conky, UTC is now set to local time
To set the hardware clock :
# hwclock --systohc --utc
Now local time is ok and is set persistently.
Website of interest related to time zones : http://www.timebie.com/std/edt.php?q=15.5
Further reading :
http://www.putorius.net/2015/04/setting ... hat-7.html
First, i installed ntp.
Then i added ca.pool.ntp.org in /etc/systemd/timesyncd.conf.
The file looks like this :
[Time]
NTP=ca.pool.ntp.org #nearest server for me
Testing in terminal :
timedatectl status
Resulting values :
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no
Finally, reboot.
Now time should be correct.
In Stretchdog with Openbox (from mklive-stretch script & default config)
An alternative way of setting system time.
UTC is used, and there is a mismatch between UTC and local time.
To set the time :
# date -s hh:mm:ss #in Conky, UTC is now set to local time
To set the hardware clock :
# hwclock --systohc --utc
Now local time is ok and is set persistently.
Website of interest related to time zones : http://www.timebie.com/std/edt.php?q=15.5
Further reading :
http://www.putorius.net/2015/04/setting ... hat-7.html