CNET Wireless-G CardBus Adapter CWC-800 User Manual

Browse online or download User Manual for Networking CNET Wireless-G CardBus Adapter CWC-800. CNET Wireless-G CardBus Adapter CWC-800 User`s manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 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

Page 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

Page 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

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

Page 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

Page 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

Page 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

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 22 - Compiling Hello.c

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

Page 23 - Testing Environment

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

Page 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

Page 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

Page 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

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 34

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

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

Page 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

Page 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

Page 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

Page 57

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 63

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

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

Page 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

Page 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

Page 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

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

Page 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

Page 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

Page 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

Page 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

Comments to this Manuals

No comments