Moxa DA-682A-C7-W7E [3/112] Table of contents

Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Software Specifications........................................................................................................................ 1-2
2. Software Configuration ..................................................................................................................... 2-1
Account Management .......................................................................................................................... 2-2
Starting from a VGA Console ................................................................................................................ 2-3
Connecting from an SSH Console .......................................................................................................... 2-3
Windows Users ........................................................................................................................... 2-3
Linux Users ................................................................................................................................ 2-4
Setting the System Clock and the RTC .................................................................................................. 2-4
NTP Client .................................................................................................................................. 2-4
Using a Shell Script for Automatic Updates ..................................................................................... 2-5
Setting a Time Manually ............................................................................................................... 2-6
Enabling and Disabling Daemons .......................................................................................................... 2-6
Managing Services with insserv ............................................................................................................ 2-7
Cron for Executing Scheduled Commands .............................................................................................. 2-8
Mounting a USB Storage Device............................................................................................................ 2-9
Disconnecting a USB Storage Device ..................................................................................................... 2-9
Mounting a CF Card ............................................................................................................................ 2-9
Checking Versions for your Kernel and OS ........................................................................................... 2-10
Using APT to Install and Remove Software ........................................................................................... 2-10
Cleaning Out the Package Cache ................................................................................................. 2-10
Determining Available Drive Space ...................................................................................................... 2-11
3. Managing Communications ............................................................................................................... 3-1
Configuring Network Interfaces ............................................................................................................ 3-3
Configuring a Persistent Network Interface Naming Order ................................................................ 3-3
Ethernet Interface Configuration ................................................................................................... 3-4
Adjusting IP Addresses with ifconfig ............................................................................................... 3-5
Point-to-Point Over Ethernet (PPPoE) Configuration ................................................................................ 3-5
The Easy Way: pppoeconf............................................................................................................. 3-5
The Difficult Way (Manually) ......................................................................................................... 3-7
Configuring a Point-to-Point Connection ................................................................................................. 3-8
Connecting to a PPP Server over a Hardwired Link ........................................................................... 3-9
Checking the Connection ............................................................................................................ 3-10
Setting up a Machine for Incoming PPP Connections ...................................................................... 3-11
Telnet/FTP/TFTP Server ..................................................................................................................... 3-12
Enabling a Telnet, FTP, or TFTP Server ......................................................................................... 3-12
Disabling a Telnet/FTP/TFTP Server ............................................................................................. 3-12
DNS Utilities ..................................................................................................................................... 3-12
Configuring the OS Hostname ..................................................................................................... 3-12
Configuring the DNS Resolver ..................................................................................................... 3-13
Configuring the Name Service Switcher ........................................................................................ 3-13
Apache Web Server ........................................................................................................................... 3-14
Default Homepage ..................................................................................................................... 3-14
Configuring the Common Gateway Interface (CGI) ........................................................................ 3-14
Saving Web Pages to a USB Storage Device .................................................................................. 3-15
Netfilter/iptables ............................................................................................................................... 3-16
IP Tables and IP Chains .............................................................................................................. 3-17
Understanding Basic Traffic Flows ................................................................................................ 3-19
Connection Tracking................................................................................................................... 3-21
Policies: Setting Default Firewall Behavior .................................................................................... 3-21
Viewing and Manipulating Rulesets .............................................................................................. 3-22
Writing Rulechains ..................................................................................................................... 3-24
Saving the Firewall .................................................................................................................... 3-26
NAT (Network Address Translation) .............................................................................................. 3-26
Setting up a Networked File System: NFS ............................................................................................ 3-27
Setting Up a VPN .............................................................................................................................. 3-27
Setting Up Hot Swap for Block Storage ................................................................................................ 3-33
File Overview ............................................................................................................................ 3-33
Hot Swap Daemon Customization ................................................................................................ 3-33
Handling an Event with mxhtspd: Moxa Hot-Swap Daemon............................................................. 3-34
Setting Up Hot Swap Daemon Logging ......................................................................................... 3-35
A Sample mxhtspd Setup ........................................................................................................... 3-36
Setting Up GPS ................................................................................................................................. 3-37
Retrieving GPS Data .................................................................................................................. 3-37
4. Programming Guide .......................................................................................................................... 4-1
Desktop Management Interface (DMI) ................................................................................................... 4-2

Содержание

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