[ntp:questions] ntpdsim-4.2.6p1

WOLfgang Schricker news at wols.org
Sun Jun 20 15:26:30 UTC 2010


Hello,
I extend a Gentoo ebuild to use "simulator" based on
http://www.eecis.udel.edu/~mills/ntp/html/ntpdsim_new.html

It runs:

# ntpdsim --version
ntpd - NTP daemon program - Ver. 4.2.6p1

My config:

#-----8<-----8<-----
# /etc/ntpsim.conf

disable kernel
server pogo
driftfile /tmp/ntp.drift
statsdir /tmp/ntpstats/
filegen loopstats type day enable
filegen peerstats type day enable

simulate {
  simulation_duration = 86400
  beep_delay = 3600
  server = louie.udel.edu {
    server_offset = 0
    duration = 50000 {
      freq_offset = 400
      wander = 1.0
      jitter = 0.001
      prop_delay = 0.001
      proc_delay = 0.001
    }
    duration = 6400 {
      freq_offset = 200
      wander = 1.0
      jitter = 0.001
      prop_delay = 0.001
      proc_delay = 0.001
    }
  }
}
#-----8<-----8<-----

But together:

# ntpdsim -c /etc/ntpsim.conf
Configuring Simulator...
Some ntpd-specific commands in the configuration file will be ignored.
ERROR!! I couldn't find a "simulate" block for configuring the
simulator. Ceck your configuration file.

Any hints? Thanks!
-- 
Regards
*WOL*fgang *S*chricker




More information about the questions mailing list