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 Managing Communications
4-20
192.168.3.120 – Putty
Installing libmysqlclient5 (5.1.23) to root...
Stopping web server: apache.
ipkg: extract_archive: /CONTROL/: Read-only file system
ipkg: /CONTROL/postinst: No such file or directory
ipkg: /CONTROL/postrm: No such file or directory
ipkg: /CONTROL/prerm: No such file or directory
ipkg: /CONTROL/preinst: No such file or directory
ipkg: /CONTROL/control: No such file or directory
Configuring libmysqlclient5
Starting web server: apache.
Successfully terminated.
root@Moxa:/mnt/ramdisk#
Note if you would like to install php for Apache web server, you should install “mysqlclient”
in advance.
List the installed packages
192.168.3.120 – Putty
root@Moxa:/mnt/ramdisk# ipkg-cl list_installed
libmysqlclient5 - 5.1.23 -
libphp5 - 5.2.5.1 -
Successfully terminated.
root@Moxa:/mnt/ramdisk#
Remove a package
192.168.3.120 – Putty
Moxa:~# ipkg-cl remove libphp5
OpenVPN
OpenVPN provides two types of tunnels for users to implement VPNS: Routed IP Tunnels and
Bridged Ethernet Tunnels. To begin with, check to make sure that the system has a virtual
device /dev/net/tun. If not, issue the following command:
# mknod /dev/net/tun c 10 200
An Ethernet bridge is used to connect different Ethernet networks together. The Ethernets are
bundled into one bigger, “logical” Ethernet. Each Ethernet corresponds to one physical interface
(or port) that is connected to the bridge.
On each OpenVPN machine, you should generate a working directory, such as /etc/openvpn,
where script files and key files reside. Once established, all operations will be performed in that
directory.