DA-660-8/16-CE User’s Manual
Getting Started
Adjusting System Time and RTC Time
The DA-660 computer has two time settings, the system time (or CPU clock) and the RTC (Real
Time Clock) time. The system time regulates the execution of instructions and the RTC keeps
track of the time even when the computer is turned off. RTC time runs on a special battery that is
not connected to the normal power supply. Do not confuse a computer's real-time clock with its
CPU clock.
Setting the System Time Manually:
Use the
date
, and
time
commands to query the current
system date/time or to set a new system date/time.
\> date
The current date is: Tuesday, November 22, 2005
Enter the new date (mm-dd-[yy]yy): 12-23-05
\> date /T
Wednesday, November 23, 2005
\> time
The current time is: 5:27:17 PM
Enter the new time (hh:mm:ss): 16:02:00
\> time /T
4:02:04 PM
Adjusting RTC Time:
Use the command
hwclock -w
to convert the system time to the RTC time.
\> hwclock -w
Use the command
hwclock –w YYYY-MM-DD hh:mm:ss
to manually update the RTC time.
\> hwclock –w 2005-12-23 15:00:00
Use the command
hwclock
to query the updated RTC time.
\> hwclock
2005-12-23 15:00:00
Starting and Stopping Services
After booting up, the DA-660 computer runs several services continuously to serve requests from
users or other programs. Notable services include telnet (“TEL0:”), console (“CON0:”), world
wide web HTTP (“HTP0:”), and file transfer FTP (“FTP0:”) etc. You seldom need to care about
these services. However, you still can start up or stop a service with its associated name by using
the command “services”. For example,
Start the FTP service by
\> services start FTP0:
Stop the FTP service by
\> services stop FTP0:
2-5