Moxa DA-681A-I-DPP-T-LX [3/79] Table of contents

Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Product Features ................................................................................................................................ 1-2
Software Specifications ....................................................................................................................... 1-3
2. Software Configuration ..................................................................................................................... 2-1
Starting from a VGA Console ................................................................................................................ 2-2
Connecting from an SSH Console .......................................................................................................... 2-2
Windows Users ........................................................................................................................... 2-2
Linux Users ................................................................................................................................ 2-3
Adjusting the System Time .................................................................................................................. 2-3
Setting the Time Manually ............................................................................................................ 2-3
NTP Client .................................................................................................................................. 2-4
Updating the Time Automatically ................................................................................................... 2-5
Enabling and Disabling Daemons .......................................................................................................... 2-5
CronDaemon for Executing Scheduled Commands ................................................................................ 2-6
Inserting a USB Storage Device into the Computer ................................................................................. 2-6
Checking the Linux Version .................................................................................................................. 2-8
APTInstalling and Removing Packages ................................................................................................ 2-8
3. Managing Communications ............................................................................................................... 3-1
Changing the Network Settings ............................................................................................................ 3-2
Changing the “interfaces” Configuration File ................................................................................... 3-2
Adjusting IP Addresses with “ifconfig” ............................................................................................ 3-3
DNS Client ......................................................................................................................................... 3-3
/etc/hostname ............................................................................................................................ 3-3
/etc/resolv.conf ........................................................................................................................... 3-3
/etc/nsswitch.conf ....................................................................................................................... 3-4
Apache Web Server ............................................................................................................................ 3-4
Default Homepage ....................................................................................................................... 3-4
IPTABLES .......................................................................................................................................... 3-5
IPTABLES Hierarchy ..................................................................................................................... 3-6
IPTABLES Modules ....................................................................................................................... 3-6
Observe and Erase Chain Rules ..................................................................................................... 3-7
Define Policy for Chain Rules ........................................................................................................ 3-8
Append or Delete Rules ................................................................................................................ 3-8
NAT (Network Address Translation) ....................................................................................................... 3-9
NAT Example .............................................................................................................................. 3-9
Enabling NAT at Bootup ............................................................................................................. 3-10
PPP (Point to Point Protocol) ............................................................................................................... 3-10
Connecting to a PPP Server over a Simple Dial-up Connection ......................................................... 3-11
Connecting to a PPP Server over a Hard-wired Link ....................................................................... 3-12
Checking the Connection ............................................................................................................ 3-12
Setting up a Machine for Incoming PPP Connections ...................................................................... 3-13
PPPoE.............................................................................................................................................. 3-14
NFS (Network File System) Client ....................................................................................................... 3-16
SNMP (Simple Network Management Protocol) ..................................................................................... 3-17
OpenVPN ......................................................................................................................................... 3-18
Ethernet Bridging for Private Networks on Different Subnets ........................................................... 3-18
Ethernet Bridging for Private Networks on the Same Subnet ........................................................... 3-21
Routed IP ................................................................................................................................. 3-22
4. Programmer’s Guide ......................................................................................................................... 4-1
Device API ......................................................................................................................................... 4-2
Getting the Product Serial Number ........................................................................................................ 4-2
RTC (Real Time Clock) ......................................................................................................................... 4-3
UART ................................................................................................................................................ 4-3
WDT (Watch Dog Timer) ...................................................................................................................... 4-3
Introduction ............................................................................................................................... 4-3
Watchdog Usage ......................................................................................................................... 4-3
How the WDT Works .................................................................................................................... 4-4
Watchdog Device IOCTL Commands .............................................................................................. 4-5
Examples ................................................................................................................................... 4-6
5. System Recovery ............................................................................................................................... 5-1
Recovery Environment ........................................................................................................................ 5-2
Recovery Procedure ............................................................................................................................ 5-2
Saving the System to the USB Drive ................................................................................................... 5-11
A. Software Components ....................................................................................................................... A-1

Содержание

Скачать