Help > Installation
Time synchronization
saleem:
I have installed ntp and executed commands
# ln -sf /usr/share/zoneinfo/Asia/Karachi /etc/localtime
# hwclock --systohc --localtime
but time is not synchronized on my openbox nutyx installation.
Help is needed here please
overlock:
try this;
--- Code: ---sudo date +%T%p -s "03:53:13PM"
sudo hclock -w
--- End code ---
For help man date
https://www.vivaolinux.com.br/etc/ntp-(ou-ntpd).conf/
saleem:
--- Quote from: overlock on Thu Jan 17 16:18:51 2019 ---try this;
--- Code: ---sudo date +%T%p -s "03:53:13PM"
sudo hclock -w
--- End code ---
For help man date
https://www.vivaolinux.com.br/etc/ntp-(ou-ntpd).conf/
--- End quote ---
Thanks , these commands fix time but on reboot time is out of synchronizations once again.
overlock:
Hum, strange because the last command is to save the configuration.in the last command did you see something wrong?
saleem:
$ sudo hwclock -w
no errors but date and time both are wrong Sun Jan 8:53 am at moment on my laptop
Navigation
[0] Message Index
[#] Next page
Go to full version