User`s manual

UC-7400-CE User’s Manual Getting Started
Adjusting the System Time and RTC Time
The UC-7400-CE 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 update the RTC time manually.
\> 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 UC-7400-CE 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:”). You seldom need to deal with
these services. However, you can start or stop a service with its associated name by using the
command “services”. For example,
Start the FTP service by typing:
\> services start FTP0:
Stop the FTP service by typing:
\> services stop FTP0:
The default services in the UC-7400-CE are:
TEL0: Telnet Service
FTP0: FTP Service
CON0: Console Service
2-5