Moxa W341 - Manual

Moxa W341

Moxa W341 – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
Page: / 104

Table of Contents:

  • Page 2 – accordance with the terms of that agreement.; Copyright Notice; Copyright; Trademarks; MOXA is a registered trademark of The Moxa Group.; Disclaimer
  • Page 3 – Table of Contents; Chapter 1
  • Page 6 – Introduction; The following topics are covered in this chapter:; Overview; Software Package
  • Page 7 – AP; Hardware; Boot Loader; for emergency use. This; Root File System
  • Page 8 – Factory Default Image; rc; Journaling; fsck; Additional information about JFFS2 is available at:
  • Page 10 – Getting Started
  • Page 11 – NOTE; Serial Console; Use the serial console port settings shown below.; Baudrate; Data bits; None; Terminal
  • Page 12 – root; Telnet Console; Default IP Address
  • Page 13 – ATTENTION; Serial Console Reminder; SSH Console; Windows Users; Click on the link
  • Page 14 – Linux Users; Select; yes; to complete the connection.; Configuring the Ethernet Interface; Modifying Network Settings with the Serial Console; to change directories.
  • Page 15 – Modifying Network Settings over the Network; Configuring the WLAN
  • Page 18 – Channel; Setting; Note: Infrastruct couldn’t set channel; Channel Freqence
  • Page 20 – Using WPA_SUPPLICANT to Support WPA and WPA2; SD Slot and USB for Storage Expansion
  • Page 21 – . Detailed installation instructions are shown below:
  • Page 22 – Test Program; Set the cross compiler and glibc environment variables.; Setting the path allows you to run the compiler from any directory.; Checking the Flash Memory Space
  • Page 23 – Hello
  • Page 24 – Makefile; Uploading and Running the “Hello” Program; Developing Your First Application
  • Page 25 – Testing Environment; Write data to PC1
  • Page 27 – Uploading and Running the “tcps2-release” Program; Use the following commands to upload; bin; command to set the transfer mode to; Binary; command to
  • Page 28 – The program should start running in the background. Use the; command for job number 1 to terminate this program:
  • Page 29 – Testing Procedure Summary; Enter; LAN
  • Page 30 – Managing Embedded Linux
  • Page 31 – System Version Information; System Image Backup; Upgrading the Firmware; Upgrading the firmware will erase all data on the Flash ROM; If you are using the; ramdisk; to store code for your applications, beware that updating the
  • Page 32 – available in each block.
  • Page 33 – upfirm; command to upgrade the kernel and root file system:
  • Page 34 – Loading Factory Defaults; Next, use the file system backup utility provided by Moxa:
  • Page 35 – Deploying the User Directory to Additional W311/321/341 Units; Backing Up the User File System; Enabling and Disabling Daemons
  • Page 36 – Type the command “ps –ef” to list all processes currently running.; put it to run in the background.
  • Page 37 – Setting the Run-Level
  • Page 38 – Adjusting the System Time; Setting the Time Manually
  • Page 39 – NTP Client; time request to a remote NTP server. Use; to update the system time.; Updating the Time Automatically; Example shell script to update the system time periodically
  • Page 40 – How to run the shell script automatically when the kernel boots up; Cron—Daemon to Execute Scheduled Commands; STEP5: Enable cron when the system boots up.
  • Page 41 – Managing Communications; NAT Example
  • Page 42 – Enabling the Telnet/ftp server; DNS; The Apache web server’s main configuration file is
  • Page 43 – in the address box.
  • Page 44 – Installing PHP for Apache Web Server
  • Page 46 – Step 5: Run ‘install.sh’ and select to install php
  • Page 47 – IPTABLES
  • Page 49 – to insert and enable the module.; Observe and; and; Append or delete rules; Observe and erase chain rules
  • Page 50 – Define policy for chain rules
  • Page 51 – NOTE: In Example 8, remember to issue the command; NAT; NAT Area / Private IP
  • Page 52 – Enabling NAT at Bootup
  • Page 53 – username
  • Page 54 – Example 2: Connecting to a PPP server over a hard-wired link; noipdefault; How to check the connection; ifconfig
  • Page 55 – Setting up a Machine for Incoming PPP Connections; PPPoE; “password”
  • Page 57 – pppd eth0
  • Page 58 – Example; Mail; SNMP
  • Page 67 – OpenVPN; Routed IP Tunnels
  • Page 71 – Setup 2: Ethernet Bridging for Private Networks on the Same Subnet
  • Page 72 – Set up four machines as shown in the following diagram:; Create a configuration file named
  • Page 73 – Note that
  • Page 74 – Tool Chains for Application; The following functions are covered in this chapter:; Linux Tool Chain
  • Page 75 – Tool Chains for Application Development; Steps for Installing the Linux Tool Chain; gcc
  • Page 76 – On-Line Debugging with GDB; cont
  • Page 77 – Windows Tool Chain; System Requirements for Windows Tool Chain; Your Windows OS must satisfy the following requirements.; Steps for Installing Windows Tool Chain
  • Page 79 – All packages are selected by default. Choose; Next
  • Page 80 – View by
  • Page 81 – Create icon on Desktop
  • Page 82 – Using the BASH Shell; To open a BASH shell window, choose
  • Page 83 – Compilation for Applications
  • Page 85 – On-Line Debugging with Insight; Insight
  • Page 86 – Programmer’s Guide; This chapter includes important information for programmers.; Flash Memory Map
  • Page 87 – Address Size; Device API; ioctl
  • Page 88 – Buzzer
  • Page 89 – OK will be zero. The other has some error, to get error code from errno.
  • Page 90 – Close the file handle.
  • Page 91 – The makefile is shown below:
  • Page 92 – UART; The normal tty device node is located at; Description; Example to set the baudrate
  • Page 93 – Baudrate inaccuracy; DO; The Do will be open
  • Page 94 – Software Lock; Develop and compile your program in the development PC.; #binencryptor yourProgram ABigKey
  • Page 95 – UC Finder; Windows UC Finder; Installing the Software; Linux ucfinder
  • Page 96 – The; Once the Setup program starts running, click on; Click on; when the; Select Additional Tools; window opens to proceed with the
  • Page 97 – Finish; to complete the installation of UC Finder.; Broadcast Search; same LAN as your Windows computer.
  • Page 99 – System Commands; File manager
  • Page 100 – Process
  • Page 101 – Service Information; The following topics are covered in this appendix:; MOXA Internet Services
  • Page 102 – The following services are provided
  • Page 103 – Problem Report Form
  • Page 104 – Product Return Procedure; Provide evidence of original purchase.
Loading the manual

ThinkCore W311/321/341 Linux User’s Manual

Second Edition, March 2007

www.moxa.com/product

MOXA Systems Co., Ltd.

Tel: +886-2-2910-1230
Fax: +886-2-2910-1231
Web: www.moxa.com

MOXA Technical Support

Worldwide: [email protected]

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 2 - accordance with the terms of that agreement.; Copyright Notice; Copyright; Trademarks; MOXA is a registered trademark of The Moxa Group.; Disclaimer

ThinkCore W311/321/341 Linux User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright © 2007 Moxa Systems Co., Ltd. All rights reserved. Reproduction without permission i...

Page 3 - Table of Contents; Chapter 1

Table of Contents Chapter 1 Introduction ..................................................................................................1-1 Overview.................................................................................................................................. 1-2 Software Archi...

Page 6 - Introduction; The following topics are covered in this chapter:; Overview; Software Package

1 1 Chapter 1 Introduction The MOXA ThinkCore W311/321/341 are RISC-based ready-to-run wireless embedded computers with 802.11a/b/g WLAN, one 10/100 Mbps Ethernet port, an internal SD socket, 1/2/4 RS-232/422/485 serial ports, two USB 2.0 hosts, one relay output channel, and pre-installed Linux oper...

Other Moxa Models

All Moxa Other