WiPort, with its patent-pending technology, is a trademark of Lantronix.
Ethernet is a trademark of XEROX Corporation. UNIX is a registered trademark of
The Open Group. Windows 95, Windows 98, Windows 2000, Windows NT, and
Windows XP are trademarks of Microsoft Corp. Netscape is a trademark of Netscape
Communications Corporation.
Contacts
Lantronix Corporate Headquarters
15353 Barranca Parkway
Irvine, CA 92618, USA
Phone: 949-453-3990
Fax: 949-453-3995
Technical Support
Phone: 800-422-7044 or 949-453-7198
Fax: 949-450-7226
Online: www.lantronix.com/support
Email support@lantronix.comSales Offices
For a current list of our domestic and international sales offices, go to the Lantronix
web site at http://www.lantronix.com/about/contact/
WiPort™ User Guide 2
Disclaimer and Revisions
This equipment has been tested and found to comply with the limits for a Class B
digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to
provide reasonable protection against harmful interference in a residential
installation. This equipment generates, uses, and can radiate radio frequency energy
and, if not installed and used in accordance with the instructions, may cause harmful
interference to radio communications. However, there is no guarantee that
interference will not occur in a particular installation. If this equipment does cause
harmful interference to radio or television reception, which can be determined by
turning the equipment off and on, the user is encouraged to try to correct the
interference by one of the following measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which
the receiver is connected.
Consult the dealer or an experienced radio/TV technician for help.
This device complies with Part 15 of the FCC Rules. Operation is subject to the
following two conditions: (1) This device may not cause harmful interference, and (2)
this device must accept any interference received, including interference that may
cause undesired operation.
This device is intended only for OEM Integrators of Mobile Equipment. The OEM
integrators should be aware of the following important issues.
Labeling of the End Product
The end product to integrate this module has to be clearly identified on the label that
this end product contains an FCC approved RF module. The format of such
statement could be "Contains Transmitter with FCC ID: R68WIPORT" or similar.
Integration Note
a) This module is authorized under limited module approval specified to mobile host
equipment. So, the antenna must be installed such that a minimum of 20cm is
maintained between the antenna and users.
b) The transmitter module may not be co-located with any other transmitter or
antenna.
As long as the 2 conditions above are met, further transmitter testing will not be
required. However, the OEM integrator is still responsible for testing their end-product
for any additional compliance requirements required with this module installed (for
example, digital device emission, PC peripheral requirements, etc.)
Note 2: In the event that these conditions can not be met (for example
certain laptop configurations, general purpose PCMCIA or similar cards, or
co-location with another transmitter), then the FCC authorization is no longer
considered valid and the FCC ID can not be used on the final product
(including the transmitter) and obtaining a separate FCC authorization.
Note 3: Changes or modifications to this device not explicitly approved
by Lantronix will void the user's authority to operate this device.
WiPort™ User Guide 3
Contents
Copyright and Trademark _________________________________________________2
Contacts ______________________________________________________________2
Disclaimer and Revisions _________________________________________________3
1: Using This Guide 8
Purpose and Audience ___________________________________________________8
Chapter Summary _______________________________________________________8
Additional Documentation _________________________________________________9
2: Introduction 10
Capabilities ___________________________________________________________10
Applications ___________________________________________________________10
Protocol Support _______________________________________________________11
Configuration Methods __________________________________________________11
Addresses and Port Numbers _____________________________________________11
Hardware Address __________________________________________________________11
IP Address_________________________________________________________________12
Port Numbers ______________________________________________________________12
3: Using DeviceInstaller 13
Accessing WiPort using DeviceInstaller _____________________________________13
Viewing the WiPort’s Current Configuration __________________________________13
4: Configuration Using Web-Manager 16
Accessing WiPort Web-Manager using DeviceInstaller__________________________16
Network Configuration___________________________________________________17
Automatic IP Address Configuration _____________________________________________18
Static IP Address Configuration ________________________________________________19
Server Configuration ____________________________________________________19
Host List Configuration __________________________________________________20
Channel 1 and Channel 2 Configuration _____________________________________21
Telnet Access ______________________________________________________________35
Serial Port Access___________________________________________________________36
WiPort™ User Guide 4
Contents
Server Configuration ____________________________________________________37
Set the IP Address __________________________________________________________37
Set the Gateway IP Address___________________________________________________37
Set the Netmask ____________________________________________________________37
Change Telnet Configuration Password __________________________________________38
DHCP Name _______________________________________________________________38
Channel 1 and Channel 2 Configuration _____________________________________39
Baudrate __________________________________________________________________39
I/F (Interface) Mode _________________________________________________________39
Flow______________________________________________________________________40
Port Number _______________________________________________________________41
Connect Mode______________________________________________________________42
Send the Escape Sequence (+++) in Modem Mode_________________________________48
Auto Increment Source Port ___________________________________________________48
Remote IP Address__________________________________________________________48
Remote Port _______________________________________________________________49
DisConnMode ______________________________________________________________49
Flush Mode ________________________________________________________________50
DisConnTime (Inactivity Timeout) _______________________________________________51
SendChar 1 and SendChar2___________________________________________________51
Telnet Terminal Type ________________________________________________________53
Channel (Port) Password _____________________________________________________53
Mail Server ________________________________________________________________54
Unit Name _________________________________________________________________54
Domain Name ______________________________________________________________54
Recipient 1 ________________________________________________________________54
Recipient 2 ________________________________________________________________54
Trigger 1 __________________________________________________________________54
Trigger 2 __________________________________________________________________55
Trigger 3 __________________________________________________________________55
TCP Keepalive Time _________________________________________________________58
ARP Cache Timeout _________________________________________________________58
Enable High Performance _____________________________________________________58
HTTP Port Number __________________________________________________________59
WiPort™ User Guide 5
Contents
SMTP Port Number__________________________________________________________59
MTU Size _________________________________________________________________59
Alternate MAC Address ______________________________________________________59
Ethernet Connection Type ____________________________________________________59
Entering Monitor Mode via the Serial Port____________________________________69
Entering Monitor Mode via the Network Port__________________________________69
Monitor Mode Commands ________________________________________________69
Using TFTP: Graphical User Interface ___________________________________________71
Using TFTP: Command Line Interface ___________________________________________72
Recovering the Firmware Using the Serial Port ____________________________________72
9: Troubleshooting 73
Diagnostic LED States___________________________________________________73
Problems and Error Messages ____________________________________________74
WiPort™ User Guide 6
Contents
Technical Support ______________________________________________________77
WiPort™ User Guide 7
11:: UUssiinngg TThhiiss GGuuiiddee
Purpose and Audience
This guide provides the information needed to configure, use and update the
WiPort
embedding the WiPort in their designs. This User Guide covers WiPort Device
Server versions WP2001000-01, WP2002000-01, WP2004000-01 (WiPort-485), and
WP2001000G-02 (WiPort-G).
Note: For the WiPort model WP2001000M-02, additional information can be found in
the Modbus Protocol User Guide located at
www.lantronix.com/support/documentation.html .
Chapter Summary
The remaining chapters in this guide include:
TM
and is intended for software developers and system integrators who are
Introduction
Using DeviceInstaller
Describes the main features of the WiPort and the protocols it
supports.
Provides information for viewing the WiPort’s configuration using
DeviceInstaller.
Configuration Using WebManager
Configuration via Serial Mode or
Telnet Port
Configurable Pins
Monitor Mode
Updating Firmware
Troubleshooting
Details configuration using the Web-Manager to set parameters
such as port and server properties.
Provides instructions for accessing Setup Mode (command line
interface) using a Telnet connection through the network or a
terminal or terminal emulation program through the serial port.
Details the parameters that you must configure.
Provides instructions for configuring the eleven General Purpose
I/O pins.
Provides instructions for accessing and using the command line
interface for monitoring the network and diagnosing problems.
Provides instructions for obtaining the latest firmware and updating
the WiPort.
Describes common problems and error messages and how to
contact Lantronix Technical Support. Also provides information on
diagnostic LEDs.
WiPort™ User Guide 8
Using This Guide
Additional Documentation
The following guides are available on the product CD and the Lantronix web site
(www.lantronix.com
)
WiPort Development Kit Quick
Start Guide
WiPort Integration Guide
Briefly explains the basics to get the WiPort up
and running.
Provides information about the WiPort
hardware and integrating the WiPort into
another product.
WiPort™ User Guide 9
22:: IInnttrroodduuccttiioonn
WiPort is a wireless embedded device server that provides a network-enabling
solution based on the IEEE 802.11b wireless standard. WiPort allows Original
Equipment Manufacturers (OEMs) to add wireless connectivity to their products by
incorporating it onto a circuit board.
The WiPort functions independently of a PC, providing a fully integrated solution that
combines a processor, memory, 802.11b, 802.11g transceiver, and dual high-speed
serial ports into a single compact module. It includes an operating system, an
embedded Web server, and a full TCP/IP protocol stack. In addition, the WiPort
sends email alerts and supports numerous other network communication protocols,
including ARP, UDP, TCP, ICMP, Telnet, AutoIP, DHCP, HTTP, SNMP, and SMTP.
Both Wired Equivalent Privacy (WEP) and Wireless Protected Access (WPA) are
available for security. WEP uses an RC4 encryption algorithm with a 64-bit or 128-bit
key. This key jumbles the data before it is sent over the airwaves. WPA is more
secure because re-keying is required. With WPA, the re-keying of global encryption
keys is required. This key is changed using TKIP for unicast traffic.
For OEMs who wish to customize the user interface by employing common and
familiar tools, the WiPort serves applets to a Web browser, resulting in interactive
Web pages. This customization of HTML Web pages and configuration screens
tailors the WiPort to fit unique requirements.
Capabilities
The WiPort device server has the following capabilities:
Communication between TCP and UDP to serial.
Wireless interface (802.11b and 802.11g) with WEP or WPA protection.
Ethernet interface.
Email notification of configurable alarms and events.
Upgradeable firmware.
SNMP monitoring.
Connects devices through a TCP or UDP data channel to computers or to
another device server.
Contains a web server allowing presentation of custom content and easy
configuration through the browser.
Contains eleven programmable I/O pins used to monitor or control attached
devices.
Applications
The WiPort device server connects serial devices such as those listed below to
wireless and Ethernet networks using the IP protocol family.
WiPort™ User Guide 10
Remote sensing
CNC controllers
Data collection devices
Telecommunications equipment
Data display devices
Security alarms and access control devices
Time clocks and terminals
Protocol Support
The WiPort device server uses the TCP/IP protocol stack for network
communications. Other supported protocols include:
ARP, UDP, TCP, ICMP, Telnet, TFTP, AutoIP, DHCP, HTTP, and SNMP for
network communications and management.
TCP, UDP, and Telnet for connections to the serial port.
TFTP for firmware and web page updates.
IP for addressing, routing, and data block handling over the network.
User Datagram Protocol (UDP) for typical datagram applications in which
devices interact with other devices without maintaining a point-to-point
connection.
SMTP for e-mail transmission.
Introduction
Configuration Methods
For the unit to operate correctly on a network, it must have a unique IP address on
the network. There are three basic methods for logging into the device server:
DeviceInstaller: View the current WiPort configuration using a Graphical User
Interface (GUI) on a PC attached to a network. (See 3:Using DeviceInstaller.)
Web-Manager: Through a web interface, configure the WiPort and its settings using
the WiPort’s Web-Manager. (See 4:Configuration Using Web-Manager.)
Serial & Telnet Ports: There are two approaches to accessing Serial Mode. Make
a Telnet connection to the network port (9999) or connect a terminal (or a PC running
a terminal emulation program) to the unit’s serial port. (See 5:Configuration via Serial
Mode or Telnet Port.)
Addresses and Port Numbers
Hardware Address
The hardware address is also referred to as the Ethernet address or the MAC
address. The first three bytes of the Ethernet address are fixed and read 00-20-4A,
identifying the unit as a Lantronix product. The fourth, fifth, and sixth bytes are unique
numbers assigned to each unit.
Example: 00-20-4A-14-01-18
Note: Make note of the MAC address. It is needed to locate the WiPort
using DeviceInstaller.
WiPort™ User Guide 11
Introduction
IP Address
Every device connected to an IP network must have a unique IP address. This
address is used to reference the specific unit. The WiPort is automatically assigned
an IP address on DHCP-enabled networks as it is DHCP-enabled by default.
Port Numbers
Every TCP connection and every UDP datagram is defined by a destination IP
address and a port number. For example, a Telnet application commonly uses port
number 23. A port number is similar to an extension on a phone system.
The unit's serial channel (port) can be associated with a specific TCP/UDP port
number. Port number 9999 is reserved for access to the unit's Setup (configuration)
Mode window. Ports 0-1024 are reserved as well. For more information on reserved
port numbers, refer to Table 5-6. Reserved Port Numbers.
WiPort™ User Guide 12
33:: UUssiinngg DDeevviicceeIInnssttaalllleerr
This chapter covers the steps for viewing the WiPort device server’s properties and
device details.
Accessing WiPort using DeviceInstaller
Note: Make note of the MAC address. It is needed to locate the WiPort
using DeviceInstaller. For more information on the hardware address, see
Hardware Address on page 11.
Follow the instructions on the product CD to install and run DeviceInstaller.
This chapter describes how to configure the WiPort using Web-Manager, Lantronix’s
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.
Accessing WiPort Web-Manager using DeviceInstaller
Note: Make note of the MAC address. It is needed to locate the WiPort
using DeviceInstaller. For more information on the hardware address, see
Hardware Address on page 11.
Follow the instructions on the product CD to install and run DeviceInstaller.
1. Click StartPrograms LantronixDeviceInstallerDeviceInstaller. If the
PC has more than one network adapter, a message displays requesting the
selection of a network adapter. Select an adapter and click OK.
2. Click the Search icon. The list of Lantronix device servers displays in the left
pane.
3. Click on the Wireless folder. The list of Lantronix wireless devices available
displays.
4. Expand the list of WiPorts by clicking the + symbol next to the WiPort icon.
5. Select the WiPort unit by clicking on its IP address.
6. In the right window, click the Web Configuration tab.
7. To view the WiPort’s Web-Manager in the current DeviceInstaller window, click
Go. To open the Web-Manager in a web browser, click Use ExternalBrowser.
The Web-Manager displays.
WiPort™ User Guide 16
Figure 4-1. Web-Manager
Configuration Using Web-Manager
The main menu is displayed in the left side of the Web-Manager window.
Note: Alternatively, access the WiPort’s Web-Manager if it is connected to
the network by entering its IP address in a web browser.
Network Configuration
The unit’s network values display upon selecting Network from the main menu. The
following sections describe the configurable parameters within the Network
configuration menu.
Note: The IP address is assigned via DHCP (on DHCP-enabled networks).
Assign a static IP address if preferred.
WiPort™ User Guide 17
Figure 4-2. Network Settings
Configuration Using Web-Manager
Automatic IP Address Configuration
To automatically assign an IP address and its network configuration:
1. Click Network from the main menu.
2. Select Obtain IP address automatically.
3. Enter the following (as necessary):
BOOTP
DHCP
Auto-IP The WiPort generates an IP in the 169.254.x.x address range
DHCP Host Name Enter the name of the host on the network providing the IP
Note: Disabling BOOTP, DHCP, and Auto-IP (i.e. all three checkboxes) is
not advised as the only available IP assignment method will then be ARP or
serial port.
Select Enable to permit the Bootstrap Protocol (BOOTP). The
BOOTP server automatically assigns the IP address from a
pool of addresses.
Select Enable to permit Dynamic Host Configuration Protocol
(DHCP). DHCP automatically assigns a leased IP address to
the WiPort unit.
with a Class B subnet. Select the Disable checkbox to
disable this feature.
address.
4. Click the OK button when finished.
WiPort™ User Guide 18
Static IP Address Configuration
To manually assign an IP address and its network configuration:
1. Click Network from the main menu.
2. Select Use the following IP configuration.
3. Enter the following (as necessary):
IP Address If DHCP is not used to assign IP addresses, enter it manually.
Subnet Mask A subnet mask defines the number of bits taken from the IP
Default Gateway The gateway address, or router, allows communication to
4. Click the OK button when finished.
Server Configuration
Configuration Using Web-Manager
The IP address must be set to a unique value in the network.
address that are assigned for the host part.
other LAN segments. The gateway address should be the IP
address of the router connected to the same LAN segment as
the unit. The gateway address must be within the local
network.
The unit’s server values display upon selecting Server from the main menu. The
following sections describe the configurable parameters within the Server
configuration menu.
Figure 4-3. Server Settings
WiPort™ User Guide 19
To configure the WiPort’s device server settings:
1. Click Server from the main menu.
2. Configure or modify the following fields:
Server Configuration
Telnet Password
Enter the password required for Telnet access.
Configuration Using Web-Manager
Retype Password
Re-enter the password required for Telnet access.
Advanced
ARP Cache Timeout When the unit communicates with another device on the
network, it adds an entry into its ARP table. ARP Cache
timeout defines the number of seconds (1-600) before it
refreshes this table.
TCP Keepalive TCP Keepalive time defines how many seconds the unit waits
during an inactive connection before checking its status. If the
unit does not receive a response, it drops that connection.
Enter a value between 0 and 60 seconds. 0 disables
keepalive.
Monitor Mode @ Bootup
CPU Performance Mode Select the WiPort’s performance mode. Higher performance
HTTP Server Port This option allows the configuration of the web server port
Select Disable to disable the entry into the monitor mode via
the 'yyy' or 'xx1' key sequence at startup. This command
prevents the unit from entering monitor mode by interpreting
the stream of characters that are received during the device
server's initialization at startup.
settings require more energy. Regular is 48 Mhz, High is
88 Mhz. The default is Regular. New screen has only high
and regular.
number. The valid range is 1-65535. The default HTTP
server port number is 80.
MTU Size The Maximum Transmission Unit (MTU) is the largest physical
packet size a network can transmit for TCP and UDP. Enter
between 512 and 1400 bytes. The default is 1400 bytes.
Host List Configuration
The WiPort scrolls through the host list until it connects to a device listed in the host
list table. After a successful connection, the unit stops trying to connect to any others.
If this connection fails, the unit continues to scroll through the table until the next
successful connection.
The host list supports a minimum of 1 and a maximum of 12 entries. Each entry
contains an IP address and a port number.
Note: The host list is disabled for Manual and Modem Mode. The unit will not
accept a data connection from a remote device when the hostlist option is
enabled.
To configure the WiPort’s host list:
1. From the main menu, click the Hostlist tab.
WiPort™ User Guide 20
Configuration Using Web-Manager
g
Figure 4-4. Hostlist Settings
2. Enter or modify the following fields from the Hostlist Settings window:
Retry Settings
Retry Counter Enter the value for the number of times the WiPort should
attempt to retry connecting to the host list.
Retry Timeout Enter the duration (in seconds) the WiPort should abandon
attempting a connection to the host list.
Host Information
Host Address
Port
Enter or modify the host’s IP address.
Enter the target port number.
Channel 1 and Channel 2 Configuration
Channel 1 and Channel 2 configurations define how the serial ports respond to
network and serial communication.
Serial Settings
To configure a channel’s serial settings:
1. From the main menu, click Serial Settings for either Channel 1 or Channel 2 to
display the Serial Settings page for the selected channel.
Figure 4-5. Channel Serial Settings
2. In the available fields, enter the following information:
Channel 1
Disable Serial Port Available on Channel 1 settin
WiPort™ User Guide 21
s only. When selected,
Configuration Using Web-Manager
disables communication through the serial port.
Port Settings
Protocol Select the protocol type from the pull down menu for the
selected channel. RS-422/485 4-wire and RS-485 2-wire
options are available on the WiPort-485 only.
Flow Control Flow control manages data flow between devices in a network
to ensure it is processed efficiently. Too much data arriving
before a device is prepared to manage it causes lost or
retransmitted data.
Baud Rate The unit and attached serial device, such as a modem, must
agree on a speed or baud rate to use for the serial connection.
Valid baud rates are 300, 600, 1200, 2400, 4800, 9600
(default), 19200, 38400, 57600, 115200, 230400, 460800, or
921600.
Data Bits
Parity Checks for the parity bit. The default is None.
Stop Bits The stop bit follows the data and parity bits in serial
Indicates the number of bits in a transmitted data package.
communication. It indicates the end of transmission.
Pack Control
Enable Packing
Idle Gap Time Select the maximum time for inactivity. The default time is 12
Match 2 Byte Sequence Use to indicate the end of a series of data to be sent as one
Match Bytes Use to indicate the end of a series of data to be sent as one
Select the checkbox to enable packing on the WiPort.
Two firmware-selectable packing algorithms define how and
when packets are sent to the network. The standard algorithm
is optimized for applications in which the unit is used in a local
environment, allowing for very small delays for single
characters, while keeping the packet count low. The alternate
packing algorithm minimizes the packet count on the network
and is especially useful in applications in a routed Wide Area
Network (WAN). Adjusting parameters in this mode can
economize the network data stream.
milliseconds.
group. The sequence must occur sequentially to indicate to
the WiPort end of the data collection.
group. Set this value to 00 if specific functions are not
needed.
Send Frame Only After the detection of the byte sequence, indicates whether to
send the data frame or the entire buffer. Select True to send
only the data frame.
Send Trailing Bytes Select the number of bytes to send after the end-of-sequence
characters.
Flush Input Buffer (Serial to Network)
With Active Connect
Select Yes to clear the input buffer with a connection that is
initiated from the device to the network.
WiPort™ User Guide 22
Configuration Using Web-Manager
With Passive Connect
At Time of Disconnect
Select Yes to clear the input buffer with a connection initiated
from the network to the device.
Select Yes to clear the input buffer when the network
connection to or from the device is disconnected.
Flush Output Buffer (Network to Serial)
With Active Connect
With Passive Connect
At Time of Disconnect
Select Yes to clear the output buffer with a connection that is
initiated from the device to the network.
Select Yes to clear the output buffer with a connection initiated
from the network to the device.
Select Yes to clear the output buffer when the network
connection to or from the device is disconnected.
Connection Settings - TCP
To configure a channel’s TCP settings:
1. From the main menu, click Connection for either Channel 1 or Channel 2 to
display the Connection Settings page for the selected channel.
2. In the available fields, enter the following information:
Connect Protocol
Protocol Select TCP from the pull down menu.
WiPort™ User Guide 23
Configuration Using Web-Manager
Figure 4-6. TCP Connection Settings
Connect Mode: Passive Connection
Accept Incoming Select Yes to accept incoming connections.
Password Required 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.
Connect Mode: Active Connection
Active Connect
Select None to disable Active Connect. Otherwise, indicate
the connection type from the drop-down list:
With Any Character: Attempts to connect when any
character is received from the serial port.
With Active Mdm Ctrl In: Accepts external
connection requests only when the
modem_control_in input is asserted.
WiPort™ User Guide 24
Loading...
+ 53 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.