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 Embedded Linux
3-5
Type the command “ps” to list all processes currently running.
192.168.3.127 – PuTTY
root@Moxa:~#
root@Moxa:
PID USER USZ STAT COMMAND
1 root 1316 S init [3]
2 root 0 SW< [kthreadd]
3 root 0 SW< [ksoftirqd/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
41 root 0 SW< [kblockd/0]
51 root 0 SW< [khubd]
54 root 0 SW< [kseriod]
72 root 0 SW [pdflush]
73 root 0 SW [pdflush]
74 root 0 SW< [kswapd0]
75 root 0 SW< [aio/0]
740 root 0 SW< [mtdblockd]
787 root 0 SW< [scsi_eh_1]
788 root 0 SW< [usb-storage]
799 root 0 SW< [rpciod/0]
813 root 0 SWN [jffs2_gcd_mtd3]
819 root 1392 S smsd
929 root 1360 S /bin/inetd
937 root 12580 S /usr/bin/httpd –k start –d /etc/apache
940 bin 1300 S /bin/portmap
943 root 2452 S /bin/sh --login
948 root 1360 S /bin/snmpd
954 root 1300 S /bin/egprsagent
955 root 1280 S /bin/reportip
958 root 1536 S /sbin/getty 115200 tty1
969 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
970 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
971 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
972 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
973 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
1501 root 2164 R ps
root@Moxa:/ect#
To run a private daemon, you can edit the file rc.local, as follows:
#cd /etc/rc.d
#vi rc.local
192.168.3.127 – PuTTY
root@Moxa:~# cd /etc/rc.d
root@Moxa:/etc/rc.d# vi rc.local
Next, use vi to open your application script. We use the example program tcps2-release, and put it
to run in the background.
192.168.3.127 – PuTTY
# !/bin/sh
# Add you want to run daemon
/home/tcpserver &