Moxa IA3341-LX [3/72] Table of contents

Table of Contents
Chapter 1 Introduction ..................................................................................................1-1
Overview.................................................................................................................................. 1-2
Software Architecture .............................................................................................................. 1-2
Journaling Flash File System (JFFS2)........................................................................ 1-3
Software Specifications.............................................................................................. 1-4
Chapter 2 Getting Started .............................................................................................2-1
Powering on the IA3341 .......................................................................................................... 2-2
Connecting the IA3341 to a PC ............................................................................................... 2-2
Serial Console ............................................................................................................ 2-2
SSH Console .............................................................................................................. 2-3
Configuring the Ethernet Interface .......................................................................................... 2-4
Modifying Network Settings with the Serial Console................................................ 2-5
Modifying Network Settings over the Network ......................................................... 2-6
SD Socket and USB for Storage Expansion............................................................................. 2-6
Test Program—Developing Hello.c......................................................................................... 2-6
Installing the Tool Chain (Linux)............................................................................... 2-7
Checking the Flash Memory Space............................................................................ 2-7
Compiling Hello.c ...................................................................................................... 2-8
Uploading and Running the “Hello” Program............................................................ 2-8
Developing Your First Application .......................................................................................... 2-9
Testing Environment .................................................................................................. 2-9
Compiling tcps2.c....................................................................................................... 2-9
Uploading and Running the “tcps2-release” Program.............................................. 2-10
Summary of the Testing Procedure .......................................................................... 2-12
Chapter 3 Managing Embedded Linux ........................................................................3-1
System Version Information..................................................................................................... 3-2
System Image Backup.............................................................................................................. 3-2
Upgrading the Firmware............................................................................................. 3-2
Loading Factory Defaults........................................................................................... 3-4
Backing Up the User Directory .................................................................................. 3-5
Deploying the User Directory to Additional IA3341 Units........................................ 3-5
Enabling and Disabling Daemons............................................................................................ 3-6
Starting a Program Automatically at Run-Level...................................................................... 3-6
Setting the Run-Level .............................................................................................................. 3-7
Adjusting the System Time...................................................................................................... 3-8
Setting the Time Manually ......................................................................................... 3-8
NTP Client.................................................................................................................. 3-8
Updating the Time Automatically .............................................................................. 3-9
Cron—Daemon to Execute Scheduled Commands ................................................................. 3-9
Chapter 4 Managing Communications ........................................................................4-1
FTP .......................................................................................................................................... 4-2
DNS ......................................................................................................................................... 4-2
Web Service—Apache ............................................................................................................. 4-2
Install PHP for Apache Web Server ......................................................................................... 4-4
IPTABLES ............................................................................................................................... 4-6
Observe and erase chain rules .................................................................................... 4-9

Содержание

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

Скачать