[ntp:questions] HopfClockSerial with Suse 10.2
Richard B. gilbert
rgilbert88 at comcast.net
Tue Feb 20 17:50:12 UTC 2007
Gerhard Pisl wrote:
> I currently try to get a HopfClock Serial 6020 to run with NTP under Linux
> SuSE 10.2.
> This configuration already ran under Suse 9.1 and NTP version 4.2.0a
> Now I updated the system to Suse 10.2. and NTP version 4.2.2p4 (from scratch
> 1) Everything works with time servers from the Internet
> 2) The HopfClock writes a message into the /var/log/warn file and is not
> even listed (ntpq -p):
> Feb 8 20:45:07 earth ntpd: refclock_open /dev/hopfclock0:
> Operation not permitted
> Feb 8 20:45:07 earth ntpd: configuration of 127.127.38.0 failed
> I went through the sources, but I couldn't find any clue.
> My ntp.conf looks like that:
> ## Hopf DCF 6020
> server 127.127.38.0 prefer mode 12
> fudge 127.127.38.0 stratum 0
> fudge 127.127.38.0 time1 0.020
> fudge 127.127.38.0 refid DCF77_Hopf
> fudge 127.127.38.0 flag1 1 flag2 0 flag3 0 flag4 0
> #fudge 127.127.38.0 flag1 1 flag2 0 flag3 0 flag4 0 stratum 0 time1 0.02
> The soft link to /dev/hopfclock0 is available and I was able to capture the
> time signal of the clock with minicom terminal program.
> I tried everything with the permissions of the device - without success.
> Just for a try I changed to the Parse Clock (127.127.8.0) on /dev/refclock-0
> with basically the same warning.
> I even installed in a quick and dirty act the NTP 4.2.0a version - with the
> same results.
> What does the message "refclock_open /dev/hopfclock0: Operation not
> permitted" exactly mean?
It probably means that the account that is running ntpd does not have
permission to access that file. Run ntpd as root or change the
permissions to allow access to the account you are using!
More information about the questions