Moxa Technologies ioThinx 4530, ioThinx 4533-LX User Manual

ioThinx 4530 Series Linux User’s Manual
Version 1.0, January 2019
www.moxa.com/product
© 2019 Moxa Inc. All rights reserved.
ioThinx 4530 Series Linux User’s Manual
Moxa Americas
Toll
Tel:
F
Moxa China (Shanghai office)
Toll
Tel:
Fax:
Moxa Europe
Tel:
Fax: +49-89-3 70 03 99-99
Moxa Asia
Tel:
Fax: +886-2-8919-1231
Moxa India
Tel:
Fax:
The software described in this manual is furnished under a license agreement and may be used only in accordance
with the terms of that agreement.
© 2019 Moxa Inc. All rights reserved.
Trademarks
The MOXA logo is a registered trademark of Moxa Inc.
All other trademarks or registered marks in this manual belong to their respective manufacturers.
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on the part of
Moxa.
Moxa provides this document as is, without warranty of any kind, either expressed or implied, including, but not
limited to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to
the products and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility
for its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the
information herein to correct such errors, and these changes are incorporated into new editions of the publication.
Technical Support Contact Information
www.moxa.com/support
-free: 1-888-669-2872
+1-714-528-6777
ax: +1-714-528-6778
+49-89-3 70 03 99-0
-free: 800-820-5036
+86-21-5258-9955
+86-21-5258-5505
+886-2-8919-1230
-Pacific
+91-80-4172-9088
+91-80-4132-1045
Table of Contents
1. Introduction ...................................................................................................................................... 1-1
2. Getting Started.................................................................................................................................. 2-1
Connecting to the ioThinx 4530 Controller ............................................................................................. 2-2
Connecting Through the Serial Console .......................................................................................... 2-2
Connecting Through the SSH Console ............................................................................................ 2-4
User Account Management ................................................................................................................... 2-6
Switching to the Root Account ...................................................................................................... 2-6
Creating and Deleting User Accounts ............................................................................................. 2-6
Disabling the Default User Account ................................................................................................ 2-6
Network Settings ................................................................................................................................ 2-7
Configuring Ethernet Interfaces ..................................................................................................... 2-7
System Administration ........................................................................................................................ 2-8
Querying the Firmware Version ..................................................................................................... 2-8
Adjusting the Time ...................................................................................................................... 2-8
Setting the Time Zone ................................................................................................................. 2-9
Determining Available Drive Space ...................................................................................................... 2-10
Shutting Down the Device .................................................................................................................. 2-11
3. Firmware Update and System Recovery ............................................................................................ 3-1
Firmware Update and Set-to-Default Functions ....................................................................................... 3-2
Set-to-Default ............................................................................................................................. 3-2
Firmware Update Using an SFTP Server or microSD Card ................................................................. 3-2
4. Programming Guide .......................................................................................................................... 4-1
A. Cycle Time Calculation ...................................................................................................................... A-1
1

1. Introduction

This user’s manual applies to the ioThinx 4530 Series models listed below:
ioThinx 4530 Series
• ioThinx 4533-LX Series
Detailed instructions on configuring advanced settings are covered in Chapters 3 and 4.
2

2. Getting Started

In this chapter, we describe how to configure basic settings for the ioThinx 4530 controller.
The following topics are covered in this chapter:
Connecting to the ioThinx 4530 Controller
Connecting Through the Serial Console
Connecting Through the SSH Console
User Account Management
Switching to the Root Account
Creating and Deleting User Accounts
Disabling the Default User Account
Network Settings
Configuring Ethernet Interfaces
System Administration
Querying the Firmware Version
Adjusting the Time
Setting the Time Zone
Determining Available Drive Space
Shutting Down the Device
ioThinx 4530 Linux Manual Getting Started
2-2
ATTENTION
For security reasons, we recommend that you disable the default user account and create your own user
accounts.
NOTE
These steps apply to the Linux PC you are using to connect to the
these steps to the
user@PC1:~# yum -y install minicom
user@PC2:~# apt-get install minicom
user@PC1:~# minicom –s

Connecting to the ioThinx 4530 Controller

You will need to use a computer to connect to the ioThinx 4530 controller and to log in through the
command line interface. There are two ways to connect: through the serial console port or through the
Ethernet port. Refer to the ioThinx 4530 Series Hardware Manual to see how to set up the physical
connections.
The default login username and password are:
Username: moxa
Password: moxa
The username and password are the same for all serial console and SSH remote log in actions. Root account
login is disabled until you manually create a password for the account. The user moxa is in the sudo group
so that you can operate system level commands with this user using the
details, see the Sudo Mechanism section in chapter 5.
sudo command. For additional
Connecting Through the Serial Console
This method is particularly useful when using the computer for the first time. The signal is transmitted over
a direct serial connection so you do not need to know either of its two IP addresses in order to connect to
the ioThinx 4530 controller. To connect through the serial console, configure your PC’s terminal software
using the following settings.
Serial Console Port Settings
Baudrate 115200 bps
Parity None
Data bits 8
Stop bits 1
Flow control None
Terminal VT100
Below we show how to use the terminal software to connect to the ioThinx 4530 controller in a Linux
environment and in a Windows environment.
Linux Users
ioThinx 4530 controller itself.
Take the following steps to connect to the ioThinx 4530 controller from your Linux PC.
1. Install minicom from the package repository of your operating system.
For Centos and Fedora:
For Ubuntu and Debian:
2. Use the minicom –s command to enter the configuration menu and set up the serial port settings.
ioThinx 4530 controller. Do NOT apply
Loading...
+ 14 hidden pages