Instrukcja obsługi Moxa W321-LX

Moxa Pulpit W321-LX

Przeczytaj poniżej 📖 instrukcję obsługi w języku polskim dla Moxa W321-LX (80 stron) w kategorii Pulpit. Ta instrukcja była pomocna dla 2 osób i została oceniona przez 2 użytkowników na średnio 4.5 gwiazdek

Strona 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

Specyfikacje produktu

Marka: Moxa
Kategoria: Pulpit
Model: W321-LX

Potrzebujesz pomocy?

Jeśli potrzebujesz pomocy z Moxa W321-LX, zadaj pytanie poniżej, a inni użytkownicy Ci odpowiedzą




Instrukcje Pulpit Moxa

Moxa

Moxa MC-4510-C23 Instrukcja

24 Września 2024
Moxa

Moxa W325A-LX Instrukcja

24 Września 2024
Moxa

Moxa IA3341-LX Instrukcja

24 Września 2024
Moxa

Moxa W321-LX Instrukcja

24 Września 2024
Moxa

Moxa W315-LX Instrukcja

24 Września 2024
Moxa

Moxa W315A-LX Instrukcja

24 Września 2024

Instrukcje Pulpit

Najnowsze instrukcje dla Pulpit

Acer

Acer Aspire AX3200 Instrukcja

15 Października 2024
Acer

Acer Chromebox CXI Instrukcja

15 Października 2024
Asus

Asus Vivo AiO V220IB Instrukcja

14 Października 2024
Vorago

Vorago NanoBay V3 Instrukcja

9 Października 2024
Asus

Asus A3202 Instrukcja

9 Października 2024
MSI

MSI CUBI-074TW Instrukcja

9 Października 2024
ECS

ECS LIVA Z5F PLUS Instrukcja

8 Października 2024
Acer

Acer CXI-i34GKM Instrukcja

8 Października 2024