Forum › Forums › New users › New Users and General Questions › clock / system time always two h ahead after reboot
- This topic has 22 replies, 4 voices, and was last updated Oct 21-7:35 am by ModdIt.
-
AuthorPosts
-
October 15, 2021 at 2:38 pm #68882Member
orthodox42
Hi, new to antix. I struggle a bit with setting the system time.
When I change the time in controlcenter it is again two hours ahead after reboot.
Any suggestions?October 15, 2021 at 3:47 pm #68883MemberModdIt
October 16, 2021 at 6:52 am #68903Member
orthodox42
October 16, 2021 at 7:24 am #68906Member
Xecure
::Do you dual boot with windows? Did you select to use local time or UTC when installing?
Check how the hardware clock is set
sudo hwclock --verbose | grep -i hardware
If it tells you Hardware clock is localtime (the one used by windows),
Hardware clock is on local time
then you also need to set your linux time to use “local time”sudo ntpdate pool.ntp.org sudo hwclock --systohc --localtimeAnd that should keep the correct time after reboot.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 16, 2021 at 7:53 am #68912Member
orthodox42
::Thanks for the quick answer! What is your time zone? Still awake or already up?
😉
Here is what I got:sudo hwclock –systohc –localtime –verbose
hwclock from util-linux 2.33.1
System Time: 1634370426.903076
Trying to open: /dev/rtc0
Trying to open: /dev/rtc
Trying to open: /dev/misc/rtc
No usable clock interface found.
hwclock: Cannot access the Hardware Clock via any known method.October 16, 2021 at 8:16 am #68915Member
Xecure
::Strange. What does
sudo hwclock
display (without any options)antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 16, 2021 at 10:22 am #68922MemberModdIt
::hwclock: Cannot access the Hardware Clock via any known method.
Is the BIOS password protected or locked ?
October 16, 2021 at 1:51 pm #68943Member
orthodox42
October 16, 2021 at 2:06 pm #68945Member
Xecure
::See if this thread helps. It looks similar to your case:
Debian – hwclock: Cannot access the Hardware Clock via any known methodProbably after setting this you no longer need to change the hardware clock, but first lets make sure this works.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 16, 2021 at 2:08 pm #68948Member
orthodox42
::tried to install acpitool via sudo apt-get install acpitool
Any idea why this does not work?No error message through install process
but:acpi -V bash: acpi: Kommando nicht gefunden. (command not found)- This reply was modified 1 year, 6 months ago by orthodox42.
- This reply was modified 1 year, 6 months ago by orthodox42.
October 16, 2021 at 2:13 pm #68951Member
Xecure
::I think it is time we know what version of antiX is installed.
inxi -FxzI have acpi work on my system OK.
$ acpi -V Battery 0: Full, 100% Battery 0: design capacity 4400 mAh, last full capacity 3663 mAh = 83% Adapter 0: on-line Cooling 0: Processor 0 of 10 Cooling 1: Processor 0 of 10 Cooling 2: Processor 0 of 10 Cooling 3: intel_powerclamp no state information available Cooling 4: x86_pkg_temp no state information available Cooling 5: Processor 0 of 10So either a package is missing or your system needs a different kernel version to get the best out of your hardware.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 16, 2021 at 2:27 pm #68955Member
orthodox42
::cat /sys/devices/system/clocksource/clocksource0/available_clocksourcegives
tsc refined-jiffies jiffiesUpdating grub with jiffies?
October 16, 2021 at 2:29 pm #68956Member
orthodox42
::$ inxi -Fxz System: Kernel: 4.9.0-264-antix.1-486-smp i686 bits: 32 compiler: gcc v: 8.3.0 Desktop: IceWM 2.8.0 Distro: antiX-19.4_386-base Grup Yorum 20 May 2021 base: Debian GNU/Linux 10 (buster) Machine: Type: Laptop System: Sony product: PCG-GRT785B(DE) v: 01 serial: <filter> Mobo: N/A model: N/A serial: N/A BIOS: Phoenix v: R0043F0 date: 01/16/2004 CPU: Info: Single Core model: Intel Pentium 4 bits: 32 type: MCP arch: Netburst Northwood rev: 9 cache: L2: 512 KiB flags: pae sse sse2 bogomips: 5345 Speed: 2673 MHz min/max: N/A Core speed (MHz): 1: 2673 Graphics: Device-1: NVIDIA NV17M [GeForce4 420 Go] vendor: Sony driver: N/A bus-ID: 01:00.0 Display: x11 server: X.Org 1.20.4 driver: loaded: nouveau,vesa unloaded: fbdev,modesetting resolution: 1024x768 OpenGL: renderer: llvmpipe (LLVM 7.0 128 bits) v: 3.3 Mesa 18.3.6 direct render: Yes Audio: Device-1: Silicon Integrated Systems [SiS] SiS7012 AC97 Sound vendor: Sony driver: snd_intel8x0 v: kernel bus-ID: 00:02.7 Sound Server-1: ALSA v: k4.9.0-264-antix.1-486-smp running: yes Network: Device-1: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet vendor: Sony driver: sis900 v: kernel port: 2000 bus-ID: 00:04.0 IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> Drives: Local Storage: total: 55.89 GiB used: 2.69 GiB (4.8%) ID-1: /dev/sda vendor: Hitachi model: DK23FA-60 size: 55.89 GiB Partition: ID-1: / size: 10.79 GiB used: 2.56 GiB (23.8%) fs: ext4 dev: /dev/sda1 ID-2: /home size: 43.14 GiB used: 119.8 MiB (0.3%) fs: ext4 dev: /dev/sda3 Swap: ID-1: swap-1 type: partition size: 768 MiB used: 10.4 MiB (1.4%) dev: /dev/sda2 Sensors: Message: No sensor data found. Is lm-sensors configured? Info: Processes: 128 Uptime: 55m Memory: 492.1 MiB used: 404.7 MiB (82.2%) Init: SysVinit runlevel: 5 Compilers: gcc: 8.3.0 Packages: 1255 Shell: Bash v: 5.0.3 inxi: 3.3.06October 16, 2021 at 2:49 pm #68958Member
Xecure
::Thanks for the inxi information.
I tried searching for clock problems related to the PCG-GRT785B, but found nothing.What I did find is that older systems do seem to boot with the wrong time. Some are related to bad cmos battery, but others seem to need to change the time in BIOS for it to pickup correctly on Linux.
I hope one of the antiX forum residents with a lot of experience on aging hardware can give better advise. The only thing I can think of is using ntpd service to get the time from internet servers every few hours, but that is more of a workaround instead of a proper solution.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 16, 2021 at 3:12 pm #68966Member
orthodox42
-
AuthorPosts
- You must be logged in to reply to this topic.