Uhrzeit nicht korrekt auf Linux

Sorry, ich war verhindert.

timedatectl show-timesync gibt mir folgendes aus:
"Failed to parse bus message: Kein passendes Gerät bzw. keine passende Adresse gefunden"

Ich bin ins Bios von mir gegangen und habe gesehen, dass die Uhrzeit im Bios zwei Stunden vor der aktuellen Uhrzeit liegt. Ich habe das angepasst und das OS gestartet. Im OS habe ich dann die Uhrzeit gewechselt und anschließend den Haken wieder bei "automatisch beziehen" gesetzt. Jetzt ist es zwei Minuten später und die Uhr synchronisiert noch immer nicht richtig.
 
Chibi88 schrieb:
Ich bin ins Bios von mir gegangen und habe gesehen, dass die Uhrzeit im Bios zwei Stunden vor der aktuellen Uhrzeit liegt. Ich habe das angepasst und das OS gestartet. Im OS habe ich dann die Uhrzeit gewechselt und anschließend den Haken wieder bei "automatisch beziehen" gesetzt. Jetzt ist es zwei Minuten später und die Uhr synchronisiert noch immer nicht richtig.
Das die cmos-clock in der lokalen Zeit läuft und nicht in GMT ist so ein dämlicher Windowism.
Bedenke auch das an einem System unterschiedliche User die sich in unterschiedlichen Zeitzonen befinden angemeldet sein können.
Und setzt mal die Kommandos ab die ich gepostet habe.
 
Ich verwende auch Fedora 39, die Uhrzeit ist aber korrekt synchronisiert
Dies wohl per chronyd Service.
Scheinbar verwendet dieser meine Fritz.Box dazu?
Die von mir nicht bewußt veränderte /etc/chrony.conf

Code:
# These servers were defined in the installation:
server _gateway iburst

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (https://www.pool.ntp.org/join.html).

# Use NTP servers from DHCP.
sourcedir /run/chrony-dhcp

# Record the rate at which the system clock gains/losses time.
driftfile /var/lib/chrony/drift

# Allow the system clock to be stepped in the first three updates
# if its offset is larger than 1 second.
makestep 1.0 3

# Enable kernel synchronization of the real-time clock (RTC).
rtcsync

# Enable hardware timestamping on all interfaces that support it.
#hwtimestamp *

# Increase the minimum number of selectable sources required to adjust
# the system clock.
#minsources 2

# Allow NTP client access from local network.
#allow 192.168.0.0/16

# Serve time even if not synchronized to a time source.
#local stratum 10

# Require authentication (nts or key option) for all NTP sources.
#authselectmode require

# Specify file containing keys for NTP authentication.
#keyfile /etc/chrony.keys

# Save NTS keys and cookies.
ntsdumpdir /var/lib/chrony

# Insert/delete leap seconds by slewing instead of stepping.
#leapsecmode slew

# Get TAI-UTC offset and leap seconds from the system tz database.
leapsectz right/UTC

# Specify directory for log files.
logdir /var/log/chrony

# Select which information is logged.
# log measurements statistics tracking

Der von einem user hier genannte Befehl, liefert dieses
Code:
ntpcheck diag
[ OK ] Clock is syncing to 192.168.178.1
[ OK ] Leap indicator is set to 'none'
[ OK ] Tracking offset is -0.016ms, we expect it to be within 1.0ms
[ OK ] Sys Peer offset is 0.059ms, we expect it to be within 2.0ms
[ OK ] Sys Peer jitter is 0.000ms, we expect it to be within 1.0ms
[ OK ] Current correction is 0.012ms, we expect it to be within 60000.0ms
[ OK ] All 1 peers are OK (have 'flash' indicator set to 0)
[ OK ] All 1 peers were reachable 8/8 last sync attempts

Ist das bei Dir auch so?
192.168.178.1 ist meine FB, Provider ist 1und1-
Der PC ist per Lan Kabel mit der Fritz.Box verbunden.
 
Zuletzt bearbeitet:
Zurück
Oben