staging.inyokaproject.org

Systemzeit nicht auf Automatik

Status: Ungelöst | Ubuntu-Version: Ubuntu Budgie 19.10 (Eoan Ermine)
Antworten |

Master01

Anmeldungsdatum:
13. Oktober 2009

Beiträge: 186

Hi Leutz, habe mal wieder ein Problem und zwar stellt sich meine Systemzeit nicht mehr Automatisch bis zum 02.04 ging es noch Problemlos und jetzt bleibt der Schieber nicht mehr auf Auto.. Begründung ist das eine I-net Verbindung benötigt wird. Ich habe auch keine Einstellungen seid dem verändert oder etwas neues Installiert.

Da wir schon mal bei der Zeit sind gibt es eine grafische Möglichkeit den Zeitserver auf meine Fritz Box umzustellen?

THX für eure Antworten schon mal im Voraus!!!

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3793

Zeig mal bitte die Ausgabe von

timedatectl

Master01

(Themenstarter)

Anmeldungsdatum:
13. Oktober 2009

Beiträge: 186

Bitteschön:

timedatectl
               Local time: Sa 2020-04-04 13:30:43 CEST
           Universal time: Sa 2020-04-04 11:30:43 UTC
                 RTC time: Sa 2020-04-04 11:30:44
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: no

Habe die Zeit jetzt manuell eingestellt, was ich aber nicht als Dauerlösung erachte.

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3793

sudo timedatectl set-ntp 1

sollte es richten.

Ubunux

Anmeldungsdatum:
12. Juni 2006

Beiträge: 17505

Master01 schrieb:

Da wir schon mal bei der Zeit sind gibt es eine grafische Möglichkeit den Zeitserver auf meine Fritz Box umzustellen?

Alles muss heutzutage grafisch erledigt werden. Du wirst doch wohl im Terminal mit einem Editor wie Nano umgehen können

Schau dazu bitte mal ins Wiki: systemd/timesyncd (Abschnitt „Konfiguration“)

Master01

(Themenstarter)

Anmeldungsdatum:
13. Oktober 2009

Beiträge: 186

Vielen Dank für eure schnellen Antworten, leider bekomme ich den Regler immer noch nicht auf Automatik geklickt. Es scheint auch keine Aktion ausgeführt worden zu sein.

sudo timedatectl set-ntp 1
[sudo] Passwort für klaus: 
klaus@Klaus-PC:~$ timedatectl set-ntp 0 #deaktivieren
klaus@Klaus-PC:~$ timedatectl set-ntp 1 #aktivieren
klaus@Klaus-PC:~$ timedatectl status
               Local time: Sa 2020-04-04 22:59:51 CEST
           Universal time: Sa 2020-04-04 20:59:51 UTC
                 RTC time: Sa 2020-04-04 20:59:51
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
              NTP service: inactive
          RTC in local TZ: no
klaus@Klaus-PC:~$ [Time]
[Time]: Befehl nicht gefunden.
klaus@Klaus-PC:~$ NTP=fritz.box 0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org
0.de.pool.ntp.org: Befehl nicht gefunden.
klaus@Klaus-PC:~$ FallbackNTP=ntp.ubuntu.com
klaus@Klaus-PC:~$ sudo apt-get [Time]
E: Ungültige Operation [Time]
klaus@Klaus-PC:~$ NTP=fritz.box 0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org
0.de.pool.ntp.org: Befehl nicht gefunden.
klaus@Klaus-PC:~$ FallbackNTP=ntp.ubuntu.com
klaus@Klaus-PC:~$ /etc/systemd/timesyncd.conf 
bash: /etc/systemd/timesyncd.conf: Keine Berechtigung
klaus@Klaus-PC:~$ sudo /etc/systemd/timesyncd.conf 
sudo: /etc/systemd/timesyncd.conf: Befehl nicht gefunden
klaus@Klaus-PC:~$ sudo timedatectl set-ntp 1 #aktivieren
klaus@Klaus-PC:~$ sudo timedatectl status 
               Local time: Sa 2020-04-04 23:02:05 CEST
           Universal time: Sa 2020-04-04 21:02:05 UTC
                 RTC time: Sa 2020-04-04 21:02:05
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
              NTP service: inactive
          RTC in local TZ: no
klaus@Klaus-PC:~$ sudo timedatectl set-ntp 1

Ubunux

Anmeldungsdatum:
12. Juni 2006

Beiträge: 17505

Zeig mal die Ausgabe von

cat /etc/systemd/timesyncd.conf

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3793

Hast du irgendeinen time-Service deaktiviert oder maskiert? Zeig mal bitte

systemctl | grep -iE "systemd-timesyncd.service|time-sync.target"

Master01

(Themenstarter)

Anmeldungsdatum:
13. Oktober 2009

Beiträge: 186

Hi Dingsbums: danke für deine Antwort anbei der Rohtext und nein ich habe keinen Dienst o.ä. deaktiviert. Ich konnte auch nur den ersten Teil deines Befehls ausführen.

systemctl
UNIT                      LOAD   ACTIVE     SUB       DESCRIPTION              
proc-sys-fs-binfmt_misc.automount loaded active     waiting   Arbitrary Executab
dev-fuse.device           loaded activating tentative /dev/fuse                
sys-devices-pci0000:00-0000:00:01.0-0000:01:00.0-backlight-acpi_video0.device lo
sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device loaded active     plugged
sys-devices-pci0000:00-0000:00:1c.0-0000:02:00.0-net-enp2s0.device loaded active
sys-devices-pci0000:00-0000:00:1c.3-0000:05:00.0-net-wlp5s0.device loaded active
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.dev
sys-devices-pci0000:00-0000:00:1f.2-ata5-host4-target4:0:0-4:0:0:0-block-sr0.dev
sys-devices-platform-serial8250-tty-ttyS0.device loaded active     plugged   /sy
sys-devices-platform-serial8250-tty-ttyS1.device loaded active     plugged   /sy
sys-devices-platform-serial8250-tty-ttyS10.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS11.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS12.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS13.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS14.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS15.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS16.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS17.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS18.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS19.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS2.device loaded active     plugged   /sy
sys-devices-platform-serial8250-tty-ttyS20.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS21.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS22.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS23.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS24.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS25.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS26.device loaded active     plugged   /s
sys-devices-platform-serial8250-tty-ttyS27.device loaded active     plugged   /s

Wenn ich den Codeblock komplett ausführe kommt nur das selbst als sudo ausgeführt.

klaus@Klaus-PC:~$ systemctl | grep -iE "systemd-timesyncd.service|time-sync.target"
klaus@Klaus-PC:~$ sudo systemctl | grep -iE "systemd-timesyncd.service|time-sync.target

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3793

a) Weiß ich dann auch nicht, was bei dir verbogen ist.

b) Hast du die Frage von Ubunux nicht beantwortet.

Master01

(Themenstarter)

Anmeldungsdatum:
13. Oktober 2009

Beiträge: 186

So hier die Nachrreichung:

~$ cat /etc/systemd/timesyncd.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See timesyncd.conf(5) for details.

[Time]
#NTP=
#FallbackNTP=ntp.ubuntu.com
#RootDistanceMaxSec=5
#PollIntervalMinSec=32
#PollIntervalMaxSec=2048

Ich kann mir das Problem nicht erklären.

Antworten |