As stated in the title, for some reason my system runs in its own little world, outside of regular time conventions. As of right now the system time is:
$ timedatectl
Local time: Sun 2022-03-13 06:09:05 CET
Universal time: Sun 2022-03-13 05:09:05 UTC
RTC time: n/a
Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: no
NTP service: active
RTC in local TZ: no
which is … not exactly correct and it might be related to another issue I’m trying to fix. Most of the answers I find, mention hwclock
as well, but I’m not sure if that is applicable to a Raspberry Pi. I’m grasping straws here and I really don’t quite know what I’m doing, but I’m just going to list a few outputs, I received while trying various solutions from the net:
$ ntpq -p
ntpq: read: Connection refused
$ strace ntpq -pn ::1|& grep -i conn
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
connect(3, {sa_family=AF_INET6, sin6_port=htons(123), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_scope_id=0}, 28) = 0
recvfrom(3, 0x7ff4d86c80, 516, 0, NULL, NULL) = -1 ECONNREFUSED (Connection refused)
write(2, ": Connection refused\n", 21: Connection refused
$ netstat -taupn|grep udp|grep ntp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
$ netstat -taupn|grep udp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
udp 0 0 0.0.0.0:21027 0.0.0.0:* 354/syncthing
udp 0 0 0.0.0.0:42076 0.0.0.0:* 354/syncthing
udp 0 0 224.0.0.251:5353 0.0.0.0:* 1269/chromium --fla
udp 0 0 0.0.0.0:5355 0.0.0.0:* -
udp 0 0 127.0.0.54:53 0.0.0.0:* -
udp 0 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 192.168.178.53:68 192.168.178.1:67 ESTABLISHED -
udp6 0 0 fe80::6b05:78a8:cbe:546 :::* -
udp6 0 0 :::21027 :::* 354/syncthing
udp6 0 0 :::5355 :::* -
udp6 0 0 :::22000 :::* 354/syncthing
udp6 0 0 :::59835 :::* 354/syncthing
udp6 0 0 2003:cf:6f46:2f00:43865 2a00:1450:4001:82f::443 ESTABLISHED 1308/chromium --typ
$ ntpq -pn 127.0.0.1
ntpq: read: Connection refused
$ ntpq -pn -4
ntpq: read: Connection refused
$ ntpq start
Name or service not known
ntpq>
$ hwclock --verbose
hwclock from util-linux 2.37.4
System Time: 1647148267.078376
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.
System info:
$ inxi --admin --verbosity=7 --filter --width
System:
Kernel: 5.15.28-2-rpi-ARCH aarch64 bits: 64 compiler: N/A
parameters: coherent_pool=1M 8250.nr_uarts=0
snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1
video=HDMI-A-1:3840x2160M@30 smsc95xx.macaddr=E4:5F:01:35:7E:B0
vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000
root=UUID=f326cfcd-b160-4739-af20-4ab92b4028b3 rw rootwait
console=ttyS0,115200 console=tty1 selinux=0 plymouth.enable=0
smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyS0,115200
Console: pty pts/0 DM: LightDM 1.30.0 Distro: EndeavourOS base: Arch Linux
Machine:
Type: ARM System: Raspberry Pi 4 Model B Rev 1.4 details: BCM2835
rev: d03114 serial: <filter>
Battery:
Message: No system battery data found. Is one present?
Memory:
RAM: total: 7.71 GiB used: 1.62 GiB (21.1%) gpu: 512 MiB
RAM Report:
unknown-error: Unknown dmidecode error. Unable to generate data.
CPU:
Info: model: ARMv8 v8l variant: cortex-a72 bits: 64 type: MCP arch: v8l
family: 8 model-id: 0 stepping: 3
Topology: cpus: 1x cores: 4 smt: N/A cache: N/A
Speed (MHz): avg: 1100 min/max: 600/2000 scaling: driver: cpufreq-dt
governor: schedutil cores: 1: 1100 2: 1100 3: 1100 4: 1100 bogomips: 432
Features: asimd cpuid crc32 evtstrm fp
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 mitigation: __user pointer sanitization
Type: spectre_v2 status: Vulnerable
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: bcm2711-vc5 driver: vc4_drm v: N/A bus-ID: N/A chip-ID: brcm:gpu
class-ID: gpu
Device-2: bcm2711-hdmi0 driver: N/A bus-ID: N/A chip-ID: brcm:soc
class-ID: hdmi
Device-3: bcm2711-hdmi1 driver: N/A bus-ID: N/A chip-ID: brcm:soc
class-ID: hdmi
Display: server: X.org v: 1.21.1.3 driver: X: loaded: modesetting
alternate: fbdev
gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec
tty: 137x74
Monitor-1: HDMI-A-1 model: LG (GoldStar) ULTRAGEAR serial: <filter>
built: 2021 res: 2560x1440 dpi: 93 gamma: 1.2 size: 697x392mm (27.4x15.4")
diag: 800mm (31.5") ratio: 16:9 modes: max: 3840x2160 min: 640x480
Message: GL data unavailable in console. Try -G --display
Audio:
Device-1: bcm2835-audio driver: bcm2835_audio bus-ID: N/A
chip-ID: brcm:bcm2835_audio class-ID: bcm2835_audio
Device-2: bcm2711-hdmi0 driver: N/A bus-ID: N/A chip-ID: brcm:soc
class-ID: hdmi
Device-3: bcm2711-hdmi1 driver: N/A bus-ID: N/A chip-ID: brcm:soc
class-ID: hdmi
Sound Server-1: ALSA v: k5.15.28-2-rpi-ARCH running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: bcm2835-mmc driver: mmc_bcm2835 v: N/A port: N/A bus-ID: N/A
chip-ID: brcm:fe300000 class-ID: mmcnr
IF: wlan0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
Device-2: bcm2711-genet-v5 driver: bcmgenet v: N/A port: N/A bus-ID: N/A
chip-ID: brcm:fd580000 class-ID: ethernet
IF: eth0 state: down mac: <filter>
WAN IP: <filter>
Bluetooth:
Device-1: pl011 driver: uart_pl011 bus-ID: N/A chip-ID: arm:fe201000
class-ID: serial
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Device-2: pl011 driver: N/A bus-ID: N/A chip-ID: arm:serial0
class-ID: serial
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 931.51 GiB used: 11.84 GiB (1.3%)
ID-1: /dev/sda maj-min: 8:0 type: USB vendor: Samsung model: PSSD T7
size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: SSD
serial: <filter> scheme: GPT
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 931.31 GiB size: 915.62 GiB (98.32%)
used: 11.79 GiB (1.3%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
uuid: f326cfcd-b160-4739-af20-4ab92b4028b3
ID-2: /boot raw-size: 200 MiB size: 199.8 MiB (99.88%)
used: 51.5 MiB (25.8%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: 49D4-ED9B
Swap:
Alert: No swap data was found.
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-1:2 info: VIA Labs Hub ports: 4 rev: 2.1 speed: 480 Mb/s
power: 100mA chip-ID: 2109:3431 class-ID: 0900
Hub-3: 1-1.4:3 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0610 class-ID: 0900
Device-1: 1-1.4.1:4 info: Holtek Wired Keyboard (78/79 key) [RPI 5]
type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
speed: 1.5 Mb/s power: 100mA chip-ID: 04d9:0006 class-ID: 0300
Device-2: 1-1.4.4:5 info: Pixart Imaging Optical Mouse type: Mouse
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
power: 100mA chip-ID: 093a:2510 class-ID: 0301
Hub-4: 2-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Device-1: 2-2:2 info: Samsung PSSD T7 type: Mass Storage driver: uas
interfaces: 1 rev: 3.2 speed: 5 Gb/s power: 896mA chip-ID: 04e8:4001
class-ID: 0806 serial: <filter>
Sensors:
System Temperatures: cpu: 36.5 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 178 Uptime: 2h 8m Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 807 lib: 201 Shell: Bash
v: 5.1.16 running-in: pty pts/0 (SSH) inxi: 3.3.13
I’d appreciate any tips. Something I should probably mention, although I’m not sure it’s of any concern: I do turn off that Raspberry Pi once, I’m done for the night. shutdown now
, wait for it to shut down and then unplug the power supply.