Lantronix 900-653-R User Manual

xDirect
User Guide
Revision A September 2012
Part Number 900-653-R

Copyright & Trademark

© 2012 Lantronix, Inc. All rights reserved. No part of the contents of this book may be transmitted or reproduced in any form or by any means without the written permission of Lantronix.
Lantronix® is a registered trademark and xDirect™ and DeviceInstaller™ are trademarks of Lantronix, Inc.
Windows® and Internet Explorer® are registered trademarks of Microsoft Corporation. Mozilla® and Firefox® are registered trademarks of the Mozilla Foundation. Chrome™ is a trademark of Google. Tera Term is a registered trademark of Vector, Inc. All other trademarks and trade names are the property of their respective holders.

Warranty

For details on the Lantronix warranty policy, please go to our web site at
www.lantronix.com/support/warranty

Contacts

Lantronix, Inc.
.
167 Technology Drive Irvine, CA 92618, USA
Toll Free: 800-526-8766 Phone: 949-453-3990 Fax: 949-450-7249
Technical Support
Online: www.lantronix.com/support
Sales Offices
For a current list of our domestic and international sales offices, go to the Lantronix web site at
www.lantronix.com/about/contact

Disclaimer

The information in this guide may change without notice. The manufacturer assumes no responsibility for any errors that may appear in this guide.

Revision History

Date Rev. Comments
September 2012 A Initial document for firmware version 6.9.0.0.
.
xDirect User Guide 2

Table of Contents

Copyright & Trademark ______________________________________________________2
Warranty _________________________________________________________________2
Contacts _________________________________________________________________2
Disclaimer ________________________________________________________________2
Revision History ___________________________________________________________2
List of Figures _____________________________________________________________8
List of Tables ______________________________________________________________9
1: Using this Guide 10
Purpose and Audience _____________________________________________________10
Chapter Summary _________________________________________________________10
Additional Documentation ___________________________________________________11
2: Introduction 12
Key Features _____________________________________________________________12
Applications ______________________________________________________________12
Protocol Support __________________________________________________________14
Additional Features _______________________________________________________14
Configuration Methods _____________________________________________________14
Product Information Label ___________________________________________________15
3: Installation of xDirect 16
Package Contents _________________________________________________________16
Installing the xDirect _______________________________________________________16
Required Information _______________________________________________________17
Hardware Address _____________________________________________________17
IP Address ___________________________________________________________17
4: Using DeviceInstaller 18
Installing DeviceInstaller ____________________________________________________18
Assigning an IP Address ____________________________________________________18
Adding the Unit to the Manage List ____________________________________________19
Accessing the xDirect Using DeviceInstaller _____________________________________19
Viewing the Current Configuration ____________________________________________19
Next Step ____________________________________________________________21
Assigning the IP Address: Serial Port Login _____________________________________21
xDirect User Guide 3
Table of Contents
5: Configuration Using Web Manager 22
Accessing xDirect Using DeviceInstaller ________________________________________22
Network Configuration ______________________________________________________24
Network Mode ________________________________________________________24
Automatic IP Address Configuration ________________________________________24
Static IP Address Configuration ___________________________________________25
Ethernet Configuration __________________________________________________25
Server Configuration _______________________________________________________26
Server Configuration ________________________________________________26
Advanced _________________________________________________________26
Host List Configuration _____________________________________________________28
Retry Settings ______________________________________________________28
Host Information ____________________________________________________28
Channel 1 Configuration ____________________________________________________29
Serial Settings ________________________________________________________29
Channel 1 _________________________________________________________29
Port Settings _______________________________________________________29
Pack Control _______________________________________________________30
Flush Input Buffer (Serial to Network) ___________________________________30
Flush Output Buffer (Network to Serial) __________________________________30
Connection Settings - TCP _______________________________________________31
Connect Protocol ___________________________________________________31
Connect Mode: Passive Connection ____________________________________31
Connect Mode: Active Connection ______________________________________32
Endpoint Configuration _______________________________________________32
Common Options ___________________________________________________32
Disconnect Mode ___________________________________________________33
Connection Settings - UDP _______________________________________________33
Connect Protocol ___________________________________________________34
Datagram Mode ____________________________________________________34
Endpoint Configuration _______________________________________________34
Apply Settings ____________________________________________________________35
Apply Defaults ____________________________________________________________35
6: Configuration Via Telnet or Serial Port (Setup Mode) 36
Accessing Setup Mode _____________________________________________________36
Telnet Connection _____________________________________________________36
Serial Port Connection __________________________________________________38
Exiting Setup Mode _______________________________________________________38
xDirect User Guide 4
Table of Contents
7: Setup Mode: Server Configuration 39
Server Configuration (Option 0) ______________________________________________39
IP Address ______________________________________________________________39
Set Gateway IP Address ___________________________________________________40
Netmask: Number of Bits for Host Part _________________________________________40
Set DNS Server IP Address _________________________________________________40
Change Telnet Configuration Password ________________________________________41
DHCP Name _____________________________________________________________41
8: Setup Mode: Channel Configuration 42
Channel 1 (Option 1) _______________________________________________________42
Baudrate ________________________________________________________________42
I/F (Interface) Mode ________________________________________________________43
Flow ___________________________________________________________________43
Port Number _____________________________________________________________44
Connect Mode ___________________________________________________________44
a) Incoming Connection _________________________________________________45
b) Response __________________________________________________________46
c) Active Startup _______________________________________________________46
Host List Option (Hostlist) ________________________________________________47
d) Datagram Type ______________________________________________________48
e) Modem Mode _______________________________________________________48
Send the Escape Sequence (+++) in Modem Mode _______________________________50
Show IP Address after 'RING' ________________________________________________50
Auto Increment Source Port _________________________________________________51
Remote IP Address _______________________________________________________51
Remote Port _____________________________________________________________51
Disconnect Mode (DisConnMode) ____________________________________________51
Flush Mode (Buffer Flushing) ________________________________________________52
Pack Control _____________________________________________________________53
Packing Interval _______________________________________________________53
Trailing Characters ____________________________________________________53
Send Characters ______________________________________________________53
DisConnTime (Inactivity Timeout) _____________________________________________54
Send Characters _________________________________________________________54
Telnet Terminal Type ______________________________________________________54
Channel (Port) Password ___________________________________________________54
xDirect User Guide 5
Table of Contents
9: Setup Mode: Advanced Settings 55
Expert Settings (Option 5) ___________________________________________________55
TCP Keepalive Time In Seconds __________________________________________55
ARP Cache Timeout In Seconds __________________________________________55
CPU Performance _____________________________________________________55
Monitor Mode at Bootup _________________________________________________56
HTTP Port Number _____________________________________________________56
MTU Size ____________________________________________________________56
TCP Re-Transmission Timeout ___________________________________________56
Enable Alternate MAC __________________________________________________56
Ethernet Connection Type _______________________________________________56
Security Settings (Option 6) _________________________________________________56
Disable SNMP ________________________________________________________57
SNMP Community Name ________________________________________________57
Disable Telnet Setup ___________________________________________________57
Disable TFTP Firmware Update __________________________________________58
Disable Port 77FE (Hex) ________________________________________________58
Disable Web Server ____________________________________________________58
Disable Web Setup _____________________________________________________58
Disable ECHO Ports ____________________________________________________58
Enable Encryption _____________________________________________________58
Enable Enhanced Password _____________________________________________59
Default Settings (Option 7) __________________________________________________59
Channel 1 Configuration Defaults __________________________________________60
Expert Settings Defaults _________________________________________________60
Security Settings Defaults _______________________________________________60
10: Firmware Upgrades 61
Obtaining Firmware ________________________________________________________61
Reloading Firmware _______________________________________________________61
Using TFTP: Graphical User Interface ______________________________________61
Using TFTP: Command Line Interface ______________________________________62
Recovering the Firmware Using the Serial Port and DeviceInstaller _______________62
11: Monitor Mode 64
Entering Monitor Mode Using the Serial Port ____________________________________64
Entering Monitor Mode Using the Network Port __________________________________64
Monitor Mode Commands ___________________________________________________65
xDirect User Guide 6
Table of Contents
Appendix A: Troubleshooting and Contact Info 67
LEDs ___________________________________________________________________67
Status LED ___________________________________________________________67
Serial LEDs ___________________________________________________________68
RJ45 Ethernet LED _____________________________________________________68
Problems and Error Messages _______________________________________________68
Technical Support _________________________________________________________71
Appendix B: Connections and Pinouts 72
Serial Port Pinouts ________________________________________________________72
Ethernet Connector Pinouts _________________________________________________73
Power Jack (Mini USB-B) ___________________________________________________74
Appendix C: Technical Specifications 75
Appendix D: Alternative Ways to Assign an IP Address 77
DHCP __________________________________________________________________77
AutoIP __________________________________________________________________77
BOOTP _________________________________________________________________78
ARP and Telnet __________________________________________________________78
Appendix E: Binary to Hexadecimal Conversions 79
Converting Binary to Hexadecimal ____________________________________________79
Conversion Table ______________________________________________________79
Scientific Calculator ____________________________________________________79
Appendix F: Compliance 81
xDirect User Guide 7

List of Figures

Figure 2-1 Serial Tunneling Example ________________________________________________13
Figure 2-2 Direct TCP/IP or Redirector Configuration ____________________________________13
Figure 2-3 Product Label __________________________________________________________15
Figure 2-4 Sample Hardware Address ________________________________________________15
Figure 3-1 xDirect with PoE Connected to a Serial Device and Network ______________________16
Figure 3-2 Standard xDirect (without PoE) Connected to a Serial Device and Network __________16
Figure 5-1 Web Manager Login Window ______________________________________________22
Figure 5-2 Lantronix Web Manager __________________________________________________23
Figure 5-3 Network Settings ________________________________________________________24
Figure 5-4 Server Settings _________________________________________________________26
Figure 5-5 Hostlist Settings ________________________________________________________28
Figure 5-6 Channel Serial Settings __________________________________________________29
Figure 5-7 TCP Connection Settings _________________________________________________31
Figure 5-8 UDP Connection Settings _________________________________________________34
Figure 5-9 Apply Settings and Apply Defaults __________________________________________35
Figure 6-1 MAC Address and Login Prompt ___________________________________________36
Figure 6-2 Setup Menu Options _____________________________________________________37
Figure 7-1 Network Settings ________________________________________________________39
Figure 8-1 Serial Port Settings ______________________________________________________42
Figure 8-8 Host List Option (Hostlist) _________________________________________________47
Figure 9-1 Expert Settings _________________________________________________________55
Figure 9-2 Security Settings ________________________________________________________57
Figure 10-2 TFTP Window ________________________________________________________62
Figure 11-1 MAC Address and Login Prompt __________________________________________64
Figure A-1 xDirect LEDs ___________________________________________________________67
Figure B-1 Single Serial Port and Ethernet Port on xDirect ________________________________72
Figure B-2 DB9F in RS232 Mode (All Models) __________________________________________72
Figure B-3 DB9F in RS422/485 (4-Wire) Mode (xDirect485 & PoE Models) ___________________72
Figure B-4 DB9F in RS485 (2-Wire) Mode (xDirect485 & PoE Models)_______________________73
Figure B-5 RJ45 Ethernet Connector _________________________________________________73
Figure B-7 Mini USB Power Port Connector on Standard xDirect Units_______________________74
Figure E-2 Windows Scientific Calculator ______________________________________________80
Figure E-3 Hexadecimal Values in the Scientific Calculator _______________________________80
xDirect User Guide 8

List of Tables

Table 4-1 xDirect Configuration in DeviceInstaller _______________________________________19
Table 7-2 BootP/DHCP/AutoIP options _______________________________________________39
Table 7-3 Standard IP Network Netmasks _____________________________________________ 40
Table 8-2 Interface Mode Options ___________________________________________________43
Table 8-3 Common Interface Mode Settings ___________________________________________43
Table 8-4 Flow Control Options _____________________________________________________44
Table 8-5 Reserved Port Numbers __________________________________________________44
Table 8-6 Connect Mode Options ___________________________________________________45
Table 8-7 Manual Connection Address Example ________________________________________46
Table 8-9 Modem Mode Messages __________________________________________________49
Table 8-10 Modem Mode Commands ________________________________________________50
Table 8-11 Disconnect Mode Options ________________________________________________52
Table 8-12 Flush Mode Options _____________________________________________________52
Table 8-13 Pack Control Options ____________________________________________________53
Table 10-1 Firmware Files _________________________________________________________61
Table 11-2 Monitor Mode Commands ________________________________________________65
Table 11-3 Command Response Codes ______________________________________________66
Table A-2 Status LED _____________________________________________________________67
Table A-3 Serial LEDs_____________________________________________________________68
Table A-4 Ethernet Link LED _______________________________________________________68
Table A-5 Ethernet Activity LED _____________________________________________________68
Table A-6 Problems and Error Messages______________________________________________68
Table B-6 Ethernet RJ45 Connector Pin-Outs __________________________________________73
Table C-1 xDirect Technical Specifications_____________________________________________75
Table E-1 Binary to Hexadecimal Conversion __________________________________________79
xDirect User Guide 9

1: Using this Guide

Purpose and Audience

This guide provides the information needed to configure, use, and update the xDirect device server. It is for system administrators and those responsible for installing and maintaining the xDirect.

Chapter Summary

The remaining chapters in this guide include:
Chapter Description
Chapter 2: Introduction Describes the main features of the xDirect and the protocols it supports. Chapter 3: Installation of
xDirect Chapter 4: Using
DeviceInstaller Chapter 5: Configuration
Using Web Manager Chapter 6: Configuration Via
Telnet or Serial Port (Setup Mode)
Chapter 7: Setup Mode: Server Configuration
Chapter 8: Setup Mode: Channel Configuration
Chapter 9: Setup Mode: Advanced Settings
Chapter 10: Firmware Upgrades
Chapter 11: Monitor Mode Provides instructions for accessing and using the command line interface to
Appendix A: Troubleshooting and Contact Info
Appendix B: Connections and Pinouts
Appendix C: Technical Specifications
Appendix D: Alternative Ways to Assign an IP Address
Appendix E: Binary to Hexadecimal Conversions
Appendix F: Compliance Provides Lantronix compliance information.
Provides information for installing your unit and getting it up and running using DeviceInstaller or a serial port connection.
Instructions for viewing the current configuration using DeviceInstaller.
Details 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 network (server) settings
Details the serial port settings.
Details expert and security settings and explains how to reset the unit to factory default values.
Provides instructions for obtaining the latest firmware and updating the xDirect.
monitor the network and diagnose problems.
Describes common problems and error messages and how to contact Lantronix Technical Support.
Provides descriptions and illustrations of connection hardware.
Lists technical specifications for the xDirect.
Provides detailed information about using DHCP, AutoIP, BOOTP, ARP, and Telnet to assign an IP address.
Provides instructions for converting binary values to hexadecimals.
xDirect User Guide 10

Additional Documentation

Visit the Lantronix Web site at www.lantronix.com/support/documentation for the latest documentation and the following additional documentation.
Document Description
xDirect Quick Start Provides the steps for getting the xDirect up and running. DeviceInstaller Online Help Provides instructions for using the Windows-based utility to configure
“Live” Tutorials on the Lantronix Web Site (English)
Com Port Redirector User Guide
1: Using this Guide
the xDirect and other Lantronix device servers.
Explain and demonstrate assigning an IP address to the xDirect and setting up the xDirect and Com Port Redirector. See http://ltxfaq.custhelp.com/app/answers/detail/a_id/1119
Provides information on using the Windows-based utility to create a virtual com port.
.
xDirect User Guide 11

2: Introduction

xDirect is a sleek and compact Serial-to-Ethernet device server, providing quick and easy Ethernet connectivity to virtually any device or machine with a serial interface. With an integrated Ethernet port and serial cable, multiple power options including PoE, and an industry-best five year warranty, xDirect provides a portable, extremely flexible, and highly affordable network connectivity solution in the market. xDirect comes with a built-in web server that enables users to access and configure the unit using a standard web browser on a PC, smartphone, or tablet from anywhere. With plug-and-play simplicity, small form factor, multiple power options, and a robust device server application, xDirect provides the easiest and shortest path to network connectivity ‘right on the wire’.

Key Features

Complete Network Connectivity Solution
Integrated 10/100 Ethernet Port and Serial Cable
Complete Device Server Application with Full IP Stack and Web Server
Space Saving Form Factor
Serial Data Rate of up to 921 Kbps
128/192/256-bit AES Encryption
Flexible Power Options: 5 VDC USB Jack, 5-15 VDC DB9 Pin 9, and PoE
Extended Temperature Range of -40° to 85°C
1
2
3
5-year Limited Warranty
Short cable
256-bit AES Encryption
Password Protection

Applications

The xDirect family of Device Servers allows serial devices, such as those listed below, to connect and communicate over Ethernet networks using the IP protocol family (TCP for connection­oriented stream applications and UDP for datagram applications).
ATM Machines
CNC Controllers
Data Collection Devices
Automation Control
Data Display Devices/Digital Signage
1.When high performance mode in server settings is enabled.
2.PoE model only.
3.Non-PoE models only (UL certified -40
° to +75°C).
xDirect User Guide 12
2: Introduction
HVAC Systems
Medical Devices
Oil and Gas Exploration
Security Alarms and Access Control Devices
Telecommunications Equipment
Time/Attendance Clocks and Terminals
Universal Power Supply (UPS) Management Units
Using a method called serial tunneling, the xDirect encapsulates serial data into packets and transports them over Ethernet. Using two xDirect units, connected by a network, virtual serial connections can extend across a facility or around the world.
Figure 2-1 Serial Tunneling Example
The Com Port Redirector software available for download at
www.lantronix.com/support/downloads
simplifies the integration process by extending the functionality of COM-port-based Windows™ applications. Virtual COM ports, mapped to remote device servers on the network, can replace direct serial connections.
Figure 2-2 Direct TCP/IP or Redirector Configuration
Note: For step-by-step instructions on configuring the xDirect for serial tunneling or for
use with the Com Port Redirector, see xDirect Configuration Tutorials on the Lantronix web site: www.lantronix.com/support
.
xDirect User Guide 13

Protocol Support

The xDirect uses the Internet Protocol (IP) for network communications and the Transmission Control Protocol (TCP) to assure that no data is lost or duplicated and that everything sent to the connection arrives correctly at the target.
Supported protocols include:
ARP, UDP/IP, TCP/IP, BOOTP, ICMP, Telnet, TFTP, AutoIP, DHCP, HTTP, and SNMP for
network communications.
TCP/IP, UDP/IP, and Telnet for connections to the serial port as well as Telnet Com Port
Control.
TFTP for firmware 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 a point-to-point connection.

Additional Features

2: Introduction
Modem Emulation: In modem emulation mode, the xDirect can replace dial-up modems. The unit
accepts modem AT commands on the serial port and then establishes a network connection to the end device. This arrangement leverages network connections and bandwidth to eliminate dedicated modems and phone lines.
Built-in Web Server: The xDirect includes a built-in web server for configuring the unit and
displaying operating and troubleshooting information on the attached links to online support.
Security Features: Password Protection and 256-bit AES Encryption

Configuration Methods

After installation, the xDirect requires configuration. 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 xDirect and assigning IP addresses and other configurable settings:
Web Manager: View and configure all settings easily through a web browser using the
Lantronix Web Manager. See Chapter 5: Configuration Using Web Manager.
DeviceInstaller: Configure the IP address and related settings and view current settings on
the xDirect using a Graphical User Interface (GUI) on a PC attached to a network. You will
need the latest version of DeviceInstaller. See Chapter 4: Using DeviceInstaller.
Serial and Telnet Ports: Use Setup Mode, a command line interface. There are two
approaches to accessing Setup Mode: making a Telnet connection to the network port (9999) or connecting a terminal (or a PC running a terminal emulation program) to the unit's serial
port. See Chapter 6: Configuration Via Telnet or Serial Port (Setup Mode).
xDirect User Guide 14

Product Information Label

Note: The hardware address on the
label is also the product serial number. The hardware address on the label is the address for the Ethernet (eth0) interface.
The product information label on the unit contains the following information about the specific unit:
Part Number
Revision
Manufacturing Date Code
Product Model
Country of Origin
Lantronix Datamatrix Barcode
MAC Address (also used as Serial Number)
2: Introduction
Figure 2-3 Product Label
The first three bytes of the hardware address are fixed and identify the unit as a Lantronix product. The fourth, fifth, and sixth bytes are unique numbers assigned to each unit.
00-80-A3-14-01-18 or 00:80:A3:14:01:18
xDirect User Guide 15
Figure 2-4 Sample Hardware Address

3: Installation of xDirect

This chapter describes how to install your xDirect and get it up and running in the shortest possible time.

Package Contents

Verify and inspect the contents of the xDirect package using the following list. If any item is missing or damaged, contact your place of purchase immediately.
xDirect
Power supply*
Note: *Power supply available for non-Power Over Ethernet (PoE) units only.
Quick Start Guide

Installing the xDirect

Figure 3-1 xDirect with PoE Connected to a Serial Device and Network
Figure 3-2 Standard xDirect (without PoE) Connected to a Serial Device and Network
To install the unit:
Note: See the Connections and Pinouts for details about connectors and pinouts.
1. Connect a serial device to your xDirect.
2. Connect an Ethernet cable to the RJ45 port.
3. For the xDirect PoE version, power is supplied to your unit over the Ethernet interface using an
802.3af PoE-compliant power source such as a PoE mid-span or PoE Ethernet switch.
Note: xDirect is a PoE Power Device, Class 1. For indoor use only. Do not connect
to PoE networks with cable routing to the outside plant!
xDirect User Guide 16
4. For non-PoE xDirect unit, supply power to your unit using the power supply that was included
in the packaging.
Note: The provided power supply is 5 VDC 1A. For all xDirect units power can also
be supplied via pin 9 (+) and pin 5 (-) on the DB9F connector (voltage range = 5 VDC to 15 VDC). The xDirect will draw 1.3W max power.

Required Information

Before configuring the xDirect, have the following information available:

Hardware Address

Take note of the unit’s hardware address (also known as the Ethernet or MAC address). It is on the product label, in the format: 00-80-A3-XX-XX-XX, where the XXs are unique numbers
assigned to the product (see Product Information Label).
Hardware Address: _____-_____-_____-_____-_____-_____

IP Address

The xDirect must have a unique IP address on your network. This address references the specific unit. By default, the unit is DHCP-enabled and automatically assigned an IP address on DHCP­enabled networks. If you are assigning a static IP address, the systems administrator generally provides the IP address, subnet mask, and gateway.
3: Installation of xDirect
Note: The factory default IP address is 0.0.0.0 to enable DHCP, BOOTP, and AutoIP.
When the units boots, it sends a DHCP broadcast to try and get an IP address. If it receives no reply from a DHCP server, the xDirect tries BOOTP. If the xDirect does not receive a response from BOOTP, it reverts to an AutoIP address.
IP Address: _______ _______ _______ _______
Subnet Mask: _______ _______ _______ _______
Gateway: _______ _______ _______ _______
You have several options for assigning an IP address and related network settings to your unit. This chapter provides information about using the DeviceInstaller (graphical user interface) and serial port login (command line interface) methods.
Note: For information about other methods of assigning the IP address, such as DHCP,
AutoIP, ARP, and Telnet, see
Appendix D: Alternative Ways to Assign an IP Address.
xDirect User Guide 17

4: Using DeviceInstaller

This chapter covers the steps for getting the xDirect device server online and for viewing its current configuration.
Note: DeviceInstaller is a free utility program provided by Lantronix that discovers,
configures, upgrades, and manages Lantron ix Device Servers. It can be downloaded from the Lantronix website at www.lantronix.com/support/downloads
For instructions on using DeviceInstaller to configure the IP address and related settings or for more advanced features, see the DeviceInstaller Online Help.

Installing DeviceInstaller

To install DeviceInstalle r:
1. Download the latest version of DeviceInstaller from
http://www.lantronix.com/support/downloads
2. Run the executable to start the installation process.
3. Respond to the installation wizard prompts. (If prompted to select an installation type, select
Typical).
.
.

Assigning an IP Address

The unit’s IP address must be configured before it can work correctly on a network. The unit’s IP address is normally set to 0.0.0.0 at the factory. The hardware address is on the product label. The unit is DHCP enabled as the default.
To assign an IP address manually:
1. Click StartPrograms LantronixDeviceInstallerDeviceInstaller. If your PC has
more than one network adapter, a message displays. Select an adapter and click OK.
Note: If the unit already has an IP address (e.g., DHCP has assigned an IP
address), click the Search icon and select the unit from the list of Lantronix device servers on the local network.
2. Click the Assign IP icon.
3. If prompted, enter the hardware address (on the product label) and click Next.
4. Select Assign a specific IP address and click Next.
5. Enter the IP address. The Subnet mask displays automatically based on the IP address; if
desired, you may change it. On a local network, you can leave the Default gateway blank (all zeros). Click Next.
6. Click the Assign button and wait several seconds until a confirmation message displays. Click
Finish.
7. Select the device from the main window list and select Ping from the Tools menu. The Ping
Device dialog box shows the IP address of the selected unit.
8. From the Tools menu, click the Ping button. The results display in the Status window. Click
xDirect User Guide 18
the Clear Status button to clear the window so you can ping the device again.
Note: If you do not receive “Reply” messages, make sure the unit is attached to the
network properly and the IP address assigned is valid for the particular network segment you are working with. If you are not sure, check with your systems administrator.
9. Click the Close button to close the dialog box and return to the main window.

Adding the Unit to the Manage List

Now add the unit to the list of similar Lantronix devices on the network so you can manage and
configure it. To perform this step, click the Search icon.
DeviceInstaller locates the unit and adds it to the list. Now you can manage (configure) the unit so it works with the serial device on the network.

Accessing the xDirect Using DeviceInstaller

1. Click StartPrograms LantronixDeviceInstallerDeviceInstaller.
4: Using DeviceInstaller
2. Click the xDirect folder. The list of available Lantronix xDirect devices displays.
3. Expand the list of xDirects by clicking the + symbol next to the xDirect icon. Select the xDirect
unit by clicking on its IP address to view its configuration.

Viewing the Current Configuration

DeviceInstaller provides a view of the unit's configuration.
To view the unit's current settings:
1. Follow the instructions above to locate the xDirect.
2. In the right pane, click the Device Details tab. The current xDirect configuration displays.
Table 4-1 xDirect Configuration in DeviceInstaller
Current Settings Description
Name
DHCP Device Name Non-configurable field. Displays the name associated with xDirect’s
Group
Configurable field. A name that identifies the xDirect. The name field is blank by default. Double-click the field, type in the value, and press
Enter to complete. This name is not visible on other PCs or laptops
using DeviceInstaller.
current IP address, if the IP address was obtained dynamically.
To change the DHCP device name, see Chapter 5: Configuration Using
Web Manager or Chapter 6: Configuration Via Telnet or Serial Port (Setup Mode).
Configurable field. A group name to categorize the xDirect. Double-click
the field, type in the value, and press Enter to complete. This group
name is not visible on other PCs or laptops using DeviceInstaller.
xDirect User Guide 19
4: Using DeviceInstaller
Current Settings (continued) Description
Comments Configurable field. Information about the xDirect. Double-click the field,
type in the value, and press Enter to complete. This description or
comment is not visible on other PCs or laptops using DeviceInstaller.
Device Family Non-configurable field. Displays the xDirect’s device family as xDirect. Type Non-configurable field. Displays the device type as XDT232 or XDT485. ID Non-configurable field. Displays the xDirect’s ID embedded Hardware Address Non-configurable field. Displays the xDirect’s hardware (or MAC)
address.
Firmware Version Non-configurable field. Displays the firmware currently installed on the
xDirect.
Extended Firmware Version Non-configurable field. Displays the full version nomenclature of the
firmware.
Online Status Non-configurable field. Displays the xDirect’s status as online, offline,
unreachable (the xDirect is on a different subnet), or busy (the xDirect is currently performing a task).
IP Address Non-configurable field. Displays the xDirect’s current IP address. To
change the IP address, see Assigning an IP Address.
IP Address was Obtained Non-configurable field. Displays “Dynamically” if the xDirect automatically
received an IP address (e.g., from DHCP). Displays “Statistically” if the IP address was configured manually. If the IP address was assigned dynamically, the following fields appear:
Obtain with DHCP with value of True or FalseObtain with BOOTP with value of True or FalseObtain with RARP with value of True or FalseObtain with Auto IP with value of True or False
Subnet Mask Non-configurable field. Displays the xDirect’s current subnet mask. To
change the subnet mask, see Assigning an IP Address.
Gateway Non-configurable field. Displays the xDirect’s current gateway. To change
the gateway, see Assigning an IP Address.
Number of COB partitions
Non-configurable field. Displays the number of COB partitions supported.
supported Number of Ports Non-configurable field. Displays the number of ports on the xDirect. TCP Keepalive Non-configurable field. Displays the xDirect’s TCP keepalive value. The
value is in the range 1-65s, and the default setting is 45.
Telnet Supported Non-configurable field. Indicates if Telnet sessions are permitted.
Displays True.
Telnet Port Non-configurable field. Displays the xDirect’s port for telnet sessions. Web Port Non-configurable field. Displays the xDirect’s port for Web Manager
configuration.
Maximum Baud Rate Supported
Non-configurable field. Displays the xDirect’s maximum baud rate.
Note: The xDirect may not currently be running at this rate.
Firmware Upgradable Non-configurable field. Displays True, indicating the xDirect’s firmware is
upgradable as newer version become available.
Supports Configurable Pins Non-configurable field. Displays False. Supports Email Triggers Non-configurable field. Displays False. Supports AES Data Stream Non-configurable field. Displays True. xDirect supports AES encryption
within the unit.
xDirect User Guide 20
4: Using DeviceInstaller
Current Settings (continued) Description
Supports 485 Non-configurable field. xDirect supports the RS-485 protocol. Displays:
False for XDT232.True for XDT485.
Supports 921K Baud Rate Non-configurable field. Displays True. xDirect supports baud rates up to
921600 bits per second (bps).
Supports HTTP Server Non-configurable field. Displays True. Supports HTTP Setup Non-configurable field. Displays True. Supports 230K Baud Rate Non-configurable field. Displays True. xDirect supports a baud rate of
230400.
Supports GPIO Non-configurable field. Displays False, indicating the xDirect does not
support General Purpose Input Output (GPIO).

Next Step

Now that the xDirect unit has an IP address and other initial settings, you can configure it.
1. Double-click the unit in the list. Details about the unit display.
2. You have the following options:
To configure the unit using a Web browser, click the Web Configuration tab. The Lantronix
Web Manager window displays in your browser. Continue with Chapter 5: Configuration
Using Web Manager.
Note: To assign Expert and Security settings, you must use the Setup Mode
window in a Telnet session.
To configure the unit using a Telnet session, click the Telnet Configuration tab. The Setup
Mode window displays. Continue with Chapter 6: Configuration Via Telnet or Serial Port
(Setup Mode).

Assigning the IP Address: Serial Port Login

To assign the IP address and other network settings using a serial connection:
1. Connect a console terminal or a PC running a terminal emulation program to the unit's serial
port. The default serial port settings are 9600 baud, 8 bits, no parity, 1 stop bit, no flow control.
2. To enter Setup Mode, cycle the unit's power (power off and back on). After power-up, the self-
test begins and the red Diagnostic LED starts blinking. You have one second to enter three lowercase x characters.
Note: The easiest way to enter Setup Mode is to hold down the x key at the terminal
(or emulation) while powering up the unit.
3. Select 0 (Server Configuration) and follow the prompts until you get to IP address.
4. Enter the new IP address, subnet mask, and gateway (if applicable).
5. Do one of the following:
Continue with Chapter 6: Configuration Via Telnet or Serial Port (Setup Mode). Select 9 to save and exit Setup Mode. The unit performs a power reset.
xDirect User Guide 21

5: Configuration Using Web Manager

You must configure the unit so it can communicate on a network with your serial device. For example, you must set the way the unit will respond to serial and network traffic, how it will handle serial packets, and when to start or close a connection.
The unit’s configuration is stored in nonvolatile memory and is retained without power. You can change the configuration at any time. The unit performs a reset after you change and store the configuration.
In this chapter, we describe how to configure the xDirect using Web Manager, Lantronix’s browser-based configuration tool. (For information on using Setup Mode, our command line
configuration interface, see Chapter 6: Configuration Via Telnet or Serial Port (Setup Mode).
Note: The examples in this section show a typical device. Your device may have
different configuration options.

Accessing xDirect Using DeviceInstaller

Note: For more information on DeviceInstaller, see Chapter 4: Using DeviceInstaller.
1. Run DeviceInstaller and search for the list of available Lantronix device servers.
2. Click on the xDirect folder. The list of available xDirect products display.
3. Expand the list of xDirect units by clicking the + symbol next to the xDirect icon.
4. Select the xDirect unit by clicking its hardware address.
5. In the right pane, click the Web Configuration tab.
6. To view the xDirect’s Web Manager in the current DeviceInstaller window, click the Go button.
To open the Web Manager in a web browser, click the External Browser button.
Note: Alternatively, to open Web Manager, open your web browser and enter the IP
address of the xDirect.
A dialog box appears to prompt for a User Name and Password.
Figure 5-1 Web Manager Login Window
7. Enter your user name and password. The factory-default user name is “admin” and the
password is “PASS”. The Device Status page of Web Manager displays.
xDirect User Guide 22
5: Configuration Using Web Manager
Figure 5-2 Lantronix Web Manager
8. Navigate between pages by clicking links in the left pane of the Web Manager window.
xDirect User Guide 23

Network Configuration

The unit’s network values display when you select Network from the main menu. The following
sections describe the configurable parameters on the Network Settings page.
5: Configuration Using Web Manager
Figure 5-3 Network Settings

Network Mode

1. Click Network from the main menu.
2. Note the following:
Network Mode
For the xDirect, Wired Only is the only choice. It enables the Ethernet network connectivity.

Automatic IP Address Configuration

An IP address can be assigned automatically. You then enter related network settings.
To assign an IP address automatically:
1. On the main menu, click Network.
2. Select Obtain IP address automatically.
3. Enter the following (as necessary):
BOOTP Select Enable to permit the Bootstrap Protocol (BOOTP) server to assign the IP
address from a pool of addresses automatically. Enable is the default.
DHCP Select Enable to permit the Dynamic Host Configuration Protocol (DHCP) to assign a
leased IP address to the xDirect unit automatically. Enable is the default.
xDirect User Guide 24
5: Configuration Using Web Manager
AutoIP Select Enable to permit the xDirect to generate an IP in the 169.254.x.x address
range with a Class B subnet. Enable is the default.
DHCP Host Name Enter the name of the host on the network providing the IP address.
Note: Disabling BOOTP, DHCP, and AutoIP (all three checkboxes) is not advised as the
only available IP assignment method will then be ARP or serial port.
4. When you are finished, click the OK button.
5. On the main menu, click Apply Settings.

Static IP Address Configuration

You can manually assign an IP address to the unit and enter related network settings.
To assign an IP address manually:
1. On the main menu, click Network.
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 in decimal-dot notation.
The IP address must be set to a unique value in the network.
Subnet Mask A subnet mask defines the number of bits taken from the IP address that are assigned
for the host part.
Default Gateway The gateway address, or router, allows communication to 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.
DNS Server The DNS server allows the name of a remote machine to be resolved automatically.
Enter the IP address of the DNS server. If the device is DHCP enabled, the DHCP server provides the DNS server IP address, which will override this configured value.
Note: This setting is applicable only in Manual Connection mode.
4. When you are finished, click the OK button.
5. On the main menu, click Apply Settings.

Ethernet Configuration

You must specify the speed and direction of data transmission.
To specify how data will be transmitted:
1. On the main menu, click Network.
2. Enter the following (as necessary):
Auto Negotiate With this option, the Ethernet port auto-negotiates the speed and duplex with the
hardware endpoint to which it is connected. This is the default.
If this option is not selected, complete the fields that become available:
Speed: The speed of data transmission. The default setting is 100 Mbps.Duplex: The direction of data transmission. The default setting is Full.
3. When you are finished, click the OK button.
4. On the main menu, click Apply Settings.
xDirect User Guide 25
Loading...
+ 57 hidden pages