Moxa W321-LX Manual de Usario
Moxa
De oficina
W321-LX
Lee a continuación 📖 el manual en español para Moxa W321-LX (80 páginas) en la categoría De oficina. Esta guía fue útil para 5 personas y fue valorada con 4.5 estrellas en promedio por 2 usuarios
Página 1/80
W321/341 Linux Software Manual
Eleventh Edition, May 3 201
www.moxa.com/product
© 2013 Moxa Inc. All rights reserved.
W321/341 Linux Software 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
© 2013 Moxa Inc. All rights reserved.
Trademarks
The MOXA logo is a registered trademark of Moxa Inc.
All other trademarks or registered marks in this manual belong to their respective manufacturers.
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on the part of
Moxa.
Moxa provides this document as is, without warranty of any kind, either expressed or implied, including, but not limited
to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the
products and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for
its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the
information herein to correct such errors, and these changes are incorporated into new editions of the publication.
Technical Support Contact Information
www.moxa.com/support
Moxa Americas
Toll
- 1- - - free: 888 669 2872
Tel:
- - -+1 714 528 6777
Fax:
- - -+1 714 528 6778
Moxa China (Shanghai office)
Toll
- - - free: 800 820 5036
Tel:
- - - +86 21 5258 9955
Fax:
- - -+86 21 5258 5505
Moxa Europe
Tel:
- - -0 +49 89 3 70 03 99
Fax:
- - -+49 89 3 70 03 99 99
Moxa Asia
-Pacific
Tel:
-2- - +886 8919 1230
Fax:
-2- -+886 8919 1231
Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Software Architecture .......................................................................................................................... 1-2
Journaling Flash File System (JFFS2) ............................................................................................. 1-3
Software Package ........................................................................................................................ 1-4
2. Getting Started.................................................................................................................................. 2-1
Accessing the W321/341 Using a PC ..................................................................................................... 2-2
Serial Console ............................................................................................................................. 2-2
SSH Console ............................................................................................................................... 2-2
Configuring the Ethernet Interface ........................................................................................................ 2-3
Modifying Network Settings with the Serial Console ......................................................................... 2-3
Temporarily Modifying Networking Configurations ............................................................................ 2-4
Configuring the WLAN ......................................................................................................................... 2-4
Using WPA_SUPPLICANT to configure WPA2 ................................................................................... 2-5
SD Slot and USB for Storage Expansion ............................................................................................... 2-11
Test Program Developing Hello.c— ....................................................................................................... 2-13
Installing the Tool Chain (Linux) .................................................................................................. 2-13
Checking the Flash Memory Space ............................................................................................... 2-13
Compiling Hello.c ...................................................................................................................... 2-14
Uploading and Running the “Hello” Program ................................................................................. 2-14
Developing Your First Application ........................................................................................................ 2-15
Testing Environment .................................................................................................................. 2-15
Compiling tcps2.c ...................................................................................................................... 2-15
Uploading and Running the “tcps2-release” Program ...................................................................... 2-16
Testing Procedure Summary ....................................................................................................... 2-17
3. Managing Embedded Linux ................................................................................................................ 3-1
System Version Information ................................................................................................................. 3-2
System Image Backup ......................................................................................................................... 3-2
Upgrading the Firmware ............................................................................................................... 3-2
Loading Factory Defaults .............................................................................................................. 3-5
Enabling and Disabling Daemons .......................................................................................................... 3-5
Setting the Run- Level.......................................................................................................................... 3-7
Adjusting the System Time .................................................................................................................. 3-8
Setting the Time Manually ............................................................................................................ 3-8
NTP Client .................................................................................................................................. 3-8
Updating the Time Automatically ................................................................................................... 3-9
Cron— Daemon to Execute Scheduled Commands ................................................................................. 3-10
Connecting Storage Peripherals .......................................................................................................... 3-11
4. Managing Communications 4-1...............................................................................................................
FTP ................................................................................................................................................... 4-2
SFTP ................................................................................................................................................. 4-2
DNS .................................................................................................................................................. 4-2
IPTABLES 4-3..........................................................................................................................................
NAT .................................................................................................................................................. 4-7
NAT Example .............................................................................................................................. 4-8
Enabling NAT at Bootup ............................................................................................................... 4-8
Dial PPP-up Service— ........................................................................................................................... 4-9
PPPoE .............................................................................................................................................. 4-12
NFS (Network File System) ................................................................................................................ 4-14
Setting up the W321/341 as an NFS Client ................................................................................... 4-14
SNMP .............................................................................................................................................. 4-14
OpenVPN ......................................................................................................................................... 4-16
5. Tool Chains for Application Development .......................................................................................... 5-1
Linux Tool Chain ................................................................................................................................. 5-2
Steps for Installing the Linux Tool Chain ........................................................................................ 5-2
Compilation for Applications .......................................................................................................... 5-2
6. Programmer's Guide 6-1.........................................................................................................................
Flash Memory Map .............................................................................................................................. 6-2
Device API ......................................................................................................................................... 6-2
RTC (Real Time Clock) ......................................................................................................................... 6-2
Buzzer ............................................................................................................................................... 6-2
WDT (Watch Dog Timer) ...................................................................................................................... 6-3
Digital Input/Output(W321 only) .......................................................................................................... 6-6
Application Programming Interface ................................................................................................ 6-6
DI/DO Program Makefile Example ................................................................................................ 6-10
UART 6-.............................................................................................................................................. 11
Especificaciones del producto
Marca: | Moxa |
Categoría: | De oficina |
Modelo: | W321-LX |
¿Necesitas ayuda?
Si necesitas ayuda con Moxa W321-LX haz una pregunta a continuación y otros usuarios te responderán
De oficina Moxa Manuales
4 Septiembre 2024
4 Septiembre 2024
4 Septiembre 2024
4 Septiembre 2024
4 Septiembre 2024
4 Septiembre 2024
De oficina Manuales
- De oficina Sony
- De oficina Samsung
- De oficina HP
- De oficina Medion
- De oficina Toshiba
- De oficina VTech
- De oficina Acer
- De oficina Alienware
- De oficina Apple
- De oficina Sharp
- De oficina Jysk
- De oficina Asus
- De oficina Parisot
- De oficina Trekstor
- De oficina Sharkoon
- De oficina Lenovo
- De oficina ZOTAC
- De oficina Tripp Lite
- De oficina Optoma
- De oficina Gigabyte
- De oficina BDI
- De oficina Haier
- De oficina Fujitsu
- De oficina Asrock
- De oficina Razer
- De oficina Mio
- De oficina Wehkamp
- De oficina Dell
- De oficina Planar
- De oficina Intel
- De oficina MSI
- De oficina Viewsonic
- De oficina Peaq
- De oficina Shuttle
- De oficina ECS
- De oficina Vorago
- De oficina Promethean
- De oficina Foxconn
- De oficina Advantech
- De oficina ELO
- De oficina Kogan
- De oficina MP
- De oficina Smart Things
- De oficina ONYX
- De oficina Zoostorm
- De oficina Pelco
- De oficina Altra
- De oficina AOpen
- De oficina NComputing
- De oficina MvixUSA
- De oficina Faytech
- De oficina AIS
- De oficina Wyse
Últimos De oficina Manuales
27 Octubre 2024
27 Octubre 2024
27 Octubre 2024
24 Octubre 2024
24 Octubre 2024
24 Octubre 2024
24 Octubre 2024
24 Octubre 2024
19 Octubre 2024
17 Octubre 2024