Moxa TC-6110-CT-W7E [3/117] Table of contents

Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Software Specifications........................................................................................................................ 1-2
Software Components ......................................................................................................................... 1-2
2. Basic Platform Configuration ............................................................................................................. 2-1
Default User Account and Password ...................................................................................................... 2-2
Logging in to the Linux Console ............................................................................................................ 2-3
Connecting from an SSH Console .......................................................................................................... 2-4
Windows Users ........................................................................................................................... 2-4
Linux Users ................................................................................................................................ 2-4
Setting the System Clock and the RTC .................................................................................................. 2-5
NTP Client .................................................................................................................................. 2-5
Using a Shell Script for Automatic Updates ..................................................................................... 2-5
Setting a Time Manually ............................................................................................................... 2-6
Enabling and Disabling Daemons .......................................................................................................... 2-7
Managing Services with insserv ............................................................................................................ 2-8
Cron for Executing Scheduled Commands .............................................................................................. 2-9
Mounting a USB Storage Device............................................................................................................ 2-9
Disconnecting a USB Storage Device ................................................................................................... 2-10
Checking Versions for your Kernel and OS ........................................................................................... 2-10
Using APT to Install and Remove Software ........................................................................................... 2-10
Cleaning Out the Package Cache ................................................................................................. 2-11
Determining Available Drive Space ...................................................................................................... 2-11
3. Managing Communications ............................................................................................................... 3-1
Configuring Network Interfaces ............................................................................................................ 3-2
Configuring a Persistent Network Interface Naming Order ................................................................ 3-2
Ethernet Interface Configuration ................................................................................................... 3-3
Adjusting IP Addresses with ifconfig ............................................................................................... 3-4
Point-to-Point Over Ethernet (PPPoE) Configuration ................................................................................ 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
Telnet/FTP/TFTP Server ..................................................................................................................... 3-11
Enabling a Telnet, FTP, or TFTP Server ......................................................................................... 3-11
Disabling a Telnet/FTP/TFTP Server ............................................................................................. 3-11
DNS Utilities ..................................................................................................................................... 3-11
Configuring the OS Hostname ..................................................................................................... 3-11
Configuring the DNS Resolver ..................................................................................................... 3-12
Configuring the Name Service Switcher ........................................................................................ 3-12
Apache Web Server ........................................................................................................................... 3-13
Default Homepage ..................................................................................................................... 3-13
Configuring the Common Gateway Interface (CGI) ........................................................................ 3-13
Saving Web Pages to a USB Storage Device .................................................................................. 3-14
Netfilter/iptables ............................................................................................................................... 3-15
IP Tables and IP Chains .............................................................................................................. 3-16
Understanding Basic Traffic Flows ................................................................................................ 3-18
Connection Tracking................................................................................................................... 3-20
Policies: Setting Default Firewall Behavior .................................................................................... 3-20
Viewing and Manipulating Rulesets .............................................................................................. 3-21
Writing Rulechains ..................................................................................................................... 3-23
Saving the Firewall .................................................................................................................... 3-25
NAT (Network Address Translation) .............................................................................................. 3-25
Setting up a Networked File System: NFS ............................................................................................ 3-26
Setting Up a VPN .............................................................................................................................. 3-26
Setting Up Hot Swap for Block Storage ................................................................................................ 3-32
File Overview ............................................................................................................................ 3-32
Hot Swap Daemon Customization ................................................................................................ 3-32
Handling an Event with mxhtspd: Moxa Hot-Swap Daemon............................................................. 3-33
Setting Up Hot Swap Daemon Logging ......................................................................................... 3-34
A Sample mxhtspd Setup ........................................................................................................... 3-35
Setting Up GPS ................................................................................................................................. 3-36
Retrieving GPS Data .................................................................................................................. 3-36
4. Moxa’s Rcore Software Packages ...................................................................................................... 4-1
Moxa Predictive Maintenance Diagnostic Tool ......................................................................................... 4-2

Содержание

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

Скачать