Changeset 10641 in hybrid


Ignore:
Timestamp:
May 1, 2012, 7:29:47 PM (13 years ago)
Author:
rick
Message:

Make the NTP setup more sound.

Related-To: nodefactory#139

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/files/etc/ntp.conf

    r10136 r10641  
    1 #XXX: Might need to be dynamic
     1# In case machine get hooked to internet.
     2server 0.nl.pool.ntp.org iburst maxpoll 9
     3server 1.nl.pool.ntp.org iburst maxpoll 9
     4server 2.nl.pool.ntp.org iburst maxpoll 9
     5server 3.nl.pool.ntp.org iburst maxpoll 9
    26
    3 # server 172.17.8.68    # proxy1
    4 # server 172.17.143.4   # proxy2
    5 # server 172.20.128.98  # proxy3
    6 # server 172.19.137.67  # proxy4
    7 # server 172.19.168.66  # proxy5
     7# Local Wireless Leiden NTP Servers.
     8server 0.pool.ntp.wleiden.net iburst maxpoll 9
     9server 1.pool.ntp.wleiden.net iburst maxpoll 9
     10server 2.pool.ntp.wleiden.net iburst maxpoll 9
     11server 3.pool.ntp.wleiden.net iburst maxpoll 9
    812
    9 #XXX: All it's local nighboor addresses
    10 
    11 # server proxy1.wleiden.net #   autokey
    12 # server proxy2.wleiden.net #   autokey
    13 # server proxy3.wleiden.net #   autokey
    14 server 0.nl.pool.ntp.org
    15 server 1.nl.pool.ntp.org
    16 server 2.nl.pool.ntp.org
    17 server 3.nl.pool.ntp.org
    18   #     In case machine get hooked to internet (and got working dns)
    19 
    20 
    21 
    22 # and if all failes - use our local crummy clock
    23 server 127.127.1.0              #stratum 10
    24 # Optional - to provide the surroundings
    25 # with a accurate time - unsollicted.
     13# If a server loses sync with all upstream servers, NTP clients
     14# no longer follow that server. The local clock can be configured
     15# to provide a time source when this happens, but it should usually
     16# be configured on just one server on a network. For more details see
     17# http://support.ntp.org/bin/view/Support/UndisciplinedLocalClock
     18# The use of Orphan Mode may be preferable.
    2619#
    27 # broadcast <omni IP address>
    28 
    29 # This file is generated by 'ntp-genkey -d r'
    30 # on any of the 3 time lords; and pulled
    31 # from Genesis.
    32 #
    33 # keys /etc/ntp.keys
    34 
    35 # Limit the number of clients concurrent
    36 # RQs' to the levels a simple not can
    37 # sustain.  Asumming 5Mbit this translates
    38 # to some 5000 machines.
    39 
    40 # Ensure that our stats and drift files
    41 # go to writable disk (/etc mounted RO
    42 # on the flash-rom machines).
    43 #
    44 driftfile /var/db/ntp.drift
    45 
    46 
     20server 127.127.1.0
     21fudge 127.127.1.0 stratum 10
Note: See TracChangeset for help on using the changeset viewer.