Sure RPC-DCF77 Funkuhr am seriellen Port unter SuSE 10.1
Sure RPC-DCF77 Funkuhr am seriellen Port unter SuSE 10.1 Hallo, Mein "Problem": SuSE 10.1 und Sure RPC-DCF77 Funkuhr am seriellen Port ttyS0: Eingerichtet nach der Anleitung: http://www.linum.com/de/produkte/hardware/funkuhr/dcf77/sure/seriell/index.h... und http://www.linum.com/FTPDIR/SUPPORT/XNTP/XNTP.PDF mit: Eintrag in /etc/ntp.conf: server 127.127.8.0 prefer mode 16 und Link: ln -sf /dev/ttyS0 /dev/refclock-0 lief problemlos unter SuSE7.3 - funktioniert so nicht mehr unter SuSE10.1! ---------------------------------------------------------------------- 22.02.07 10:37:36 Uhr Michael Behrens schrieb: Hier (10.2) läuft ntpd mit UID "ntp", eventuell ist das bei 10.1 auch so, und fehlende Zugriffsrechte auf die Schnittstelle verhindern die korrekte Funktion. ---------------------------------------------------------------------- hier einige Auszuege: alles als superuser root: BEFEHL: ps -ax .... 19228 ? S 9:42 kpat -icon kpat -miniicon kpat -caption Patiencen 22112 ? S 0:00 /usr/sbin/wwwoffled -c /etc/wwwoffle/wwwoffle.conf 3290 ? Ss 6:57 zmd /usr/lib/zmd/zmd.exe --sleep 84982 *24098 ? SLs 0:00 /usr/sbin/ntpd -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp* 24208 ? S 0:00 pickup -l -t fifo -u 24327 ? S 0:01 konsole [kdeinit] 24328 pts/1 Ss 0:00 /bin/bash 24346 pts/1 S+ 0:00 jstar Auszuege.txt 24347 pts/7 R+ 0:00 ps -ax BEFEHL: ps -U ntp PID TTY TIME CMD *24098 ? 00:00:00 ntpd* BEFEHL: tail /var/log/messages .... Feb 22 11:54:18 miraculix ntpd[24098]: ntpd 4.2.0a@1.1196-r Sun Apr 23 03:28:24 UTC 2006 (1) Feb 22 11:54:18 miraculix ntpd[24098]: precision = 3.000 usec Feb 22 11:54:18 miraculix ntpd[24098]: Listening on interface wildcard, 0.0.0.0#123 Feb 22 11:54:18 miraculix ntpd[24098]: Listening on interface wildcard, ::#123 Feb 22 11:54:18 miraculix ntpd[24098]: Listening on interface lo,127.0.0.1#123 Feb 22 11:54:18 miraculix ntpd[24098]: Listening on interface eth2,192.168.10.1#123 Feb 22 11:54:18 miraculix ntpd[24098]: Listening on interface eth0,192.168.100.1#123 Feb 22 11:54:18 miraculix ntpd[24098]: Listening on interface eth1,192.168.1.5#123 Feb 22 11:54:18 miraculix ntpd[24098]: Listening on interface ippp0,192.168.10.1#123 Feb 22 11:54:18 miraculix ntpd[24098]: kernel time sync status 0040 *Feb 22 11:54:18 miraculix ntpd[24098]: PARSE receiver #0: parse_start: open of /dev/refclock-0 failed: Operation not permitted* Feb 22 11:54:18 miraculix ntpd[24098]: configuration of 127.127.8.0 failed Feb 22 11:54:18 miraculix ntpd[24098]: frequency initialized -52.232 PPM from /var/lib/ntp/drift/ntp.drift Feb 22 12:22:49 miraculix smbd[23786]: [2007/02/22 12:22:49, 0]lib/util_sock.c:read_data(529) -------------------------------------------------------------------------------------------------------------- Michael Behrens schrieb: ntpd läuft mit UID=ntp und /dev/refclock0 ist doch wahrscheinlich ein Link auf /dev/ttyS?, und das hat vermutlich crw-rw---- 1 root uucp 4, 64 25. Nov 13:17 /dev/ttyS0 Vielleicht reicht es, ntp zusätzlich in die Gruppe uucp zu stecken. -------------------------------------------------------------------------------------------------------------- User ntp zusaetzlich in die Gruppe uucp gebracht: Ergebnis: server:/ # groups ntp ntp : ntp uucp server:/ # rcntp restart Shutting down network time protocol daemon (NTPD) done Starting network time protocol daemon (NTPD) done server:/ # tail /var/log/messages ..... Feb 24 09:59:21 server ntpd[30458]: kernel time sync status 0040 Feb 24 09:59:21 server ntpd[30458]: PARSE receiver #0: parse_start: open of /dev/refclock-0 failed: Operation not permitted Feb 24 09:59:21 server ntpd[30458]: configuration of 127.127.8.0 failed Feb 24 09:59:21 server ntpd[30458]: frequency initialized -71.612 PPM from /var/lib/ntp/drift/ntp.drift --------------------------------------------------------------------------------------------------------------- -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
participants (1)
-
Michael Tietzel