GridConnect Wi232 User Manual

GridConnect Wi232 User Manual

Serial to wireless ethernet adapter
Table of Contents

Advertisement

Wi232/WiUSB
Serial to Wireless

Ethernet Adapter

Revision E January, 2008
Document Part Number GC-800-300

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Wi232 and is the answer not in the manual?

Questions and answers

Summary of Contents for GridConnect Wi232

  • Page 1: Ethernet Adapter

    Wi232/WiUSB Serial to Wireless Ethernet Adapter Revision E January, 2008 Document Part Number GC-800-300...
  • Page 3 Wi232 and NETUSB are trademarks of Grid Connect, Inc. XPort is a trademark of Lantronix. Ethernet is a trademark of XEROX Corporation. UNIX is a registered trademark of The Open Group.
  • Page 4 Date Rev. Author Comments 04/19/05 Preliminary Release 08/12/05 Firmware upgrade to 6.0.0.1 07/17/06 Upgrade to 6.2.0.2 and WiPort G 10/05/06 Upgrade to 6.3.0.0. and Web Manager 1.5.0.0 01/14/08 Add mounting holes to board, add DTR/DSR option. Wi232/WiUSB User Guide...
  • Page 5 The contents of this document shall not become part of or modify any prior or existing agreement, commitment or relationship. Wi232/WiUSB User Guide...
  • Page 6: Table Of Contents

    2.1 Required Information ..................2-1 2.1.1 Hardware Address................2-1 2.1.2 WLAN Settings................... 2-1 2.2 Installing and Configuring the Wi232 for WAP ..........2-2 2.2.1 Wi232 Configuration - WAP .............. 2-2 2.2.2 Wireless Access Point (WAP) Connection ......... 2-4 2.3 Installing and Configuring for a Wireless Router ..........2-7 2.3.1 Wi232 Configuration - Router ............
  • Page 7 5.1.2 Entering Monitor Mode via the Network Port........5-1 5.1.3 Monitor Mode Commands..............5-1 6. Updating Firmware ......................6-1 6.1 Obtaining Firmware.....................6-1 6.1.1 Reloading Firmware ................6-1 6.1.2 Via Device Installer ................6-1 7. Troubleshooting ....................... 7-1 7.1.1 Problems and Error Messages .............7-1 Wi232/WiUSB User Guide...
  • Page 8 Figure 1 - Serial Tunneling Example ..................1-3 Figure 2 - Ad-Hoc Network Example ..................1-3 Figure 3 - Serial Tunneling Infrastructure................1-4 Figure 4 - Direct Wi232 to Wi232 Connection..............1-4 Figure 5 - Wi232 Connection....................2-2 List of Tables Table 1 - RS232 Signals......................
  • Page 9: Overview

    TCP, ICMP, Telnet, AutoIP, DHCP, HTTP, SNMP, and SMTP. For designers who wish to customize the user interface by employing common and familiar tools, the Wi232 serves applets to a Web browser, resulting in interactive Web pages. This customization of HTML Web pages and configuration screens tailors the Wi232 to fit unique requirements.
  • Page 10: Additional Documentation

    User Guide Device Installer Information about installing and using Dev_Inst_UG_800233_x.pdf User Guide Device Installer Utility. Quick Start Guide Quick steps to get the Wi232 up and QuickStart_800234_x.pdf running fast. Comm Port Provides information on using the Redirector_UG_800235_x.pdf Redirector Guide Windows based utility to create a virtual com port.
  • Page 11: Application Examples

    1.2 Application Examples The Wi232 has a serial port, an Ethernet port and an 802.11b transceiver. You can enable either the Ethernet port or the Wireless LAN. The serial port connects to the serial communication port of your device. The wireless transceiver connects to another wireless device or to an Access Point (AP) connecting to a network through an Ethernet link.
  • Page 12: Protocol Support

    In the above example, two Wi232s have established an Ad-Hoc peer-to-peer relationship. They communicate directly to each other’s serial devices without a PC or an Access Point. Note: How do you set up the units for point-to-point? See Application Note, Wi232 Serial Tunnel, GC-800-302. 1.3 Protocol Support...
  • Page 13: Serial Rs232 Interface

    1.4 Serial RS232 Interface The table below lists the RS232 signals for the Wi232. The RS232 interface is a 9-pin Male D-style connector (DB9M), configured as a DTE device. DCE configured devices are also available on special order. Table 1 - RS232 Signals...
  • Page 14: Usb Interface

    1.6 Power Supply The Wi232 can use any DC power source from 9VDC to 24VDC. A typical power cube sent with the unit is a 9VDC, 500 mA, 8W power cube. However, there are other units that can be used as long as they are in the range of 9-24VDC and supply the proper wattage.
  • Page 15: Ethernet Interface

    Link Activity 1.8 OEM Board Mounting If you order the Wi232 as an OEM board, you can mount the board to your device and connect the signal wires using the following drawings. 1.8.1 Mounting Holes The following drawing shows the mounting holes for the Wi232 OEM board. If the power jack is removed, one of the holes can be used for mounting the board.
  • Page 16: Header Connector

    HEADER FOR SIGNALS 10-Pos, 2mm AND POWER IF BOARD Vert SMD IS MOUNTED WITH Mfg# 87759-1050 STANDOFFS. Digi-Key: WM18652-ND (Part for Wi232) Connector Receptacle Pin 2 10-Pos, 2mm Vert PC Board Mfg# 79107-7004 Digi-Key: WM18676-ND Pin 1 (Circuit Board Part) BOTTOM LAYER The pads are wired according to the following table.
  • Page 17: Product Cd

    1.9 Product CD The product CD sent with the Wi232/WIUSB contains Device Installer software, ComPort Redirector, SetZone Utility, USB Device Drivers, Application Notes and technical documents. The CD contains Virtual COM Port Drivers for the NETUSB device. Wi232/WiUSB User Guide...
  • Page 18: Technical Specifications

    Average Power WiPort-G 1300 mW (WLAN mode;maximum data rate) Consumption 300 mW (WLAN mode;idle) 750 mW (Ethernet mode) Wi232 Module: 150ma @12VDC Power Input 9VDC to 24VDC. 9VDC, 500 mA, 8W External Adapter Included. 120VAC (USA) or 100-240VAC Universal with adapters.
  • Page 19: Quick Start

    IP address and corresponding subnet mask and gateway. If you leave the IP address set to 0.0.0.0, the Wi232 will attempt to get a DHCP address from the wireless Access Point or network server. If it cannot get a DHCP address, it will use AutoIP to assign an IP address.
  • Page 20: Installing And Configuring The Wi232 For Wap

    Serial Mode’s Setup menu. The following drawing shows a Wireless Access Point (WAP) that links the PC and the Wi232. A Wireless Access Point generally requires a password and a security access code to enable network access, so you should have this information before starting the configuration process.
  • Page 21 Set Gateway IP Address: the gateway address should be the IP address of the router connected to the same LAN segment as the Wi232 unit. If there is no router, press Enter to accept the default. Set Gateway IP Address (N) ? Y Gateway IP addr (000) .(000) .(000) .(000)_...
  • Page 22: Wireless Access Point (Wap) Connection

    TX Data rate: 0=1, 1=2, 2=5.5, 3=11, 4=18, 5=24, 6=36, 7=54 Mbps (3) f) Power Management: The default setting allows the Wi232 to run at the fastest rate. Press the Enter key to accept the default setting. Enable power management (N) ? _ 8.
  • Page 23 In the following example, an Orinoco wireless adapter is used. Select Internet Protocol (TCP/IP) from the list. Click the Properties button. Set the adapter to obtain an IP address automatically from the Wireless Access Point. Wi232/WiUSB User Guide...
  • Page 24 Ethernet port. You can continue to configure the device by going to Configuration Using Web-Manager on page 3-1. To configure the Wi232 with a serial port connection, see Configuration via Serial Mode or Telnet Port on page 4-1.
  • Page 25: Installing And Configuring For A Wireless Router

    2.3.1 Wi232 Configuration - Router The Wi232 is configured slightly different for a router. Some routers do not provide a DHCP service. In this case, you must enter an IP address that is in the same subnet as the router. Follow the setup procedure as described in Installing and Configuring the Wi232 on page 2-2 to display the serial setup menu.
  • Page 26: Network Configuration

    TX Data Rate: Select a fixed data rate. TX Data rate: 0=1, 1=2, 2=5.5, 3=11, 4=18, 5=24, 6=36, 7=54 Mbps (3) f) Power Management: The default setting allows the Wi232 to run at the fastest rate so press the Enter key to accept the default setting.
  • Page 27 Set the adapter to an address compatible with your router. In the example below, the router base address is 192.168.2.xxx. In the following dialog box, the IP, subnet and gateway addresses match the base address of the router. Wi232/WiUSB User Guide...
  • Page 28 Note: Try the Quick Test in the next section to verify the unit can send and receive data between the serial port and the Ethernet port. You can continue to configure the device by going to Configuration Using Web-Manager on page 3-1. To configure the Wi232 with a serial port connection, see Configuration via Serial Mode or Telnet Port on page 4-1.
  • Page 29: Quick Test

    In the Connect To dialog box, go to the Connect using field and select the serial Com port that is connected to the Wi232 and click OK. In the COMx Properties dialog box, enter 9600, 8, None, 1, None and click OK. This is the RS232 serial port terminal.
  • Page 30 In the Connect To dialog box, go to the Connect using field and select TCP/IP (Winsock). Enter the IP address of the Wi232 and enter 10001 (default) for the Port number. Click OK. This is the Ethernet terminal. The status message for the TCP/IP connection should show it is connected.
  • Page 31: Configuration Using Web-Manager

    3. Configuration Using Web-Manager This chapter describes how to configure the Wi232 using Web-Manager, a browser-based configuration tool. The unit’s configuration is stored in nonvolatile memory and is retained without power. The unit performs a reset after the configuration is changed and stored.
  • Page 32: Network Configuration

    Select Enable to permit Dynamic Host Configuration Protocol (DHCP). DHCP automatically assigns a leased IP address to the Wi232 unit. Auto-IP The Wi232 generates an IP in the 169.254.x.x address range with a Class B subnet. Select the Disable checkbox to disable this feature. DHCP Host Name Enter the name of the host on the network providing the IP address.
  • Page 33: Static Ip Address Configuration

    Speed: The speed of data transmission. The default is 100 Mbps. Duplex: The direction of data transmission. The default is Full. 3. When you are finished, click the OK button. 4. On the main menu, click Apply Settings. Wi232/WiUSB User Guide...
  • Page 34: Server Configuration

    CPU Configuration Mode The Wi232 provides a high-performance mode that supports the baud rates 460 Kbps and 921 Kbps. When running the serial port at 460 Kbps or 921Kbps, the CPU must be placed in the high performance mode in order to keep the serial port within this baud rate specification.
  • Page 35: Serial Tunnel Hostlist Configuration

    3.3 Serial Tunnel Hostlist Configuration The hostlist operates in a sequential order when attempting to connect to the first available host. The Wi232 scrolls through the hostlist until it connects to a device listed in the hostlist table. After a successful connection, the unit stops trying to connect to any others.
  • Page 36: Channel 1 Configuration

    3.4 Channel 1 Configuration Channel 1 configuration defines how the serial port responds to network and serial communication. Note: The Wi232 does NOT use Channel 2. Disable Channel 2 settings. 3.4.1 Serial Settings To configure Channel 1 serial settings: 1. From the main menu, click Serial Settings for Channel 1 to display the Serial Settings page.
  • Page 37: Pack Control

    It indicates the end of transmission. Select 1 or 2 stop bits. Pack Control Enable Packing Select the checkbox to enable packing on the Wi232. Two firmware-selectable packing algorithms define how and when packets are sent to the network. The standard algorithm...
  • Page 38: Connection Settings - Tcp

    Determines whether a password is required for an incoming passive connection. Field is not available when a password is set for Telnet mode. Password If Password Required was set to Yes, enter the password for passive connections. Wi232/WiUSB User Guide...
  • Page 39 Enter the IP address of the remote device. Common Options Telnet Mode Select Enable to permit Telnet communication to the Wi232 unit. Terminal Name Use the terminal name for the Telnet terminal type. Enter only one name. When this option is enabled, the unit also reacts to the EOR (End Of Record) and binary options, which can be used for applications such as terminal emulation to IBM hosts.
  • Page 40: Connection Settings - Udp

    For information on configuring the hostlist, see Serial Tunnel Hostlist Configuration on page 3-5. This option not available on Wi232. Disconnect Mode On Mdm_Ctrl_In Drop Set to Yes for the network connection to or from the serial port to drop when modem_control_in transitions from a high state to a low state.
  • Page 41 Remote Host Enter the IP address of the remote device. Device Address Table Field enabled when Datagram Type is set to FD. Enter values between 1-255 to identify units on the local network of device servers. Wi232/WiUSB User Guide 3-11...
  • Page 42: Email Configuration

    In the case that there is no network with the configured name within the range of the Wi232, there is an option to create an Ad Hoc network allowing other devices to associate with the Wi232 using the configured Wireless Network Configuration field parameters.
  • Page 43: Wlan Settings

    SetZone folder on the CD. Wireless Network Security Security The Wi232 can use different security options. The Wired Equivalent Privacy (WEP) algorithm is used to protect wireless communication from eavesdropping. A secondary function of WEP is to prevent unauthorized access to a wireless network;...
  • Page 44: Configurable Pins

    Default is Disable. 3.7 Configurable Pins The Wi232 uses a standard WiPort Wireless Serial to Ethernet module. It includes many functions for an OEM developer including email options and configurable pins. The Wi232 does NOT utilize any configurable pins. Ignore any web, telnet, or serial port references to configurable pins.
  • Page 45: Apply Factory Defaults

    A message will appear asking you to wait while the configuration is saved. The unit will reboot when done. 3.9 Apply Factory Defaults Click the Apply Factory Defaults button to restore the Wi232’s factory defaults. A confirmation window displays, requesting confirmation on restoring the Wi232’s default settings. Click YES to apply the factory settings.
  • Page 47: Configuration Via Serial Mode Or Telnet Port

    Serial Mode. You must configure the Wi232 serial port so that it can communicate on a network with your serial devices. You can change the configuration at any time. The unit performs a reset after the configuration has been changed and stored.
  • Page 48: Server Configuration

    An enhanced password setting (for Telnet access only) of 16 characters is available under option 6 Security from the Change Setup menu. Note: A password is not required to access the Setup Mode window via a serial connection. Wi232/WiUSB User Guide...
  • Page 49: Channel 1 Configuration

    Select option 1 Channel 1 from the Change Setup menu to define how the serial port responds to network and serial communications. The following sections describe the configurable parameters within the Channel configuration menu. Note: The Wi232 uses only Channel 1. Baudrate (115200) I/F Mode (4C)
  • Page 50: I/F (Interface) Mode

    The Interface (I/F) Mode is a bit-coded byte entered in hexadecimal notation. The current value is displayed in parentheses. (For additional information on hexadecimal notation, see Binary to Hex Conversion.) I/F Mode (4C) ? _ Note: RS-422 and RS-485 are not available on the Wi232. The following table displays available I/F Mode options: I/F Mode Option...
  • Page 51: Port Number

    1 (it wraps back around to 50,000). Only use this automatic port increment feature to initiate a connection using TCP. Set the port to a non-zero value when the unit is in a passive mode or when using UDP instead of TCP. Wi232/WiUSB User Guide...
  • Page 52: Connect Mode

    Accept with Accepts external connection requests only when the modem_control_in Active modem_control_in input is asserted. Cannot be used with Modem Mode. (Not available in Wi232) Always Accept Accepts any incoming connection when a connection is not already established. Default setting. Response...
  • Page 53 Accept with Attempts to connect when the modem_control_in input changes modem_control_in from not asserted to asserted. (Not available in Wi232) Active With a Specific Start Attempts to connect when it receives a specific start character Character from the serial port. The default start character is carriage return.
  • Page 54 02. IP : 172.019.000.002 Port : 03001 03. IP : 172.019.000.003 Port : 10001 Change Hostlist ? Hostlist Retrycounter (3) ? Hostlist Retrytimeout (250) ? DisConnMode (00) ? FlushMode (00) ? DisConnTime (00:00) SendChar 1 (00) ? SendChar 2 (00) ? Wi232/WiUSB User Guide...
  • Page 55 Full Verbose The unit echoes modem commands and responds to a command with a message string shown in the table below. 1-Character Response The unit echoes modem commands and responds to a command with a single character response. Wi232/WiUSB User Guide...
  • Page 56 The character string ATH is received, terminated with a carriage return. The unit responds affirmatively according to the selected echo/response mode and drops the network connection. The serial interface reverts to accepting command strings. If this sequence is not followed, the unit remains in data transfer mode. 4-10 Wi232/WiUSB User Guide...
  • Page 57: Send The Escape Sequence (+++) In Modem Mode

    Remote IP Address : ( 0) ( 0) ( 0) ( 0)_ Note: This option is not displayed when Hostlist is enabled from the ConnectMode prompt (see Connect Mode on page 39 for more information). Wi232/WiUSB User Guide 4-11...
  • Page 58: Remote Port

    State LED off with connection Disconnect with EOT (^D) (1) The Wi232 sends the "Terminal Type" upon an outgoing connection. (Not used with password option) (2) A password is required for a connection to the serial port from the network. (Not used with Telnet Terminal Type option) (3) The TCP connection closes even if the remote site does not acknowledge the disconnection.
  • Page 59: Flush Mode

    Clear with a connection that is initiated from the device to the network Clear with a connection initiated from the network to the device Clear when the network connection to or from the device is disconnected Alternate Packing Algorithm (Pack Control) Enable Wi232/WiUSB User Guide 4-13...
  • Page 60: Disconntime (Inactivity Timeout)

    Enter time in the format mm:ss, where m is the number of minutes and s is the number of seconds. DisConnTime (0: 0) ?: To disable the inactivity timeout, enter 00:00. Range is 0 (disabled) to 5999 seconds (99 minutes, 59 seconds). The default is 0. 4-14 Wi232/WiUSB User Guide...
  • Page 61: Sendchar 1 And Sendchar2

    4.3 E-mail The Wi232 does not utilize this feature at this time. You can make it work by looking for characters on the serial port. However, we do not recommend this operation.
  • Page 62 Topology: Infrastructure or Ad Hoc Topology 0=Infrastructure, 1=AdHoc (0) ? Network Name (SSID) Enter the name of the network in which the Wi232 unit resides. The current value is displayed in parentheses. Name is case-sensitive. Network name (SSID) (LTRX_IBSS) ? _ Security Suite As an additional security measure, enable WEP, WPA or WPA2/802.11i on the Wi232.
  • Page 63: Expert Settings

    TX Data rate 0=1, 1=2, 2=5.5, 3=11 4=18, 5=24, 6=36, 7=54 Mbps (3) ? Enable Power Management Power management reduces the overall power consumption of the Wi232 unit. Enabling power management reduces power consumption but increases the unit’s response time. The current value is displayed in parentheses.
  • Page 64: Security Settings

    If necessary, enable the alternate MAC address (if specified in the OEM setup record). Ethernet Connection Type The Wi232 allows for the Ethernet speed and duplex to be manually configured. Enter 0 for auto-negotiation (default). To select the speed and duplex, enter one of the following: 2 (10Mbit/half duplex), 3 (10Mbit/full duplex), 4 (100Mbit/half duplex), or 5 (100Mbit/full duplex).
  • Page 65: Disable Tftp Firmware Upgrade

    The Y (Yes) option allows an extended security password of 16-characters for protecting Telnet access. 4.6.11 Disable Port 77F0h Port 77F0 is a setting that allows a custom application to query or set the three Wi232 configurable pins when they are functioning as general purpose I/O (GPIO).
  • Page 66: Factory Defaults

    Enable High Performance N (Disabled) Disable Monitor Mode HTTP port number SMTP Port Number WLAN Settings Enable WLAN (Y) Yes Topology 0=Infrastructure, 1=AdHoc 0 (Infrastructure) Network Name LTRX_IBSS Security (0) None Data Rate 6 (6-11Mbps) Enable Power management 4-20 Wi232/WiUSB User Guide...
  • Page 67: Exit Configuration Mode

    Select option 9 Save and exit from the Change Setup menu to save all changes and reboot the device. All values are stored in nonvolatile memory. • Select option 8 Exit without save from the Change Setup menu to exit the configuration mode without saving any changes or rebooting. Wi232/WiUSB User Guide 4-21...
  • Page 69: Monitor Mode

    Shows the unit’s current IP address. Network Status Reports the status of the Ethernet and Wireless interfaces, including current negotiated settings. Quit Exits diagnostics mode. Reset Resets the unit. Scan Air Reports found BSS’s. Available in wireless only and bridging modes. Wi232/WiUSB User Guide...
  • Page 70 Note: Entering any of the commands listed above generates one of the following command response codes: Command Response Codes Response Meaning 0> OK; no error 1> No answer from remote device 2> Cannot reach remote device or no answer 8> Wrong parameter(s) 9> Invalid command Wi232/WiUSB User Guide...
  • Page 71: Updating Firmware

    3. Select the desired unit and click the Upgrade icon or select Upgrade from the Device menu. The Device Upgrade Wizard appears. Follow the instructions on the wizard screens. The unit performs a power reset after the firmware has been loaded and stored. Wi232/WiUSB User Guide...
  • Page 73: Troubleshooting

    Cannot establish an Network Name (SSID) in the Verify Network Name (SSID) for Infrastructure network Wi232 is not set or doesn’t match the Wi232 and AP are exactly the connection to the Wi232. the Access Point (AP). same. These are case-sensitive.
  • Page 74 There may be an IP address Turn the device server off and but not Telnet to the device conflict on your network then issue the following server on port 9999. The Telnet configuration port commands at the DOS prompt of your computer: Wi232/WiUSB User Guide...
  • Page 75 If you are experiencing an error that is not described in this chapter, or if you are unable to fıx the error, you may check the online knowledge base for the WiPort at www.lantronix.com/support. Firmware downloads and FAQs are available at: www.lantronix.com/support Wi232/WiUSB User Guide...
  • Page 77: Binary To Hex Conversion

    (in this case, 4C). Use the following table to convert values from binary to hexadecimal. Decimal Binary 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Wi232/WiUSB User Guide...
  • Page 78: Scientific Calculator

    Windows’ operating systems. For example: 1. On the Windows’ Start menu, click Programs/Accessories/Calculator. 2. On the View menu, select Scientific. The scientific calculator displays. 3. Click Bin (Binary), and type the number to convert. Click Hex. The hexadecimal value displays. Wi232/WiUSB User Guide...

This manual is also suitable for:

Wiusb

Table of Contents