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
Table E-1 Binary to Hexadecimal Conversion __________________________________________79
xDirect User Guide9
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:
ChapterDescription
Chapter 2: IntroductionDescribes 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 ModeProvides 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
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 Guide10
Additional Documentation
Visit the Lantronix Web site at www.lantronix.com/support/documentation for the latest
documentation and the following additional documentation.
DocumentDescription
xDirect Quick StartProvides the steps for getting the xDirect up and running.
DeviceInstaller Online HelpProvides 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 Guide11
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 connectionoriented 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 Guide12
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 Guide13
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 Guide14
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 Guide15
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 Guide16
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).
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 DHCPenabled 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 Guide17
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 Guide18
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.
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 NameNon-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, seeChapter 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 Guide19
4: Using DeviceInstaller
Current Settings (continued) Description
CommentsConfigurable 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 FamilyNon-configurable field. Displays the xDirect’s device family as xDirect.
TypeNon-configurable field. Displays the device type as XDT232 or XDT485.
IDNon-configurable field. Displays the xDirect’s ID embedded
Hardware AddressNon-configurable field. Displays the xDirect’s hardware (or MAC)
address.
Firmware VersionNon-configurable field. Displays the firmware currently installed on the
xDirect.
Extended Firmware VersionNon-configurable field. Displays the full version nomenclature of the
firmware.
Online StatusNon-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 AddressNon-configurable field. Displays the xDirect’s current IP address. To
change the IP address, see Assigning an IP Address.
IP Address was ObtainedNon-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 False
Obtain with BOOTP with value of True or False
Obtain with RARP with value of True or False
Obtain with Auto IP with value of True or False
Subnet MaskNon-configurable field. Displays the xDirect’s current subnet mask. To
change the subnet mask, see Assigning an IP Address.
GatewayNon-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 PortsNon-configurable field. Displays the number of ports on the xDirect.
TCP KeepaliveNon-configurable field. Displays the xDirect’s TCP keepalive value. The
value is in the range 1-65s, and the default setting is 45.
Telnet SupportedNon-configurable field. Indicates if Telnet sessions are permitted.
Displays True.
Telnet PortNon-configurable field. Displays the xDirect’s port for telnet sessions.
Web PortNon-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 UpgradableNon-configurable field. Displays True, indicating the xDirect’s firmware is
Supports GPIONon-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 withChapter 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 haveone 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 Guide21
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, seeChapter 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 Guide22
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 Guide23
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):
BOOTPSelect Enable to permit the Bootstrap Protocol (BOOTP) server to assign the IP
address from a pool of addresses automatically. Enable is the default.
DHCPSelect 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 Guide24
5: Configuration Using Web Manager
AutoIPSelect 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 NameEnter 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 AddressIf 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 MaskA subnet mask defines the number of bits taken from the IP address that are assigned
for the host part.
Default GatewayThe 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 ServerThe 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 NegotiateWith 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 Guide25
Loading...
+ 57 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.