Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Software Specifications........................................................................................................................ 1-2
Software Components ......................................................................................................................... 1-3
2. Software Configuration ..................................................................................................................... 2-1
Account Management .......................................................................................................................... 2-2
Starting from a VGA Console ................................................................................................................ 2-3
Connecting from a Telnet Console ......................................................................................................... 2-3
Connecting from an SSH Console .......................................................................................................... 2-4
Windows Users ........................................................................................................................... 2-4
Linux Users ................................................................................................................................ 2-5
Adjusting the System Time .................................................................................................................. 2-5
Setting the Time Manually ............................................................................................................ 2-5
NTP Client .................................................................................................................................. 2-5
Updating the Time Automatically ................................................................................................... 2-6
Enabling and Disabling Daemons .......................................................................................................... 2-7
Setting the Run-Level .......................................................................................................................... 2-9
Managing Service with insserv .............................................................................................................. 2-9
Cron—Daemon for Executing Scheduled Commands .............................................................................. 2-10
Inserting a USB Storage Device into the Computer ............................................................................... 2-11
Audio Playback and Record ................................................................................................................ 2-12
Checking the Linux Version ................................................................................................................ 2-13
APT—Installing and Removing Packages .............................................................................................. 2-14
Setting up Desktop Environment ........................................................................................................ 2-15
3. Managing Communications ............................................................................................................... 3-1
Detecting Network Interfaces ............................................................................................................... 3-2
Changing the Network Settings ............................................................................................................ 3-2
Changing the “interfaces” Configuration File ................................................................................... 3-2
Adjusting IP Addresses with “ifconfig” ............................................................................................ 3-3
Telnet/TFTP Server ............................................................................................................................. 3-3
Enabling the Telnet/TFTP Server .................................................................................................... 3-3
Disabling the Telnet/TFTP Server ................................................................................................... 3-4
DNS Client ......................................................................................................................................... 3-4
/etc/hostname ............................................................................................................................ 3-4
/etc/resolv.conf ........................................................................................................................... 3-4
/etc/nsswitch.conf ....................................................................................................................... 3-5
Configuring Ethernet Bonding ............................................................................................................... 3-5
Apache Web Server ............................................................................................................................. 3-6
Default Homepage ....................................................................................................................... 3-6
Disabling the CGI Function ........................................................................................................... 3-7
Saving Web Pages to a USB Storage Device .................................................................................... 3-7
IPTABLES .......................................................................................................................................... 3-9
IPTABLES Hierarchy ................................................................................................................... 3-10
IPTABLES Modules ..................................................................................................................... 3-10
Observe and Erase Chain Rules ................................................................................................... 3-11
Define Policy for Chain Rules ....................................................................................................... 3-11
Append or Delete Rules .............................................................................................................. 3-12
NAT (Network Address Translation) ..................................................................................................... 3-13
NAT Example ............................................................................................................................ 3-13
Enabling NAT at Bootup .............................................................................................................. 3-13
PPP (Point to Point Protocol) ............................................................................................................... 3-14
Connecting to a PPP Server over a Simple Dial-up Connection ......................................................... 3-14
Connecting to a PPP Server over a Hard-wired Link ........................................................................ 3-15
Checking the Connection ............................................................................................................ 3-15
Setting up a Machine for Incoming PPP Connections ...................................................................... 3-16
Routed IP the mini-PCIE module ......................................................................................................... 3-18
PPPoE .............................................................................................................................................. 3-18
NFS (Network File System) Client ....................................................................................................... 3-20
SNMP (Simple Network Management Protocol) ..................................................................................... 3-20
OpenVPN ......................................................................................................................................... 3-22
Ethernet Bridging for Private Networks on Different Subnets ........................................................... 3-22
Ethernet Bridging for Private Networks on the Same Subnet ........................................................... 3-25
Routed IP ................................................................................................................................. 3-26
4. Programming Guide .......................................................................................................................... 4-1
Getting Product Serial Number ............................................................................................................. 4-2
RTC (Real Time Clock) ......................................................................................................................... 4-2
UART ................................................................................................................................................ 4-2