Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. ###############
  2. # /etc/ntp.conf file
  3. #
  4. # Sample NTP configuration file.
  5. # See package ntp-doc for documentation, Mini-HOWTO and FAQ.
  6. # Copyright 1998 S.u.S.E. GmbH Fuerth, Germany.
  7. #
  8. # Author: Michael Andres,
  9. #
  10. ###############
  11. #
  12. # Radio and modem clocks by convention have addresses in the
  13. # form 127.127.t.u, where t is the clock type and u is a unit
  14. # number in the range 0-3.
  15. #
  16. # Most of these clocks require support in the form of a
  17. # serial port or special bus peripheral. The particular
  18. # device is normally specified by adding a soft link
  19. # /dev/device-u to the particular hardware device involved,
  20. # where u correspond to the unit number above.
  21. #
  22. # Generic DCF77 clock on serial port (Conrad DCF77)
  23. # Address: 127.127.8.u
  24. # Serial Port: /dev/refclock-u
  25. #
  26. # (create soft link /dev/refclock-0 to the particular ttyS?)
  27. #
  28. # server 127.127.8.0 mode 5 prefer
  29. #
  30. # Undisciplined Local Clock. This is a fake driver intended
  31. # for backup and when no outside source of synchronized time
  32. # is available.
  33. #
  34. server 127.127.1.0 # local clock (LCL)
  35. fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
  36.  
  37. #
  38. # Outside source of synchronized time
  39. #
  40. # server xx.xx.xx.xx # IP address of server
  41. server 10.10.10.1
  42.  
  43. #
  44. # Miscellaneous stuff
  45. #
  46. driftfile /var/lib/ntp/drift/ntp.drift # path for drift file
  47.  
  48. logfile /var/log/ntp # alternate log file
  49. # logconfig =syncstatus + sysevents
  50. # logconfig =all
  51.  
  52. # statsdir /tmp/ # directory for statistics files
  53. # filegen peerstats file peerstats type day enable
  54. # filegen loopstats file loopstats type day enable
  55. # filegen clockstats file clockstats type day enable
  56.  
  57. #
  58. # Authentication stuff
  59. #
  60. # keys /etc/ntp.keys # path for keys file
  61. # trustedkey 1 2 3 4 5 6 14 15 # define trusted keys
  62. # requestkey 15 # key (7) for accessing server variables
  63. # controlkey 15 # key (6) for accessing server variables
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement