User's Manual Part 2
17JadeOSUserManual
isusedasthestandardforsettingthetimezone.
¾ SettingtheSystemClockManually
Tosetthedateandtime,enterthefollowing commandinprivilegedmode:
clock set <year><month><date><hour><minutes><seconds>
Tosetthetimezoneanddaylightsavingstimeadjustment,enterthefollowingcom‐
mandsinconfiguremode:
clock timezone<WORD><-23 - 23>
clock summer-time <zone> [recurring]
<1-4><start day><start month><hh:mm>
first<start day><start month><hh:mm>
last<start day><start month><hh:mm>
<1-4><end day><end month><hh:mm>
first<end day><end month><hh:mm>
last<end day><end month><hh:mm>
[<-23 - 23>]
¾ SettingtheSystemClockwithNTP
YoucanuseNTP(NetworkTimeProtocol)tosynchronizeJadeOStoacentraltime
source.
3.8.5ClockSynchronization
ForeachNTPserver,youcanoptionallyspecifytheNTPiburstmodeforfasterclock
synchronization.Theiburstmodesendsuptenquerieswithinthefirstminutetothe
NTPserver.(Wheniburstmodeisnotenabled,onlyonequeryissentwithinthefirst
minutetotheNTPserver.)Afterthefirstminute,theiburstmodetypicallysynchro‐
nizestheclocksothatqueriesneedtobesentatintervalsof64secondsormore.
YoucanaddaNTPserverusingthefollowingcommand:
ntp server <ipaddr> [iburst]
3.8.6ConfiguringNTPAuthentication
TheNTPaddssecuritytoanNTPclientbyauthenticatingtheserverbeforesynchro‐
nizingthelocalclock.NTPauthenticationworksbyusingasymmetrickeywhichis
configuredbytheuser.ThesecretkeyissharedbybothJadeOSandanexternalNTP
server.Thishelpsidentifysecureserversfromfraudulentservers.
ThisexampleenablesNTPauthentication,addauthenticationsecretkeysintothe
database,andspecifiesasubsetofkeyswhicharetrusted.Italsoenablestheiburst
option.