User`s manual

Table of Contents
Chapter 1 Introduction ..................................................................................................1-1
Overview.................................................................................................................................. 1-2
Software Architecture .............................................................................................................. 1-2
Journaling Flash File System (JFFS2).......................................................................... 1-3
Software Features ......................................................................................................... 1-4
Chapter 2 Getting Started .............................................................................................2-1
Powering on the UC-8410/8416/8418 ..................................................................................... 2-2
Connecting the UC-8410/8416/8418 to a PC........................................................................... 2-2
Serial Console............................................................................................................... 2-2
Telnet Console.............................................................................................................. 2-3
SSH Console................................................................................................................. 2-5
Configuring the Ethernet Interface .......................................................................................... 2-6
Modifying Network Settings with the Serial Console .................................................. 2-6
Modifying Network Settings over the Network............................................................ 2-7
Test ProgramDeveloping Hello.c......................................................................................... 2-8
Installing the Tool Chain (Linux)................................................................................. 2-8
Checking the Flash Memory Space .............................................................................. 2-9
Compiling Hello.c ........................................................................................................ 2-9
Uploading and Running the “Hello” Program............................................................ 2-10
Chapter 3 Managing Embedded Linux ........................................................................3-1
System Version Information..................................................................................................... 3-2
Firmware Upgrade................................................................................................................... 3-2
Upgrading the Firmware............................................................................................... 3-2
Loading Factory Defaults ............................................................................................. 3-5
Enabling and Disabling Daemons............................................................................................ 3-5
Setting the Run-Level.............................................................................................................. 3-8
Setting the System Time .......................................................................................................... 3-9
TZ variable ................................................................................................................... 3-9
/etc/timezone................................................................................................................. 3-9
Adjusting the System Time...................................................................................................... 3-9
Setting the Time Manually ........................................................................................... 3-9
NTP Client.................................................................................................................. 3-10
Updating the Time Automatically .............................................................................. 3-11
Cron—Daemon to Execute Scheduled Commands ................................................................3-11
Connecting Peripherals.......................................................................................................... 3-12
USB Mass Storage...................................................................................................... 3-12
CF Mass Storage......................................................................................................... 3-12
Chapter 4 Managing Communication ..........................................................................4-1
Telnet/FTP ............................................................................................................................... 4-2
DNS ......................................................................................................................................... 4-2
Web Service—Apache............................................................................................................. 4-3
IPTABLES............................................................................................................................... 4-5
NAT........................................................................................................................................ 4-10
NAT Example............................................................................................................. 4-10
Enabling NAT at Bootup............................................................................................ 4-11
Dial-up Service—PPP.............................................................................................................4-11