Moxa Technologies UC-7110 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Networking Moxa Technologies UC-7110. Moxa Technologies UC-7110 User`s manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1

UC-7101/7110/7112 User’s Manual Eighth Edition, February 2009 www.moxa.com/product © 2009 Moxa Inc. All rights reserved. Reproduction without permis

Strona 2

UC-7101/7110/7112 Software User’s Manual Getting Started Powering on the UC-7101/7110/7112 Connect the SG wire to the Shielded Contact located on the

Strona 3 - Table of Contents

UC-7101/7110/7112 Software User’s Manual Getting Started Telnet If you know at least one of the two IP addresses and netmasks, then you can use Telne

Strona 4

UC-7101/7110/7112 Software User’s Manual Getting Started Configuring the Ethernet Interface In this section, we use the serial console to explain how

Strona 5

UC-7101/7110/7112 Software User’s Manual Getting Started 3. You may also configure the UC-7101/7110/7112 to request IP addresses from a DHCP server.

Strona 6 - Package Checklist

UC-7101/7110/7112 Software User’s Manual Getting Started Developing Your Applications Step 1: Connect the UC-7101/7110/7112 to a Linux PC. Step 2: In

Strona 7 - Product Specifications

UC-7101/7110/7112 Software User’s Manual Getting Started Compiling Hello.c The Tool Chain path is: PATH=/usr/local/bin:$PATH The UC-7101/7110/7112 CD

Strona 8 - Software Specifications

UC-7101/7110/7112 Software User’s Manual Getting Started Running “Hello” on the UC-7101/7110/7112 To run the “Hello” program issue the following com

Strona 9 - Getting Started

UC-7101/7110/7112 Software User’s Manual Getting Started ATTENTION Be sure to calculate the amount of Flash Memory used by the User File System in

Strona 10 - Console Port

UC-7101/7110/7112 Software User’s Manual Getting Started 2-10LIBS = CFLAGS = # Change these if necessary CC = arm-elf-gcc CPP = arm-elf-gcc -E

Strona 11

33 Chapter 3 Software Package This chapter includes information about the software that is used with the UC-7101/7110/7112 Series of embedded compu

Strona 12

UC-7101/7110/7112 User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with

Strona 13

UC-7101/7110/7112 Software User’s Manual Software Package UC-7101/7110/7112 Software Architecture The pre-installed µClinux operating system used by

Strona 14 - Developing Your Applications

UC-7101/7110/7112 Software User’s Manual Software Package The partition sizes are hard coded into the kernel binary. You must rebuild the kernel to c

Strona 15 - Compiling Hello.c

UC-7101/7110/7112 Software User’s Manual Software Package 3-4UC-7101/7110/7112 Software Package bin dev upkernel passwd -> tinylogin login ->

Strona 16

44 Chapter 4 Configuring UC-7101/7110/7112 In this chapter, we describe how to configure the UC-7101/7110/7112 embedded computers. The following to

Strona 17 - Sample Makefile Code

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 Enabling and Disabling Daemons The following daemons are enabled when the UC-71

Strona 18

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 Adding a Web Page Default Home Page address: /home/httpd/index.html You may cha

Strona 19 - Software Package

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 Source NAT (SNAT)—changes the first source packet IP address Destination NAT (D

Strona 20

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 NOTE The UC-7101/7110/7112 do NOT support IPV6 and ipchains. IPTABLES suppo

Strona 21

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 #iptables –t nat –P PREROUTING ACCEPT #iptables –t nat –P OUTPUT ACCEPT #iptabl

Strona 22

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 NAT Example The IP addresses of all packets leaving LAN1 are changed to 192.168

Strona 23 - ¾ Dial-in Service

Table of Contents Chapter 1 Introduction ...1-1 Overv

Strona 24

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 Enabling NAT at Bootup In most real world situations, you should use a simple s

Strona 25 - Adding a Web Page

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 Configuring PPPoE PPPoE relies on two widely accepted standards: PPP and Ethern

Strona 26

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 For example, to unload the UART driver, type the following command: />rmmod

Strona 27

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 Use the upkernel command to upgrade the kernel and root file system. /ramdisk&g

Strona 28 - Append or delete rules:

UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112 You will also need to restore factory defaults to load the new settings. To do

Strona 29 - NAT Example

55 Chapter 5 UC-7101/7110/7112 Device API In this chapter, we discuss the Device API for the UC-7101/7110/7112 Series. We introduce the APIs for th

Strona 30 - Dial-in Service

UC-7101/7110/7112 Software User’s Manual UC-7101/7110/7112 Device API RTC (Real Time Clock) The device node is located at /dev/rtc. The UC-7101/7110/7

Strona 31 - Configuring PPPoE

UC-7101/7110/7112 Software User’s Manual UC-7101/7110/7112 Device API WDT (Watch Dog Timer) 1. Introduction The WDT works like a watch dog function. Y

Strona 32 - Upgrading the Kernel

UC-7101/7110/7112 Software User’s Manual UC-7101/7110/7112 Device API Output 0 (zero) for no error. Any other number indicates an error. You can get t

Strona 33

UC-7101/7110/7112 Software User’s Manual UC-7101/7110/7112 Device API 4. Special Note When you “kill the application with -9” or “kill without option”

Strona 34 - Loading Factory Defaults

WDT (Watch Dog Timer) ... 5-3 Appendix A System

Strona 35 - UC-7101/7110/7112 Device API

UC-7101/7110/7112 Software User’s Manual UC-7101/7110/7112 Device API 5-6 struct timeval time; time.tv_sec = msec / 1000; time.tv_usec = (

Strona 36 - UART Interface

AA Appendix A System Commands µClinux normal command utility collection File manager cp copy file ls list file ln make symbolic link file mount mou

Strona 37 - WDT (Watch Dog Timer)

UC-7101/7110/7112 Software User’s Manual System Commands A-2Network ping ping to test network route routing table manager netstat display network st

Strona 38

BB Appendix B SNMP Agent with MIB II & RS-232 Like Group The UC-7101/7110/7112 has a built-in SNMP (Simple Network Management Protocol) agent t

Strona 39

UC-7101/7110/7112 Software User’s Manual SNMP Agent ip MIB tcp MIB udp MIB ipForwarding ipDefaultTTL ipInReceives ipInHdrErrors ipInAddrErrors ipFo

Strona 40

UC-7101/7110/7112 Software User’s Manual SNMP Agent B-3snmp MIB snmpInPkts snmpOutPkts snmpInBadVersions snmpInBadCommunityNames snmpInBadCommunityU

Strona 41 - System Commands

CC Appendix C FAQ FAQ 1 Why am I only able to use vfork ( ),and cannot use fork ( )? Answer 1 μClinux only supports vfork ( ). It does not suppor

Strona 42 - Moxa Special Utilities

11 Chapter 1 Introduction The Moxa UC-7101/7110/7112 Series of mini RISC-based ready-to-run embedded computers are ideal for your embedded applicat

Strona 43

UC-7101/7110/7112 Software User’s Manual Introduction Overview The UC-7101/7110/7112 Series of mini RISC-based communication platforms are ideal for

Strona 44

UC-7101/7110/7112 Software User’s Manual Introduction 1-3Product Features The UC-7101/7110/7112 embedded computers have the following features: y M

Strona 45

UC-7101/7110/7112 Software User’s Manual Introduction 340 mA @ 12 VDC, 4.5W (UC-7110/7112) Operating temperature -10 to 60oC, (14 to 140oF), 5 to 95%

Strona 46 - Appendix C FAQ

22 Chapter 2 Getting Started In this chapter, we explain the basic procedure for getting the UC-7101/7110/7112 connected and ready to use. This cha

Komentarze do niniejszej Instrukcji

Brak uwag