Moxa V2616A-C5 [12/111] Linux users

Moxa V2616A-C7-T-LX [12/111] Linux users
V2616A Linux Software Configuration
2-5
Linux Users
From a Linux machine, use the ssh command to access the V2616A-LXs console utility via SSH.
root@Moxa:~# ssh 192.168.3.127
Select yes to open the connection.
root@Moxa:~# 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_
Adjusting the System Time
The V2616A-LX has two time settings. One is the system time, and the other is provided by an RTC (Real Time
Clock) built into the V2616A-LX’s hardware.
Setting the Time Manually
Use the date command to query the current system time or to set a new system time. Use hwclock to query
the current RTC time or to set a new RTC time.
Use the following command to set the system time.
root@Moxa:~# 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.
root@Moxa:~# 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:~#
NTP Client
The V2616A-LX 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.
root@Moxa:~#ntpdate time.stdtime.gov.tw
root@Moxa:~#hwclock –w

Содержание

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

Скачать