User`s manual

Table Of Contents
Table of Contents
Chapter 1 Introduction ..................................................................................................1-1
Overview.................................................................................................................................. 1-2
Software Architecture .............................................................................................................. 1-2
Journaling Flash File System (JFFS2)........................................................................ 1-3
Software Package ....................................................................................................... 1-4
Chapter 2 Getting Started .............................................................................................2-1
Powering on the W406-LX...................................................................................................... 2-2
Connecting the W406-LX to a PC........................................................................................... 2-2
Serial Console Port..................................................................................................... 2-2
Acquiring the IP Address of the W406-LX................................................................ 2-3
Telnet Console............................................................................................................ 2-4
SSH Console .............................................................................................................. 2-5
Configuring the Ethernet Interface .......................................................................................... 2-6
Modifying Network Settings with the Serial Console Port ........................................ 2-6
Modifying Network Settings by Command................................................................ 2-7
USB Port for Expansion........................................................................................................... 2-7
SD Socket for Storage Expansion............................................................................................ 2-7
Setting Up the Wireless Module .............................................................................................. 2-8
Configuring the SIM Card ....................................................................................................... 2-8
Entering the PIN Code............................................................................................................. 2-8
Verifying the SIM Card Status................................................................................................. 2-9
Enabling or Disabling the PIN Code Authentication ............................................................... 2-9
Changing the PIN Code ..........................................................................................................2-11
Unlocking the SIM Card........................................................................................................ 2-12
Connecting to the Internet...................................................................................................... 2-13
Reconnecting to the Internet .................................................................................................. 2-14
Disconnecting from the Internet ............................................................................................ 2-14
Detecting an Internet Connection Error................................................................................. 2-15
Sending and Reading an SMS Message................................................................................. 2-16
Deleting an SMS Message..................................................................................................... 2-17
Test Program—Developing Hello.c....................................................................................... 2-17
Installing the Tool Chain (Linux)............................................................................. 2-18
Checking the Flash Memory Space.......................................................................... 2-18
Compiling Hello.c .................................................................................................... 2-19
Uploading and Running the “Hello” Program.......................................................... 2-19
Chapter 3 Managing Embedded Linux ........................................................................3-1
System Version Information..................................................................................................... 3-2
Upgrading the Firmware............................................................................................. 3-2
Loading Factory Defaults........................................................................................... 3-4
Enabling and Disabling Daemons............................................................................................ 3-4
Setting the Run-Level.............................................................................................................. 3-6
Adjusting the System Time...................................................................................................... 3-7
Setting the Time Manually......................................................................................... 3-7
NTP Client.................................................................................................................. 3-8
Updating the Time Automatically.............................................................................. 3-9
Cron—Daemon to Execute Scheduled Commands ................................................................. 3-9