You are not logged in.
hello,
So I was trying to change hwclock to show the correct time my bios and date are both correct. I tried three commands so far
sudo hwclock -w
sudo hwclock --systohc
sudo hwclock --set --date "x/x/x 00:00:00"all seemed to process without error but the time will not change. It is off by 5 hours. I have also tried to set utc using
sudo hwclock --utcThe clock is really annoying me please help opennptd is not installed
Last edited by mich04 (2013-11-06 13:20:17)
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline
You say your BIOS is correct, correct how? Correct UTC or correct local time. If you have the BIOS set to localtime, you need to tell the system that.
Offline
I fixed it here is what I did
sudo pacman -S ntp
sudo ntpd -qg
sudo hwclock --systohcI am not sure as to why --systohc was not working before date has always showed the correct time, but that is how I got it to work.
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline
I can not specify if bios uses utc or local time on my laptop.
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline
Did you fix it or just cover it up? It's very possibly the latter.
Last edited by Scimmia (2013-11-01 04:03:47)
Offline
I can not specify if bios uses utc or local time on my laptop.
You specify that with hwclock, not in the BIOS. The BIOS time is just set.
Offline
What does timedatectl give?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
sorry for the late reply I have been harvesting corn, late nights. @crf here is the output of the command
[A@A ~]$ timedatectl
Local time: Tue 2013-11-05 19:43:58 CST
Universal time: Wed 2013-11-06 01:43:58 UTC
Timezone: America/Chicago (CST, -0600)
NTP enabled: no
NTP synchronized: no
RTC in local TZ: no
DST active: no
Last DST change: DST ended at
Sun 2013-11-03 01:59:59 CDT
Sun 2013-11-03 01:00:00 CST
Next DST change: DST begins (the clock jumps one hour forward) at
Sun 2014-03-09 01:59:59 CST
Sun 2014-03-09 03:00:00 CDT the current time on my cell phone is 7:43 pm central standard
@Scimmia
I am not sure if I covered up, could you provide more info on that subject?
Last edited by mich04 (2013-11-06 01:46:20)
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline
Looks like you're ok. Too often people just rely on NTP to set the clock instead of actually fixing the RTC, but you got it fixed.
Offline
Ahh ok, that makes sense thanks for the help.
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline