Moxa V2101-T-LX [3/94] Table of contents

Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Software Specifications........................................................................................................................ 1-2
Software Components ......................................................................................................................... 1-3
2. Software Configuration ..................................................................................................................... 2-1
Starting from a VGA Console ................................................................................................................ 2-2
Connecting from a Telnet Console ......................................................................................................... 2-2
Connecting from an SSH Console .......................................................................................................... 2-3
Windows Users ........................................................................................................................... 2-3
Linux Users ................................................................................................................................ 2-4
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
Setting the Run-Level .......................................................................................................................... 2-8
CronDaemon for Executing Scheduled Commands ................................................................................ 2-9
Inserting a USB Storage Device into the Computer ............................................................................... 2-10
VGA & LVDS Configuration ................................................................................................................. 2-10
Checking the Linux Version ................................................................................................................ 2-14
APTInstalling and Removing Packages .............................................................................................. 2-14
3. Managing Communications ............................................................................................................... 3-1
Configuring Network Interfaces ............................................................................................................ 3-2
Configuring a Persistent Network Interface Naming Order ................................................................ 3-2
Ethernet Interface Configuration ................................................................................................... 3-3
Static IP Address ......................................................................................................................... 3-3
Dynamic IP Address using DHCP ................................................................................................... 3-3
Adjusting IP Addresses with ifconfig ............................................................................................... 3-4
Point-to-Point Over Ethernet (PPPoE) Config .......................................................................................... 3-4
The Easy Way: pppoeconf............................................................................................................. 3-4
The Difficult Way (Manually) ......................................................................................................... 3-6
Configuring a Point-to-Point Connection ................................................................................................. 3-7
Connecting to a PPP Server over a Hardwired Link ........................................................................... 3-8
Checking the Connection .............................................................................................................. 3-9
Setting up a Machine for Incoming PPP Connections ...................................................................... 3-10
Serial Port Operation Mode ................................................................................................................ 3-11
Telnet/FTP/TFTP Server ..................................................................................................................... 3-11
Enabling a Telnet, FTP, or TFTP Server ......................................................................................... 3-11
Disabling a Telnet/FTP/TFTP Server ............................................................................................. 3-12
DNS Utilities ..................................................................................................................................... 3-12
Configuring the OS Hostname ..................................................................................................... 3-12
Configuring the DNS Resolver ..................................................................................................... 3-12
Configuring the Name Service Switcher ........................................................................................ 3-13
Apache Web Server ........................................................................................................................... 3-13
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-17
IP Tables and IP Chains .............................................................................................................. 3-17
Understanding Rule Chains ......................................................................................................... 3-18
Understanding Basic Traffic Flows ................................................................................................ 3-19
Connection Tracking................................................................................................................... 3-21
Building the Firewall .......................................................................................................................... 3-21
Policies: Setting Default Firewall Behavior .................................................................................... 3-21
Viewing and Manipulating Rulesets .............................................................................................. 3-23
Writing Rulechains ..................................................................................................................... 3-24
Setting Up NAT (Network Address Translation) .............................................................................. 3-26
Saving the Firewall .................................................................................................................... 3-27
Setting up a Networked File System: NFS ............................................................................................ 3-27
Setting Up a VPN .............................................................................................................................. 3-28
SNMP (Simple Network Management Protocol) ..................................................................................... 3-33
4. Programmer’s Guide ......................................................................................................................... 4-1
Device API ......................................................................................................................................... 4-2
RTC (Real Time Clock) ......................................................................................................................... 4-2
UART ................................................................................................................................................ 4-2
Digital I/O.......................................................................................................................................... 4-5
5. Built-In Linux OS Recovery ............................................................................................................... 5-1

Содержание

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

Скачать