Hallo Raspberry Freunde
hab wieder mal Probleme mit der Uhrzeit vom Raspberry,
damals war das bei mir irgendwas DNS namesavers aber der ist jetzt gesetzt
hier einige Daten
sudo nano /etc/network/interfaces
Code
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
Alles anzeigen
pi@raspberrypi:~ $ date; ntpdate 0.de.pool.ntp.org; date
Code
Fr 1. Sep 04:33:03 CEST 2017
-bash: ntpdate: Kommando nicht gefunden.
Fr 1. Sep 04:33:03 CEST 2017
pi@raspberrypi:~ $ sudo systemctl -l status ntp
Code
● ntp.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
pi@raspberrypi:~ $ sudo su
root@raspberrypi:/home/pi# apt-get update && apt-get install ntp
OK http://archive.raspberrypi.org jessie InRelease
OK http://archive.raspberrypi.org jessie/main armhf Packages
OK http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-de_DE
Ign http://archive.raspberrypi.org jessie/main Translation-de
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-de_DE
Ign http://archive.raspberrypi.org jessie/ui Translation-de
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Paketlisten werden gelesen... Fertig
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Package ntp is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ntp' has no installation candidate
Alles anzeigen
ntpq -p:
evtl. hat jemand eine IDEE
im Voraus