Moxa Technologies UC-7110 User Manual

Browse online or download User Manual for Networking Moxa Technologies UC-7110. Moxa Technologies UC-7110 User`s manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 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

Page 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

Page 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

Page 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

Page 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.

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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 ->

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 23 - ¾ Dial-in Service

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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”

Page 34 - Loading Factory Defaults

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

Page 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 = (

Page 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

Page 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

Page 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

Page 39

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

Page 40

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

Page 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

Page 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

Page 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

Page 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

Page 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%

Page 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

Comments to this Manuals

No comments