Moxa V2401-CE [16/108] Linux users

Moxa V2402-CE [16/108] Linux users
V2401/2402 Series Linux User’s Manual Software Configuration
2-9
Linux Users
From a Linux machine, use the ssh command to access the V2401/2402-LX’s console utility via
SSH.
#ssh 192.168.3.127
Select yes to open the connection.
Adjusting the System Time
The V2401/2402-LX has two time settings. One is the system time, and the other is provided by an
RTC (Real Time Clock) built into the V2401/2402- LX’s hardware.
Setting the Time Manually
Use the date command to query the current system time or set a new system time. Use hwclock to
query the current RTC time or set a new RTC time.
Use the following command to set the system time.
# date MMDDhhmmYYYY
MM: Month
DD: Date
hhmm: Hour and Minute
YYYY: Year
Use the following command to write the current system time to the RTC.
# hwclock –w
MOXA:~# date
Wed Dec 16 03:34:46 CST 2009
MOXA:~# hwclock
Wed 16 Dec 2009 03:35:16 AM CST -0.017600 seconds
MOXA:~# date 121616352009
Wed Dec 16 16:35:00 CST 2009
MOXA:~# hwclock –w
MOXA:~# date ; hwclock
Wed Dec 16 16:36:12 CST 2009
Wed 16 Dec 2009 03:38:13 AM CST -0.016751 seconds
MOXA:~#
[root@ root]# ssh 192.168.3.127
The authenticity of host ‘192.168.3.127 (192.168.3.127)’
can’t be established.
RSA key fingerprint is
8b:ee:ff:84:41:25:fc:cd:2a:f2:92:8f:cb:1f:6b:2f.
Are you sure you want to continue connection (yes/no)? yes_

Содержание

Похожие устройства

Скачать