User`s manual

3
3. Managing Communications
The TC-6110-LX ready-to-run embedded computer is a network-centric platform designed to serve as a
front-end for data acquisition and industrial control applications. This chapter describes how to configure the
various communication functions supported by the Linux operating system.
The following topics are covered in this chapter:
Configuring Network Interfaces
Configuring a Persistent Network Interface
Naming Order
Ethernet Interface Configuration
Adjusting IP Addresses with ifconfig
Point-to-Point Over Ethernet (PPPoE)
Configuration
The Easy Way: pppoeconf
The Difficult Way (Manually)
Configuring a Point-to-Point Connection
Connecting to a PPP Server over a Hardwired
Link
Checking the Connection
Setting up a Machine for Incoming PPP
Connections
Telnet/FTP/TFTP Server
Enabling a Telnet, FTP, or TFTP Server
Disabling a Telnet/FTP/TFTP Server
DNS Utilities
Configuring the OS Hostname
Configuring the DNS Resolver
Configuring the Name Service Switcher
Apache Web Server
Default Homepage
Configuring the Common Gateway Interface
(CGI)
Saving Web Pages to a USB Storage Device
Netfilter/iptables
IP Tables and IP Chains
Understanding Basic Traffic Flows
Connection Tracking
Policies: Setting Default Firewall Behavior
Viewing and Manipulating Rulesets
Writing Rulechains
Saving the Firewall
NAT (Network Address Translation)
Setting up a Networked File System: NFS
Setting Up a VPN
Setting Up Hot Swap for Block Storage
File Overview
Hot Swap Daemon Customization
Handling an Event with mxhtspd: Moxa
Hot-Swap Daemon
Setting Up Hot Swap Daemon Logging
A Sample mxhtspd Setup
Setting Up GPS
Retrieving GPS Data