The officially official Devuan Forum!

You are not logged in.

#1 2024-05-15 10:11:33

deepforest
Member
Registered: 2020-03-24
Posts: 319  

time at Devuan xfce not synced with bios

How solve this?

root@home:/var/log# hwclock --localtime
2024-05-15 10:13:23.404572+03:00
root@home:/var/log# ls -l /etc/localtime
lrwxrwxrwx 1 root root 31 Dec 28 16:26 /etc/localtime -> /usr/share/zoneinfo/Europe/Kyiv 
root@home:/var/log# hwclock --utc
2024-05-15 13:14:52.374409+03:00
root@home:/var/log# 

https://dev1galaxy.org/viewtopic.php?id=3346

Last edited by deepforest (2024-05-15 10:16:43)

Offline

#2 2024-05-15 11:17:35

stopAI
Member
Registered: 2023-04-04
Posts: 138  

Re: time at Devuan xfce not synced with bios

Hello.

You can install package

ntp

Last edited by stopAI (2024-05-15 11:17:47)

Offline

#3 2024-05-15 12:29:48

deepforest
Member
Registered: 2020-03-24
Posts: 319  

Re: time at Devuan xfce not synced with bios

ntpd+client?

Offline

#4 2024-05-15 14:54:18

Andre4freedom
Member
Registered: 2017-11-15
Posts: 148  

Re: time at Devuan xfce not synced with bios

just install ntpsec:

$ sudo apt install ntpsec

It does all you need, syncs your clock with debian's ntp pool.
Check with

$ sudo ntpq -p

Just if you wonder: Configfile = /etc/ntpsec/ntp.conf

Offline

#5 2024-05-15 14:58:40

alexkemp
Member
Registered: 2018-05-14
Posts: 302  

Re: time at Devuan xfce not synced with bios

This is the one installed on my Daedalus system; ntpdate is also installed and, I believe, gets installed at the same time:

$ apt info ntpsec
Package: ntpsec
Version: 1.2.2+dfsg1-1+deb12u1
Priority: optional
Section: net
Maintainer: Richard Laager <rlaager@debian.org>
Installed-Size: 915 kB
Provides: time-daemon
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser, lsb-base, netbase, python3, python3-ntp (= 1.2.2+dfsg1-1+deb12u1), tzdata, libbsd0 (>= 0.0), libc6 (>= 2.34), libcap2 (>= 1:2.10), libssl3 (>= 3.0.0)
Recommends: systemd | cron | cron-daemon
Suggests: apparmor, certbot, ntpsec-doc, ntpsec-ntpviz
Conflicts: time-daemon
Breaks: ntp (<< 1:4.2.8p15+dfsg-2~)
Replaces: ntp (<< 1:4.2.8p15+dfsg-2~), time-daemon
Homepage: https://www.ntpsec.org
Tag: implemented-in::c, implemented-in::python, implemented-in::shell,
 interface::commandline, interface::daemon, network::client,
 network::server, role::program, use::timekeeping
Download-Size: 340 kB
APT-Manual-Installed: no
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
Description: Network Time Protocol daemon and utility programs
 NTP, the Network Time Protocol, is used to keep computer clocks
 accurate by synchronizing them over the Internet or a local network,
 or by following an accurate hardware receiver that interprets GPS,
 DCF-77, or similar time signals.
 .
 This package contains the NTP daemon and utility programs.  An NTP
 daemon needs to be running on each host that is to have its clock
 accuracy controlled by NTP.  The same NTP daemon is also used to
 provide NTP service to other hosts.
 .
 This is the NTPsec version of NTP.  NTPsec is a secure, hardened,
 and improved implementation derived from the original NTP project.
 NTPsec supports Network Time Security (NTS) which provides
 cryptographically authenticated time.
 .
 For more information about the NTP protocol and NTP server
 configuration and operation, install the package "ntpsec-doc".

Offline

#6 2024-05-15 15:43:14

stopAI
Member
Registered: 2023-04-04
Posts: 138  

Re: time at Devuan xfce not synced with bios

ntpd+client?

No.

ntp

  is a dummy transitional package to transition to NTPsec. In short, install

ntpsec

package.

Last edited by stopAI (2024-05-15 15:43:48)

Offline

Board footer