Home

Documentation

Project Support

Changes in Version 2 of GraspSwControllerCmdNtp

Author:
crae
Timestamp:
Tue Oct 9 14:01:37 2012

Legend:

Unmodified
Added
Removed
Modified
  • GraspSwControllerCmdNtp

    v1 v2
    1 1  '''[wiki:GraspSwControllerCmd ifconfig]''' 
    2 2  [[TracNav(GraspContents)]] 
    3 3  ||Command:||'''ntp'''|| 
    4 4  ||Contexts:||Network socket, serial console.|| 
    5 5  ||Function:||Displays or sets the STARGRASP controller's experimental NTP client.|| 
    6 6  ||Required Parameters:||none.|| 
    7 7  ||Optional Parameters:||'''serverip'''|| 
    8 8  === Usage === 
    9    '''Note: the NTP client is currently experimental. Its performance has been tested against various local NTP servers and should work reasonably well, but some of the NTP behaviour observed means that it may not react correctly in all situations and thus isn't guaranteed. See [wiki:GraspSwControllerNTPClient NTP client performance] for details. 
      9  '''Note: the NTP client is currently experimental. Its performance has been tested against various local NTP servers and should work reasonably well, but some of the NTP behaviour observed means that it may not react correctly in all situations and thus isn't guaranteed. See [wiki:GraspExtrasSoftwareControllerNTP NTP client performance] for details. 
    10 10  The STARGRASP controller includes an experimental NTP client that attempts to sync the controller to an NTP server to provide real-world times for various events.  The ''ntp'' command is used to either display the current NTP status or configure a new server. 
    11 11  When invoked with no options, the ''ntp'' command displays information about the current NTP configuration and status (if previously configured to use an NTP server). 
    12 12  When executed with a single IP address, the NTP client is reset and configured to use that IP address as the server it should synchronize itself to. Note that an IP address is required; the STARGRASP controller does not perform any name server lookups and will reject anything that isn't an IP address. 
    13 13  For example, to sync the controller to the public server 0.pool.ntp.org: 
    14 14  {{{ 
    15 15  ntp 66.79.167.34 
    16 16  }}} 
    17 17  Note that if NTP is used it is highly recommended that the controller should be synced to an NTP server on the local network rather than a server on the public internet.