User`s manual
Table Of Contents
- 1. Introduction
- 2. Getting Started
- Powering on the W406-LX
- Connecting the W406-LX to a PC
- Configuring the Ethernet Interface
- USB Port for Expansion
- SD Socket for Storage Expansion
- Setting Up the Wireless Module
- Configuring the SIM Card
- Entering the PIN Code
- Verifying the SIM Card Status
- Enabling or Disabling the PIN Code Authentication
- Changing the PIN Code
- Unlocking the SIM Card
- Connecting to the Internet
- Reconnecting to the Internet
- Disconnecting from the Internet
- Detecting an Internet Connection Error
- Sending and Reading an SMS Message
- Deleting an SMS Message
- Test Program—Developing Hello.c
- 3. Managing Embedded Linux
- 4. Managing Communications
- 5. Development Tool Chains
- 6. Programmer’s Guide
- 7. Software Lock
- A. System Commands

W406-LX User’s Manual Getting Started
2-7
NOTE After changing the IP settings, use the networking restart command to activate the new IP
address.
Modifying Network Settings by Command
IP settings can be activated over the command, but the new settings will not be saved to the flash
ROM without modifying the file
/etc/network/interfaces
.
For example, type the command
#ifconfig eth0 192.168.1.1
to change the IP address of
LAN to 192.168.1.1.
USB Port for Expansion
The W406 has 1 USB 2.0 full speed host (OHCI) that uses a type A connector. The port supports
keyboard and mouse, and can also be used to connect a FlashDisk for storing large amounts of
data. The USB will be mounted at /mnt/sda1. However, it will be mounted at /mnt/sdb1 when the
SD card has been inserted before powering on.
SD Socket for Storage Expansion
The W406 provides a SD socket for storage expansion. Moxa provides a SD flash disk for
expansion that allows users to plug in a SD memory card of additional memory space. The SD
socket is located on the front panel of the W406. To install a SD card, you must first power off,
and then plug the SD card directly into the socket. When finished, power on the W406 computer.
The SD card will be mounted at /mnt/sda1.
Please note that the USB and SD card share the same USB hub device. When the system starts, it
will detect USB storage first, and then detect the SD card. When both a USB device and SD cared
are inserted into the W406, the USB storage device will occupy partition “/dev/sda1”, while the
SD card will use partition “/dev/sdb1”. However, when there is only one of them inserted into the
W406 before powering on, the first device will occupy partition “/dev/sda1”, and the second
device will use partition “/dev/sdb1”.
As the W406 does not automatically detect the SD insertion when the system is already on, you
need to manually mount the SD card.
When the USB device does not occupy /dev/sda1, use the following command:
#mkdir -p /mnt/sda
#mount /dev/sda1 /mnt/sda
If you want to remove the SD card, use the following command:
#umount /dev/sda1
When the USB device has occupied /dev/sda1, use the following command:
#/mkdir -p /mnt/sdb
#mount /dev/sdb1 /mnt/sdb
If you want to unmount the SD card, use the following command:
#umount /dev/sdb1