20
System Feature | Korenix
Setting the Time Manually
3-5
Adjust System Time
If you only wish to synchronize your clock when the device boots up, you can use
ntpdate
. This
may be appropriate for some devices which are frequently rebooted and only require
infrequent synchronization.
Using ntpdate at boot time is also a good idea for devices that run ntpd. The ntpd program
changes the clock gradually, whereas ntpdate sets the clock, no matter how great the
difference between a device's current clock setting and the correct time.
3-5-1
NTP Client
The JetBox has a built-in NTP (Network Time Protocol) client that is used to initialize a time
request to a remote NTP server.
Use #
ntpdate
to update the system time.
#ntpdate time.stdtime.gov.tw
#hwclock –w
NTP client request
Visit
http://www.ntp.org
for more information about NTP and NTP server addresses.