CNET Wireless-G CardBus Adapter CWC-800 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Sítě CNET Wireless-G CardBus Adapter CWC-800. CNET Wireless-G CardBus Adapter CWC-800 User`s manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 81
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
UC-7400-LX Plus Users Manual
Third Edition, September 2008
www.moxa.com/product
© 2008 Moxa Inc., All rights reserved.
Reproduction without permission is prohibited.
Zobrazit stránku 0
1 2 3 4 5 6 ... 80 81

Shrnutí obsahu

Strany 1

UC-7400-LX Plus User’s Manual Third Edition, September 2008 www.moxa.com/product © 2008 Moxa Inc., All rights reserved. Reproduction without permissi

Strany 2

UC-7400-LX Plus User’s Manual Getting Started 2-2Powering on the UC-7400-LX Plus Connect the SG wire to the Shielded Contact located in the upper le

Strany 3 - Table of Contents

UC-7400-LX Plus User’s Manual Getting Started 2-3Telnet Console If you know at least one of the two IP addresses and netmasks, then you can use Teln

Strany 4

UC-7400-LX Plus User’s Manual Getting Started 2-4SSH Console UC-7400-LX Plus supports an SSH console to provide users with better security options.

Strany 5 - Introduction

UC-7400-LX Plus User’s Manual Getting Started 2-5Modifying Network Settings with the Serial Console In this section, we use the serial console to co

Strany 6 - Software Architecture

UC-7400-LX Plus User’s Manual Getting Started 2-6NOTE After changing the IP settings, use the networking restart command to activate the new IP addr

Strany 7

UC-7400-LX Plus User’s Manual Getting Started 2-73. Additional WLAN parameters are contained in the file RT2500STA.dat. To open the file, navigate

Strany 8 - Software Package

UC-7400-LX Plus User’s Manual Getting Started 2-8Channel—sets the channel Setting Explanation 0 auto 1 to 14 the channel you want to use AuthMode—

Strany 9 - Getting Started

UC-7400-LX Plus User’s Manual Getting Started 2-9ShortSlot—enables or disables the short slot time Setting Explanation 0 disable 1 enable TxRate—se

Strany 10 - Serial Console

UC-7400-LX Plus User’s Manual Getting Started 2-10Example 1: Configure wireless LAN to link to AP that is OPEN/NONE (Authentication/Encryption) [Def

Strany 11 - Telnet Console

UC-7400-LX Plus User’s Manual Getting Started 2-11Example 3: Configure wireless LAN to link to AP that is WPAPSK/TKIP (Authentication/Encryption) [D

Strany 12 - SSH Console

UC-7400-LX Plus User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with th

Strany 13

UC-7400-LX Plus User’s Manual Getting Started 2-12Plug the 3G Card into the Cardbus Slot The UC-7400-LX Plus supports plug-and-play feature for the

Strany 14

UC-7400-LX Plus User’s Manual Getting Started 2-13Connecting to the 3G Network You can connect to 3G networks over a ppp connection. #/etc/init.d/3g

Strany 15

UC-7400-LX Plus User’s Manual Getting Started 2-14Installing the Tool Chain (Linux) The PC must have the Linux Operating System pre-installed before

Strany 16

UC-7400-LX Plus User’s Manual Getting Started 2-15You should receive the following response: [root@localhost hello]# make xscale_be-gcc –o hello-rel

Strany 17

UC-7400-LX Plus User’s Manual Getting Started 2-16RS-232 LANPC 2PC 1Write data to PC1Receive LAN dataRead serial dataSend data to PC2tcps2.cSerial R

Strany 18 - (Authentication/Encryption)

UC-7400-LX Plus User’s Manual Getting Started 2-17 root@server11:/home/1st_application [root@server11 1st_application]# pwd /home/uc7400/1st_appli

Strany 19

UC-7400-LX Plus User’s Manual Getting Started 2-18 root@server11:/home/1st_application [root@server11 1st_application]# ftp 192.168.3.127 Connect

Strany 20

UC-7400-LX Plus User’s Manual Getting Started 2-19 192.168.3.127 - PuTTY root@Moxa:~# ls –al drwxr—xr-x 2 root root 0 Jun 12 02:14 drwxr—xr

Strany 21 - Compiler

UC-7400-LX Plus User’s Manual Getting Started 2-20NOTE Use the kill -9 command for PID 187 to terminate this program: #kill -9 187 Testing Procedure

Strany 22 - Compiling Hello.c

33 Chapter 3 Managing Embedded Linux This chapter includes information about version control, deployment, updates, and peripherals. The informati

Strany 23 - Testing Environment

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

Strany 24 - Compiling tcps2.c

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-2System Version Information To determine the hardware capability of your UC-7400-LX Plus, an

Strany 25

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-3 192.168.3.127 - PuTTY root@Moxa:/# df –h Filesystem Size Used Available Use% Mounted o

Strany 26

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-4 192.168.3.127 - PuTTY root@Moxa:/mnt/ramdisk# ftp 192.168.3.193 Connected to 192.168.3.1

Strany 27

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-5Loading Factory Defaults To load the system’s factory default settings, press the reset-to-

Strany 28 - Testing Procedure Summary

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-6 192.168.3.127 - PuTTY root@Moxa:/mnt/ramdisk# ls –al drwxr-xr-x 3 root root

Strany 29 - Managing Embedded Linux

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-7 698 nobody 3012 S /usr/bin/httpd –k start –d /etc/apache 701 root 352 S

Strany 30 - System Image Backup

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-8KxxRUNFILE stands for: K: start the run file when linux shuts down or halts. xx: a number b

Strany 31

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-9 698 nobody 3012 S /usr/bin/httpd -k start -d /etc/apache 701 root 352 S

Strany 32

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-10NTP Client The UC-7400-LX Plus has a built-in NTP (Network Time Protocol) client that is u

Strany 33 - Loading Factory Defaults

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-11Crontab is located in the /etc/cron.d directory. Modify the file /etc/cron.d/crontab to se

Strany 34

Chapter 4 Managing Communications ...4-1 Telnet / FTP ...

Strany 35

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-12Connecting Peripherals USB Mass Storage The UC-7420-LX Plus supports PNP (plug-n-play), an

Strany 36

UC-7400-LX Plus User’s Manual Managing Embedded Linux 3-13 ATTENTION Remember to type the #sync command before you unplug the CF mass storage device

Strany 37 - Adjusting the System Time

44 Chapter 4 Managing Communications In this chapter, we explain how to configure the UC-7400-LX Plus’s various communication functions. The foll

Strany 38 - NTP Client

UC-7400-LX Plus User’s Manual Managing Communications 4-2Telnet / FTP In addition to supporting Telnet client/server and FTP client/server, the UC-7

Strany 39

UC-7400-LX Plus User’s Manual Managing Communications 4-3Web Service—Apache The Apache web server’s main configuration file is /etc/apache/conf/http

Strany 40 - Connecting Peripherals

UC-7400-LX Plus User’s Manual Managing Communications 4-4 NOTE The CGI function is enabled by default. If you want to disable the function, modify

Strany 41

UC-7400-LX Plus User’s Manual Managing Communications 4-5sub-tables Source NAT (SNAT)—changes the first source packet IP address Destination NAT (DN

Strany 42 - Managing Communications

UC-7400-LX Plus User’s Manual Managing Communications 4-6The UC-7400-LX Plus supports the following sub-modules. Be sure to use the module that matc

Strany 43 - Telnet / FTP

UC-7400-LX Plus User’s Manual Managing Communications 4-7Examples: # iptables -L -n In this example, since we do not use the -t parameter, the syste

Strany 44 - Web Service—Apache

UC-7400-LX Plus User’s Manual Managing Communications 4-8Example 4: Drop TCP packets from 192.168.1.25. # iptables –A INPUT –i eth0 –p tcp –s 192.16

Strany 45 - IPTABLES

11 Chapter 1 Introduction The Moxa UC-7400-LX Plus series of RISC-based commnication platforms are ideal for your embedded applications. All mode

Strany 46

UC-7400-LX Plus User’s Manual Managing Communications 4-9Enabling NAT at Bootup In most real world situations, you will want to use a simple shell s

Strany 47

UC-7400-LX Plus User’s Manual Managing Communications 4-10The pppd daemon is used to connect to a PPP server from a Linux system. For detailed infor

Strany 48 - Append or delete rules

UC-7400-LX Plus User’s Manual Managing Communications 4-11modem Indicates that this is a modem device; pppd will hang up the phone before and after

Strany 49 - NAT Example

UC-7400-LX Plus User’s Manual Managing Communications 4-1264 bytes from 129.67.1.165: icmp_seq=2 ttl=225 time=266 ms ^C --- 129.67.1.165 ping statis

Strany 50 - Dial-up Service—PPP

UC-7400-LX Plus User’s Manual Managing Communications 4-134. Edit the file /etc/ppp/pap-secrets and add the following: “[email protected]” * “pass

Strany 51

UC-7400-LX Plus User’s Manual Managing Communications 4-147. Set up DNS If you are using DNS servers supplied by your ISP, edit the file /etc/resol

Strany 52 - How to check the connection

UC-7400-LX Plus User’s Manual Managing Communications 4-15ro Read only. This is the default. rw Readable and Writeable. no_root_squash If no_root_sq

Strany 53

UC-7400-LX Plus User’s Manual Managing Communications 4-16Step 1: #showmount –e HOST showmount: Show the mount information for an NFS Server. -e:

Strany 54

UC-7400-LX Plus User’s Manual Managing Communications 4-1712: system.9.1.2.5 (object identifier) mib-2.50 13: system.9.1.2.6 (object identifier) int

Strany 55 - NFS (Network File System)

UC-7400-LX Plus User’s Manual Managing Communications 4-18Setup 1: Ethernet Bridging for Private Networks on Different Subnets 1. Set up four machi

Strany 56 - /tmp *(rw,no_root_squash)

UC-7400-LX Plus User’s Manual Introduction 1-2Overview The UC-7400-LX Plus series of RISC-based communication platforms are ideal for embedded appli

Strany 57

UC-7400-LX Plus User’s Manual Managing Communications 4-19 ;; netmask ) NETMASK=$f2 ;; broadcast ) BROADCAST=$f2

Strany 58 - OpenVPN

UC-7400-LX Plus User’s Manual Managing Communications 4-20 i=`expr $i + 1` if [ $i -ge $maxtap ]; then break fi done # null ip address of

Strany 59

UC-7400-LX Plus User’s Manual Managing Communications 4-213. On machine OpenVPN A, modify the remote address in the configuration file, /etc/openvp

Strany 60

UC-7400-LX Plus User’s Manual Managing Communications 4-225. On each OpenVPN machine, check the routing table by typing the command: # route Destin

Strany 61

UC-7400-LX Plus User’s Manual Managing Communications 4-232. The configuration procedure is almost the same as for the previous example. The only d

Strany 62

UC-7400-LX Plus User’s Manual Managing Communications 4-24tun-mtu-extra 64 ping 40 ifconfig 192.168.4.174 192.168.2.173 up /etc/openvpn/tun.sh Then

Strany 63

55 Chapter 5 Programmer’s Guide This chapter includes important information for programmers. The following functions are covered in this chapter:

Strany 64

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-2Before Programming Your Embedded System Caution When Using File Systems We recommend placing onl

Strany 65

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-3UC-7400-LX Plus. The host environment must be running Linux to install the UC-7400-LX Plus GNU T

Strany 66 - Programmer’s Guide

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-4objdump Displays information about object files ranlib Generates indexes to archives (static l

Strany 67 - Flash Memory Map

UC-7400-LX Plus User’s Manual Introduction 1-3The UC-7400-LX Plus’s built-in Flash ROM is partitioned into Boot Loader, Linux Kernel, Root File Syst

Strany 68 - Obtaining help

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-5RTC (Real-time Clock) The device node is located at /dev/rtc. The UC-7400-LX Plus supports Linux

Strany 69 - Device API

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-6int swtd_open(void) Description Open a file handle to control the watchdog. This is the first st

Strany 70 - WDT (Watch dog Timer)

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-70 if OK. An error occurs if you see a non-zero value. Use the function errno () to retrieve the

Strany 71

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-8 exit(0); } The makefile is shown below: all: arm-elf-gcc –Wl, -elf2flt –o xxxx xxxx.c –lmo

Strany 72

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-9 exit(1); } The makefile is shown below: all: arm-elf-gcc –Wl, -elf2flt –o xxxx xxxx.c –lmo

Strany 73

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-10struct termios term; int fd, speed; fd = open(“/dev/ttyM0”, O_RDWR); tcgetattr(fd, &term);

Strany 74

UC-7400-LX Plus User’s Manual Programmer’s Guide 5-11Turns the LCM backlight off. KeyPad The device node is /dev/keypad. The key value is defined in

Strany 75 - Examples

66 Chapter 6 Software Lock “Software Lock” is an innovative technology developed by Moxa’s engineers. It can be adopted by a system integrator or

Strany 76 - Make File Example

UC-7400-LX Plus User’s Manual Software Lock 6-2NOTE 3. If you try to run an encrypted program on an embedded computer that does not have an encrypt

Strany 77 - Software Lock

AA Appendix A System Commands busybox (V1.6.0): Linux normal command utility collection System 1. hwclock query and set the hardware clock (RTC)

Strany 78

UC-7400-LX Plus User’s Manual Introduction 1-4Software Package Boot Loader Redboot (v1.92) Kernel Monta Vista embedded Linux 2.6.10 Protocol Stacks

Strany 79 - System Commands

UC-7400-LX Plus User’s Manual System Commands A-2Editor 1. vi text editor 2. cat dump file context 3. zcat compress or expand files 4. gr

Strany 80 - Process

UC-7400-LX Plus User’s Manual System Commands A-312. gzip, gunzip compress or expand files 13. hostname show system’s host name 14. basename s

Strany 81 - Moxa Special Utilities

22 Chapter 2 Getting Started In this chapter, we explain how to connect the UC-7400-LX Plus, turn on the power, and then get started using the pr

Komentáře k této Příručce

Žádné komentáře