[gelöst] Zeitserver

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
ervau
Beiträge: 121
Registriert: 19.12.2019 13:59:34

Re: Zeitserver

Beitrag von ervau » 16.06.2023 15:10:56

Code: Alles auswählen

apt policy ntpsec-ntpdig
ntpsec-ntpdig:
  Installiert:           (keine)
  Installationskandidat: 1.2.2+dfsg1-1
  Versionstabelle:
     1.2.2+dfsg1-1 500
        500 http://deb.debian.org/debian bookworm/main i386 Packages
Offensichtlich nicht installiert. Habe jetzt ntpsec-ntpdate und ntpsec-ntpdig nachinstalliert.

Code: Alles auswählen

apt policy ntpsec-ntpdig
ntpsec-ntpdig:
  Installiert:           1.2.2+dfsg1-1
  Installationskandidat: 1.2.2+dfsg1-1
  Versionstabelle:
 *** 1.2.2+dfsg1-1 500
        500 http://deb.debian.org/debian bookworm/main i386 Packages
        100 /var/lib/dpkg/status

ervau
Beiträge: 121
Registriert: 19.12.2019 13:59:34

Re: Zeitserver

Beitrag von ervau » 16.06.2023 15:47:19

Wäre zu schön gewesen, hat aber leider nichts gebracht. Über die Zeiteinstellung auf dem Bildschirm (sorry, hatte ich bisher vergessen: Desktop ist Mate) hatte ich die Systemzeit zwischendurch mal korrigiert, aber leider springt sie nach kurzer Zeit wieder auf etwa +2min. Also irgendwoher holt sich die Kiste auf jeden Fall ein Zeitsignal.
In /etc/default gibt es jetzt eine Datei ntpsec-ntpdate

Code: Alles auswählen

...
# Set to "yes" to take the server list from /etc/ntpsec/ntp.conf, so you only
# have to keep it in one place.
NTPDATE_USE_NTP_CONF=yes

# List of NTP servers to use  (Separate multiple servers with spaces.)
# Not used if NTPDATE_USE_NTP_CONF is yes.
NTPSERVERS="0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org"
...
mit dem Verweis auf den aktiven Server in /etc/ntpsec/ntp.conf, wenn "yes", und der ist ptbtime2.ptb.de. Nach dem zweiten Absatz müßten dort die Pool-Server noch nicht mal auskommentiert werden, wenn NTPDATE_USE_NTP_CONF=yes.

mat6937
Beiträge: 3366
Registriert: 09.12.2014 10:44:00

Re: Zeitserver

Beitrag von mat6937 » 16.06.2023 16:19:30

ervau hat geschrieben: ↑ zum Beitrag ↑
16.06.2023 15:47:19
Desktop ist Mate) hatte ich die Systemzeit zwischendurch mal korrigiert, aber leider springt sie nach kurzer Zeit wieder auf etwa +2min.
Zeige uns die Ausgaben von:

Code: Alles auswählen

date && rdate -4npu ptbtime2.ptb.de
Z. B. bei mir ist die Ausgabe so:

Code: Alles auswählen

:~$ date && rdate -4npu ptbtime2.ptb.de
Fr 16. Jun 16:19:00 CEST 2023
Fri Jun 16 16:19:00 CEST 2023
EDIT:

Wenn es Probleme mit dem DNS gibt, dann poste die Ausgaben von:

Code: Alles auswählen

date && rdate -4npu 130.133.1.10
rdate hast Du ja inzwischen installiert, oder?

EDIT 2:

BTW: Statt rdate kannst Du jetzt auch ntpdig benutzen:

Code: Alles auswählen

ntpdig -4 130.133.1.10
Debian 12.8 mit LXDE, OpenBSD 7.6 mit i3wm, FreeBSD 14.1 mit Xfce

ervau
Beiträge: 121
Registriert: 19.12.2019 13:59:34

Re: Zeitserver

Beitrag von ervau » 16.06.2023 16:34:51

War nicht installiert, habe ich jetzt nachinstalliert.

Code: Alles auswählen

xxxx-on-debian:~# date && rdate -4npu ptbtime2.ptb.de
Fr 16. Jun 16:27:59 CEST 2023
Fri Jun 16 16:26:36 CEST 2023
xxxx-on-debian:~# date && rdate -4npu 130.133.1.10
Fr 16. Jun 16:28:47 CEST 2023
Fri Jun 16 16:27:24 CEST 2023
Das ist wohl das von mir festgestellte Delta!!!!
In der Vergangenheit hat "apt update", "apt full-upgrade", aktualisierung der Sources.list und erneutes "apt update", "apt full-upgrade" ausgereicht und alles war gut. Dieses Mal ist es wohl etwas aufwändiger; trotzdem habe ich VueScan und FileZilla wieder zum Laufen bekommen; nur bislang die "Zeit" nicht.

mat6937
Beiträge: 3366
Registriert: 09.12.2014 10:44:00

Re: Zeitserver

Beitrag von mat6937 » 16.06.2023 16:46:15

ervau hat geschrieben: ↑ zum Beitrag ↑
16.06.2023 16:34:51
Das ist wohl das von mir festgestellte Delta!!!!
Das sind dann immer 1 Minute und 23 Sekunden?

M. E. kann das nur ein Fehler in der config von ntpsec sein.
Debian 12.8 mit LXDE, OpenBSD 7.6 mit i3wm, FreeBSD 14.1 mit Xfce

ervau
Beiträge: 121
Registriert: 19.12.2019 13:59:34

Re: Zeitserver

Beitrag von ervau » 16.06.2023 17:04:52

Genau!!!!
Und meine etc/ntpsec/ntp.conf

Code: Alles auswählen

# /etc/ntpsec/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

driftfile /var/lib/ntpsec/ntp.drift
leapfile /usr/share/zoneinfo/leap-seconds.list

# To enable Network Time Security support as a server, obtain a certificate
# (e.g. with Let's Encrypt), configure the paths below, and uncomment:
# nts cert CERT_FILE
# nts key KEY_FILE
# nts enable

# You must create /var/log/ntpsec (owned by ntpsec:ntpsec) to enable logging.
#statsdir /var/log/ntpsec/
#statistics loopstats peerstats clockstats
#filegen loopstats file loopstats type day enable
#filegen peerstats file peerstats type day enable
#filegen clockstats file clockstats type day enable

# This should be maxclock 7, but the pool entries count towards maxclock.
tos maxclock 11

# Comment this out if you have a refclock and want it to be able to discipline
# the clock by itself (e.g. if the system is not connected to the network).
tos minclock 4 minsane 3

# Specify one or more NTP servers.
# server ptbtime1.ptb.de
server ptbtime2.ptb.de
# server ptbtime3.ptb.de

# Public NTP servers supporting Network Time Security:
# server time.cloudflare.com nts

# pool.ntp.org maps to about 1000 low-stratum NTP servers.  Your server will
# pick a different set every time it starts up.  Please consider joining the
# pool: <https://www.pool.ntp.org/join.html>
# pool 0.debian.pool.ntp.org iburst
# pool 1.debian.pool.ntp.org iburst
# pool 2.debian.pool.ntp.org iburst
# pool 3.debian.pool.ntp.org iburst

# Access control configuration; see /usr/share/doc/ntpsec-doc/html/accopt.html
# for details.
#
# Note that "restrict" applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.

# By default, exchange time with everybody, but don't allow configuration.
restrict default kod nomodify nopeer noquery limited

# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict ::1
die var/lib/ntpsec/ntp.drift

Code: Alles auswählen

85.395798
und die usr/share/zoneinfo/leap-seconds.list

Code: Alles auswählen

#
#	In the following text, the symbol '#' introduces
#	a comment, which continues from that symbol until
#	the end of the line. A plain comment line has a
#	whitespace character following the comment indicator.
#	There are also special comment lines defined below.
#	A special comment will always have a non-whitespace
#	character in column 2.
#
#	A blank line should be ignored.
#
#	The following table shows the corrections that must
#	be applied to compute International Atomic Time (TAI)
#	from the Coordinated Universal Time (UTC) values that
#	are transmitted by almost all time services.
#
#	The first column shows an epoch as a number of seconds
#	since 1 January 1900, 00:00:00 (1900.0 is also used to
#	indicate the same epoch.) Both of these time stamp formats
#	ignore the complexities of the time scales that were
#	used before the current definition of UTC at the start
#	of 1972. (See note 3 below.)
#	The second column shows the number of seconds that
#	must be added to UTC to compute TAI for any timestamp
#	at or after that epoch. The value on each line is
#	valid from the indicated initial instant until the
#	epoch given on the next one or indefinitely into the
#	future if there is no next line.
#	(The comment on each line shows the representation of
#	the corresponding initial epoch in the usual
#	day-month-year format. The epoch always begins at
#	00:00:00 UTC on the indicated day. See Note 5 below.)
#
#	Important notes:
#
#	1. Coordinated Universal Time (UTC) is often referred to
#	as Greenwich Mean Time (GMT). The GMT time scale is no
#	longer used, and the use of GMT to designate UTC is
#	discouraged.
#
#	2. The UTC time scale is realized by many national
#	laboratories and timing centers. Each laboratory
#	identifies its realization with its name: Thus
#	UTC(NIST), UTC(USNO), etc. The differences among
#	these different realizations are typically on the
#	order of a few nanoseconds (i.e., 0.000 000 00x s)
#	and can be ignored for many purposes. These differences
#	are tabulated in Circular T, which is published monthly
#	by the International Bureau of Weights and Measures
#	(BIPM). See www.bipm.org for more information.
#
#	3. The current definition of the relationship between UTC
#	and TAI dates from 1 January 1972. A number of different
#	time scales were in use before that epoch, and it can be
#	quite difficult to compute precise timestamps and time
#	intervals in those "prehistoric" days. For more information,
#	consult:
#
#		The Explanatory Supplement to the Astronomical
#		Ephemeris.
#	or
#		Terry Quinn, "The BIPM and the Accurate Measurement
#		of Time," Proc. of the IEEE, Vol. 79, pp. 894-905,
#		July, 1991. <http://dx.doi.org/10.1109/5.84965>
#		reprinted in:
#		   Christine Hackman and Donald B Sullivan (eds.)
#		   Time and Frequency Measurement
#		   American Association of Physics Teachers (1996)
#		   <http://tf.nist.gov/general/pdf/1168.pdf>, pp. 75-86
#
#	4. The decision to insert a leap second into UTC is currently
#	the responsibility of the International Earth Rotation and
#	Reference Systems Service. (The name was changed from the
#	International Earth Rotation Service, but the acronym IERS
#	is still used.)
#
#	Leap seconds are announced by the IERS in its Bulletin C.
#
#	See www.iers.org for more details.
#
#	Every national laboratory and timing center uses the
#	data from the BIPM and the IERS to construct UTC(lab),
#	their local realization of UTC.
#
#	Although the definition also includes the possibility
#	of dropping seconds ("negative" leap seconds), this has
#	never been done and is unlikely to be necessary in the
#	foreseeable future.
#
#	5. If your system keeps time as the number of seconds since
#	some epoch (e.g., NTP timestamps), then the algorithm for
#	assigning a UTC time stamp to an event that happens during a positive
#	leap second is not well defined. The official name of that leap
#	second is 23:59:60, but there is no way of representing that time
#	in these systems.
#	Many systems of this type effectively stop the system clock for
#	one second during the leap second and use a time that is equivalent
#	to 23:59:59 UTC twice. For these systems, the corresponding TAI
#	timestamp would be obtained by advancing to the next entry in the
#	following table when the time equivalent to 23:59:59 UTC
#	is used for the second time. Thus the leap second which
#	occurred on 30 June 1972 at 23:59:59 UTC would have TAI
#	timestamps computed as follows:
#
#	...
#	30 June 1972 23:59:59 (2287785599, first time):	TAI= UTC + 10 seconds
#	30 June 1972 23:59:60 (2287785599,second time):	TAI= UTC + 11 seconds
#	1  July 1972 00:00:00 (2287785600)		TAI= UTC + 11 seconds
#	...
#
#	If your system realizes the leap second by repeating 00:00:00 UTC twice
#	(this is possible but not usual), then the advance to the next entry
#	in the table must occur the second time that a time equivalent to
#	00:00:00 UTC is used. Thus, using the same example as above:
#
#	...
#       30 June 1972 23:59:59 (2287785599):		TAI= UTC + 10 seconds
#       30 June 1972 23:59:60 (2287785600, first time):	TAI= UTC + 10 seconds
#       1  July 1972 00:00:00 (2287785600,second time):	TAI= UTC + 11 seconds
#	...
#
#	in both cases the use of timestamps based on TAI produces a smooth
#	time scale with no discontinuity in the time interval. However,
#	although the long-term behavior of the time scale is correct in both
#	methods, the second method is technically not correct because it adds
#	the extra second to the wrong day.
#
#	This complexity would not be needed for negative leap seconds (if they
#	are ever used). The UTC time would skip 23:59:59 and advance from
#	23:59:58 to 00:00:00 in that case. The TAI offset would decrease by
#	1 second at the same instant. This is a much easier situation to deal
#	with, since the difficulty of unambiguously representing the epoch
#	during the leap second does not arise.
#
#	Some systems implement leap seconds by amortizing the leap second
#	over the last few minutes of the day. The frequency of the local
#	clock is decreased (or increased) to realize the positive (or
#	negative) leap second. This method removes the time step described
#	above. Although the long-term behavior of the time scale is correct
#	in this case, this method introduces an error during the adjustment
#	period both in time and in frequency with respect to the official
#	definition of UTC.
#
#	Questions or comments to:
#		Judah Levine
#		Time and Frequency Division
#		NIST
#		Boulder, Colorado
#		Judah.Levine@nist.gov
#
#	Last Update of leap second values:   8 July 2016
#
#	The following line shows this last update date in NTP timestamp
#	format. This is the date on which the most recent change to
#	the leap second data was added to the file. This line can
#	be identified by the unique pair of characters in the first two
#	columns as shown below.
#
#$	 3676924800
#
#	The NTP timestamps are in units of seconds since the NTP epoch,
#	which is 1 January 1900, 00:00:00. The Modified Julian Day number
#	corresponding to the NTP time stamp, X, can be computed as
#
#	X/86400 + 15020
#
#	where the first term converts seconds to days and the second
#	term adds the MJD corresponding to the time origin defined above.
#	The integer portion of the result is the integer MJD for that
#	day, and any remainder is the time of day, expressed as the
#	fraction of the day since 0 hours UTC. The conversion from day
#	fraction to seconds or to hours, minutes, and seconds may involve
#	rounding or truncation, depending on the method used in the
#	computation.
#
#	The data in this file will be updated periodically as new leap
#	seconds are announced. In addition to being entered on the line
#	above, the update time (in NTP format) will be added to the basic
#	file name leap-seconds to form the name leap-seconds.<NTP TIME>.
#	In addition, the generic name leap-seconds.list will always point to
#	the most recent version of the file.
#
#	This update procedure will be performed only when a new leap second
#	is announced.
#
#	The following entry specifies the expiration date of the data
#	in this file in units of seconds since the origin at the instant
#	1 January 1900, 00:00:00. This expiration date will be changed
#	at least twice per year whether or not a new leap second is
#	announced. These semi-annual changes will be made no later
#	than 1 June and 1 December of each year to indicate what
#	action (if any) is to be taken on 30 June and 31 December,
#	respectively. (These are the customary effective dates for new
#	leap seconds.) This expiration date will be identified by a
#	unique pair of characters in columns 1 and 2 as shown below.
#	In the unlikely event that a leap second is announced with an
#	effective date other than 30 June or 31 December, then this
#	file will be edited to include that leap second as soon as it is
#	announced or at least one month before the effective date
#	(whichever is later).
#	If an announcement by the IERS specifies that no leap second is
#	scheduled, then only the expiration date of the file will
#	be advanced to show that the information in the file is still
#	current -- the update time stamp, the data and the name of the file
#	will not change.
#
#	Updated through IERS Bulletin C65
#	File expires on:  28 December 2023
#
#@	3912710400
#
2272060800	10	# 1 Jan 1972
2287785600	11	# 1 Jul 1972
2303683200	12	# 1 Jan 1973
2335219200	13	# 1 Jan 1974
2366755200	14	# 1 Jan 1975
2398291200	15	# 1 Jan 1976
2429913600	16	# 1 Jan 1977
2461449600	17	# 1 Jan 1978
2492985600	18	# 1 Jan 1979
2524521600	19	# 1 Jan 1980
2571782400	20	# 1 Jul 1981
2603318400	21	# 1 Jul 1982
2634854400	22	# 1 Jul 1983
2698012800	23	# 1 Jul 1985
2776982400	24	# 1 Jan 1988
2840140800	25	# 1 Jan 1990
2871676800	26	# 1 Jan 1991
2918937600	27	# 1 Jul 1992
2950473600	28	# 1 Jul 1993
2982009600	29	# 1 Jul 1994
3029443200	30	# 1 Jan 1996
3076704000	31	# 1 Jul 1997
3124137600	32	# 1 Jan 1999
3345062400	33	# 1 Jan 2006
3439756800	34	# 1 Jan 2009
3550089600	35	# 1 Jul 2012
3644697600	36	# 1 Jul 2015
3692217600	37	# 1 Jan 2017
#
#	the following special comment contains the
#	hash value of the data in this file computed
#	use the secure hash algorithm as specified
#	by FIPS 180-1. See the files in ~/pub/sha for
#	the details of how this hash value is
#	computed. Note that the hash computation
#	ignores comments and whitespace characters
#	in data lines. It includes the NTP values
#	of both the last modification time and the
#	expiration time of the file, but not the
#	white space on those lines.
#	the hash line is also ignored in the
#	computation.
#
#h 	e76a99dc 65f15cc7 e613e040 f5078b5e b23834fe

Benutzeravatar
cosinus
Beiträge: 4188
Registriert: 08.02.2016 13:44:11
Lizenz eigener Beiträge: GNU General Public License
Wohnort: Bremen

Re: Zeitserver

Beitrag von cosinus » 16.06.2023 20:42:29

Deaktiviere doch mal testweise den ntp service und versuche es mit systemd-timesyncd.

ervau
Beiträge: 121
Registriert: 19.12.2019 13:59:34

Re: Zeitserver

Beitrag von ervau » 17.06.2023 11:11:52

Davor hatte ich -wie schon weiter oben angedeutet- etwas Sch.../ Bedenken, weil beim Installieren von systemd-timesyncd ntp und ntpsec deinstalliert werden; so sagt es zumindest die Synaptic-Paketverwaltung.
Ich hab mich jetzt trotzdem dazu durchgerungen und anschließend in etc/systemd/timesyncd.conf den Server meines Vertrauens unter NTP=ptbtime2.ptb.de eingetragen; ob das notwendig war, kann ich auf Anhieb nicht sagen.
Sieht dann so aus:

Code: Alles auswählen

[Time]
NTP=ptbtime2.ptb.de
# FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
RootDistanceMaxSec=5
PollIntervalMinSec=32
PollIntervalMaxSec=2048
ConnectionRetrySec=30
SaveIntervalSec=60
Aber es scheint zu funktionieren.

Code: Alles auswählen

date && rdate -4npu 130.133.1.10
Sa 17. Jun 11:11:27 CEST 2023
Sat Jun 17 11:11:27 CEST 2023

Code: Alles auswählen

date && rdate -4npu ptbtime2.ptb.de
Sa 17. Jun 10:10:58 CEST 2023
Sat Jun 17 10:10:58 CEST 2023
Riesiges Dankeschön an alle, die hier dabei waren. Ich durfte mal wieder Vieles dazulernen.
Gruß und schönes Wochenende
ervau

mat6937
Beiträge: 3366
Registriert: 09.12.2014 10:44:00

Re: Zeitserver

Beitrag von mat6937 » 17.06.2023 12:12:19

ervau hat geschrieben: ↑ zum Beitrag ↑
17.06.2023 11:11:52
... ntp und ntpsec deinstalliert werden; ...
ntpdig soll ja nicht deinstalliert worden sein. Poste mal, nur interessehalber, die Ausgaben von:

Code: Alles auswählen

which ntpdig
ntpdig -4 130.133.1.10
, ... denn rdate wird zukünftig, dann nicht mehr benötigt ...
Debian 12.8 mit LXDE, OpenBSD 7.6 mit i3wm, FreeBSD 14.1 mit Xfce

michaa7
Beiträge: 4917
Registriert: 12.12.2004 00:46:49
Lizenz eigener Beiträge: MIT Lizenz

Re: Zeitserver

Beitrag von michaa7 » 17.06.2023 12:27:21

ervau hat geschrieben: ↑ zum Beitrag ↑
16.06.2023 17:04:52
...
die var/lib/ntpsec/ntp.drift

Code: Alles auswählen

85.395798
Also das entspricht fast genau 1 Minute 23 Sec (ok, 1m25x sec)

Aus https://bugs.launchpad.net/ubuntu/+sour ... ug/1788102

Code: Alles auswählen

2. Install ntpsec.

3. Wait a while (typically an hour or more) for ntpd to calculate the drift.

4. Check syslog for messages like this:
2018-08-21T00:23:52.891966-05:00 ubuntu1804test ntpd[5392]: LOG: frequency file /var/lib/ntp/ntp.drift-tmp: Permission denied
and the kernel log for messages like this:
[446384.822309] audit: type=1400 audit(1534825432.887:14): apparmor="DENIED" operation="mknod" profile="/usr/sbin/ntpd" name="/var/lib/ntp/ntp.drift-tmp" pid=5392 comm="ntpd" requested_mask="c" denied_mask="c" fsuid=110 ouid=110

5. Verify that there is no /var/lib/ntp/ntp.drift file.
Ich fand diesen Fehler zu komisch und habe gesuchmaschint ;-)

Wollte dies nur ergänzen, obwohl natürlich nicht klar ist ob das wirklich die Ursache war.
gruß

michaa7

-------------------------------
Menschen ändern gelegentlich ihre Ansichten, aber nur selten ihre Motive. (Oskar Negt)

ervau
Beiträge: 121
Registriert: 19.12.2019 13:59:34

Re: [gelöst] Zeitserver

Beitrag von ervau » 17.06.2023 12:29:55

Code: Alles auswählen

xxxx-on-debian:~# which ntpdig
/usr/bin/ntpdig
xxxx-on-debian:~# ntpdig -4 130.133.1.10
2023-06-17 12:19:58.147056 (+0200) +0.004111 +/- 0.015734 130.133.1.10 s1 no-leap
Und dann habe ich in einem anderen Thread noch die Abfrage nach dem Status von systemd-timesyncd gefunden

Code: Alles auswählen

xxxx-on-debian:~# systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
     Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-06-17 10:00:21 CEST; 2h 17min ago
       Docs: man:systemd-timesyncd.service(8)
   Main PID: 1745 (systemd-timesyn)
     Status: "Contacted time server [2001:638:610:be01::104]:123 (ptbtime2.ptb.de)."
      Tasks: 2 (limit: 4915)
     Memory: 1012.0K
        CPU: 314ms
     CGroup: /system.slice/systemd-timesyncd.service
             └─1745 /lib/systemd/systemd-timesyncd

Jun 17 10:00:20 xxxx-on-debian systemd[1]: Starting systemd-timesyncd.service - Network Time Synchronization...
Jun 17 10:00:21 xxxx-on-debian systemd[1]: Started systemd-timesyncd.service - Network Time Synchronization.
Jun 17 10:00:33 xxxx-on-debian systemd-timesyncd[1745]: Contacted time server [2001:638:610:be01::104]:123 (ptbtime2.ptb.de).
Jun 17 10:00:33 xxxx-on-debian systemd-timesyncd[1745]: Initial clock synchronization to Sat 2023-06-17 10:00:33.686683 CEST.
D.h.: Die Kiste redet mit ptbtime2.ptb.de und synchronisiert!

JTH
Moderator
Beiträge: 3077
Registriert: 13.08.2008 17:01:41
Wohnort: Berlin

Re: [gelöst] Zeitserver

Beitrag von JTH » 17.06.2023 12:33:02

ervau hat geschrieben: ↑ zum Beitrag ↑
17.06.2023 12:29:55
Und dann habe ich in einem anderen Thread noch die Abfrage nach dem Status von systemd-timesyncd gefunden
Wenn du nochmal genau hinguckst, findest du dort sogar noch timedatectl timesync-status für genauere Informationen.
Manchmal bekannt als Just (another) Terminal Hacker.

ervau
Beiträge: 121
Registriert: 19.12.2019 13:59:34

Re: [gelöst] Zeitserver

Beitrag von ervau » 17.06.2023 12:37:48

Soweit hatte ich noch nicht gelesen

Code: Alles auswählen

xxxx-on-debian:~# timedatectl timesync-status
       Server: 2001:638:610:be01::104 (ptbtime2.ptb.de)
Poll interval: 34min 8s (min: 32s; max 34min 8s)
         Leap: normal
      Version: 4
      Stratum: 1
    Reference: PTB
    Precision: 1us (-25)
Root distance: 22us (max: 5s)
       Offset: +2.337ms
        Delay: 21.758ms
       Jitter: 16.196ms
 Packet count: 11
    Frequency: +55,972ppm
:THX: :THX: :THX:

Antworten