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