Moxa V2403-C7-W-T [3/90] Table of contents

Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Software Specifications........................................................................................................................ 1-2
Software Components ......................................................................................................................... 1-2
2. Software Configuration ..................................................................................................................... 2-1
Starting from an HDMI Console ............................................................................................................ 2-2
Connecting from an SSH Console .......................................................................................................... 2-3
Windows Users ........................................................................................................................... 2-3
Linux Users ................................................................................................................................ 2-3
Adjusting the System Time .................................................................................................................. 2-4
Setting the Time Manually ............................................................................................................ 2-4
NTP Client .................................................................................................................................. 2-4
Updating the Time Automatically ................................................................................................... 2-5
Enabling and Disabling Daemons .......................................................................................................... 2-6
CronDaemon for Executing Scheduled Commands ................................................................................ 2-6
Inserting a USB Storage Device into the Computer ................................................................................. 2-7
Checking the Linux Version .................................................................................................................. 2-8
APTInstalling and Removing Packages ................................................................................................ 2-8
3. Managing Communications ............................................................................................................... 3-1
Detecting Network Interfaces ............................................................................................................... 3-2
Changing the Network Settings ............................................................................................................ 3-2
Changing the “interfaces” Configuration File ................................................................................... 3-2
Adjusting IP Addresses with “ifconfig” ............................................................................................ 3-3
Serial Port Operation Mode .................................................................................................................. 3-4
DNS Client ......................................................................................................................................... 3-4
/etc/hostname ............................................................................................................................ 3-4
/etc/resolv.conf ........................................................................................................................... 3-4
/etc/nsswitch.conf ....................................................................................................................... 3-5
Configuring Ethernet Bonding ............................................................................................................... 3-5
Apache Web Server ............................................................................................................................. 3-7
Default Homepage ....................................................................................................................... 3-7
Disabling the CGI Function ........................................................................................................... 3-7
IPTABLES .......................................................................................................................................... 3-8
IPTABLES Hierarchy ..................................................................................................................... 3-9
IPTABLES Modules ....................................................................................................................... 3-9
Observe and Erase Chain Rules ................................................................................................... 3-10
Define Policy for Chain Rules ....................................................................................................... 3-11
Append or Delete Rules .............................................................................................................. 3-11
NAT (Network Address Translation) ..................................................................................................... 3-12
NAT Example ............................................................................................................................ 3-12
Enabling NAT at Bootup .............................................................................................................. 3-12
NFS (Network File System) Client ....................................................................................................... 3-13
SNMP .............................................................................................................................................. 3-14
OpenVPN ......................................................................................................................................... 3-15
Ethernet Bridging for Private Networks on Different Subnets ........................................................... 3-16
Ethernet Bridging for Private Networks on the Same Subnet ........................................................... 3-19
Routed IP ................................................................................................................................. 3-19
Cellular Module ......................................................................................................................... 3-21
Wi-Fi Module ............................................................................................................................. 3-26
4. Programmer’s Guide ......................................................................................................................... 4-1
Device API ......................................................................................................................................... 4-2
Getting the Product Serial Number ........................................................................................................ 4-2
RTC (Real Time Clock) ......................................................................................................................... 4-3
Digital I/O.......................................................................................................................................... 4-3
Special Note ............................................................................................................................... 4-5
Examples ................................................................................................................................... 4-5
WDT (Watch Dog Timer) ...................................................................................................................... 4-5
Introduction................................................................................................................................ 4-5
Watchdog Usage ......................................................................................................................... 4-5
How the WDT Works .................................................................................................................... 4-6
Watchdog Device IOCTL Commands............................................................................................... 4-7
Examples ................................................................................................................................... 4-8
5. System Recovery ............................................................................................................................... 5-1
Recovery Environment ........................................................................................................................ 5-2
Recovery Procedure ............................................................................................................................ 5-2
Saving the System to the USB Drive ................................................................................................... 5-14

Содержание

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

Скачать