Re: Chrony fehlkonfiguriert, oder ntp-Server spinnt?
Frank Küster wrote:
> Die Uhr geht aber immer noch etwa 10 Minuten nach. chrony scheint
> trotzdem zufrieden zu sein:
> frank@alhambra:~$ chronyc tracking
> Reference ID : 127.127.1.1 (127.127.1.1)
^^^^^^^^^^^ Das ist doch nicht der Timeserver aus
Deiner Konfiguration von unten!
> Stratum : 10
^^ Die Stratum 10 bist Du selber.
> Das heisst doch, dass er sich mit dem Server im Einklang glaubt? Kann es
Nein. :-) Du synchronisierst gerade mit Dir selber.
> sein, dass ich irgendwas falsch konfiguriert habe, oder gehen einfach in
> Basel die Uhren anders - evtl. weil dort diese Woche noch Fasnacht ist?
Ihr habt noch Karneval? Ihr habt's aber gut. :-)
> Meine Konfiguration:
> alhambra:~# grep -v ^# /etc/chrony/chrony.conf |grep -v ^$
> server 131.152.1.1 offline
Du startest Deinen abzufragenden Timeserver im Offline-Modus. Wenn Du
eine Standleitung hast, kannst Du das offline aus der Konfiguration
rauswerfen, ansonsten muß Du ihn online setzen: Entweder händisch, indem
Du chrony mitteilst, daß Du jetzt online bist:
marcus@iridium:~$ /usr/local/bin/chronyc
chronyc> password
Password:
200 OK
chronyc> online
200 OK
chronyc>
oder Du verwendest ein Skript:
#!/bin/sh
# /etc/ppp/ip-up.d/chrony
PASSWORD=`awk '$1 ~ /^1$/ {print $2; exit}' /etc/chrony/chrony.keys`
cat << EOF | /usr/bin/chronyc
password $PASSWORD
online
EOF
exit 0
Siehe auch <http://www.sc-delphin-eschweiler.de/chrony/> bzw. die Doku
auf <http://chrony.sunsite.dk>.
HTH,
Marcus
--
Fickle minds, pretentious attitudes and ugly | PGP-Key: [DH/DSS] 4096-bit
make-up on ugly faces... The Gothgoose | Key-ID: 0xE10F502E
Of The Week: http://www.gothgoose.net | Encrypted mails welcome!
Reply to: