I never had much luck with include. Our timemaster.conf looks like (we use 
chronyc instead of ntp because under linux it converges faster)

[ntp_server ntp1.ox.com]
minpoll 4
maxpoll 4
iburst 1

[ntp_server ntp2.ox.com]
minpoll 4
maxpoll 4
iburst 1

[timemaster]
ntp_program chronyd
rundir /var/run/timemaster

[chronyd]
path /usr/sbin/chronyd

[chrony.conf]
makestep 1 3
maxchange 3 1 3
logchange 0.5
rtcsync
lock_all
sched_priority 99
allow 129.77/16
cmdallow 129.77/16
log measurements statistics tracking rtc refclocks tempcomp
logdir /var/log/chrony
driftfile /var/lib/chrony/drift
keyfile /etc/chrony.keys
dumpdir /var/lib/chrony
dumponexit
combinelimit 8


From: Patrick Nowak <patrick.no...@nordsys.de>
Sent: Tuesday, July 28, 2020 4:11 AM
To: linuxptp-users@lists.sourceforge.net
Subject: [Linuxptp-users] Problems with generated timemaster configurations for 
ntpd and ptp4l

Hi,

I'm trying to run timemaster to use PTP in  combination with on a Debian 
Buster. I am facing two problems when starting the timemaster manually via 
"sudo timemaster -f /etc/linuxptp/timemaster.conf":


  1.  The generated NTP configuration does not seem to be readable fort he 
ntpd: getconfig: Couldn't open </var/run/timemaster/ntp.conf>: Permission denied
  2.  The configuration for ptp4l always contains a "slaveOnly 1", even if I 
configure it in the [ptp4l.conf] section of my timemaster.conf to be "slaveOnly 
0"

Versions:


  *   Ptp4l: 1.92
  *   Phc2sys: 1.92
  *   Timemaster: 1.92
  *   Ntpd: 4.2.8p14

I've included my current timemaster.conf. Does anybode have any ideas as to 
what I'm doing wrong here?

Best regards,
Patrick
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to