Lantronix® and DeviceLinx® are registered trademarks of Lantronix, Inc. DeviceInstaller™ is
a trademark 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, Inc. All other trademarks and trade names are the property of their
respective holders.
Warranty
For details on the Lantronix warranty replacement policy, please go to our Web site at
Sales Offices
For a current list of our domestic and international sales offices, go to the Lantronix web site
at
www.lantronix.com/support
www.lantronix.com/about/contact.
Disclaimer
Operation of this equipment in a residential area is likely to cause interference, in which case
the user, at his or her own expense, will be required to take whatever measures may be
required to correct the interference.
Note: Changes or modifications to this device not explicitly approved by Lantronix will void
the user's authority to operate this device.
Revision Histor y
Date Rev. Firmware Comments
For the latest revision of this product document, please check our online documentation at
www.lantronix.com/support/documentation.
Micro125 User Guide2
Table of Contents
Copyright and Trademark ______________________________________________ 2
Warranty ___________________________________________________________ 2
Contacts ___________________________________________________________ 2
Disclaimer __________________________________________________________ 2
Revision History _____________________________________________________ 2
List of Figures _______________________________________________________ 6
List of Tables _______________________________________________________ 6
Capabilities _________________________________________________________ 9
Applications ________________________________________________________ 9
Protocol Support ____________________________________________________ 10
Configuration Methods _______________________________________________ 10
Addresses and Port Numbers _________________________________________ 10
Hardware Address _______________________________________________ 10
IP Address _____________________________________________________ 11
Port Numbers ___________________________________________________ 11
3. Getting Started12
Physically Connecting the Unit _________________________________________ 12
Required Information ________________________________________________ 12
Hardware Address _______________________________________________ 12
IP Address _____________________________________________________ 13
4. Using DeviceInstaller14
Installing DeviceInstaller ______________________________________________ 14
Assigning an IP Address _____________________________________________ 14
Accessing the Micro125 Using DeviceInstaller ____________________________ 15
Viewing the Current Configuration ______________________________________ 15
5. C
onfiguration Using Web Manager18
Accessing Web-Manager Using DeviceInstaller ___________________________ 18
Network Configuration _______________________________________________ 20
Network Mode __________________________________________________ 20
Automatic IP Address Configuration _________________________________ 20
Static IP Address Configuration _____________________________________ 21
Ethernet Configuration ____________________________________________ 22
Server Configuration _________________________________________________ 23
Server Configuration _____________________________________________ 23
Advanced ______________________________________________________ 24
Micro125 User Guide3
Host List Configuration _______________________________________________ 24
Retry Settings ___________________________________________________ 25
Host Information _________________________________________________ 25
Channel 1 and Channel 2 Configuration _________________________________ 25
Serial Settings __________________________________________________ 26
Connection Settings - TCP ________________________________________ 29
Serial Port Connection ____________________________________________ 36
Exiting Setup Mode _________________________________________________ 37
7. Setup Mode: Server Configuration 38
Server Configuration (Option 0) ________________________________________ 38
IP Address ________________________________________________________ 38
Set Gateway IP Address _____________________________________________ 39
Netmask: Number of Bits for Host Part __________________________________ 39
Set DNS Server IP Address ___________________________________________ 39
Change Telnet/Web-Manager Password _________________________________ 40
DHCP Name _______________________________________________________ 40
a) Incoming Connection ___________________________________________ 45
b) Response ____________________________________________________ 45
c) Active Startup _________________________________________________ 45
d) Datagram Type _______________________________________________ 48
e) Modem Mode _________________________________________________ 48
Send the Escape Sequence (+++) in Modem Mode ________________________ 50
Show IP addr after 'RING' ____________________________________________ 51
Auto Increment Source Port ___________________________________________ 51
Remote IP Address _________________________________________________ 51
Remote Port _______________________________________________________ 51
DisConnMode ______________________________________________________ 51
Flush Mode (Buffer Flushing) __________________________________________ 53
Pack Control _______________________________________________________ 53
Using TFTP: Graphical User Interface ________________________________ 63
Using TFTP: Command Line Interface _______________________________ 64
Recovering the Firmware Using the Serial Port and DeviceInstaller _________ 65
11. Monitor Mode 66
Entering Monitor Mode Using the Seria l Po rt ______________________________ 66
Entering Monitor Mode Using the Network Port ____________________________ 66
Describes the main features of the Micro125 and the protocols it
supports.
3: Getting Started
Provides information for physically connecting your unit.
4: Using DeviceInstaller
Provides information for getting your unit up and running, using
DeviceInstaller to assign an IP address.
5: Configuration Using Web
Details using the Web-Manager to set parameters such as port
terminal or terminal emulation progra m through the serial port.
Configuration
8: Setup Mode: Channel
Configuration
Details the serial port settings.
9: Setup Mode: Advanced
Settings
the unit to factory default values.
10: Firmware Upgrades
Provides instructions for obtaining the latest firmware and
updating the Micro125.
11: Monitor Mode
interface for monitoring the network and diagnosing problems.
12: Troubleshooting
Describes common problems and error messages and how to
contact Lantronix Technical Support.
A: Binary to Hexadecimal
Conversions
hexadecimals.
1. Using This Guide
Purpose and Audience
This guide covers the DeviceLinx Micro125 embedded device server. It provides the
information needed to configure, use, and update the Micro125 firmware and is intended for
OEMs and system integrators who are embedding Micro125 in th eir end product designs.
Chapter Summary
The remaining chapters in this guide include:
Chapter Description
Manager
6: Configuration via Telnet or
Serial Port (Setup Mode)
7: Setup Mode: Server
and server properties.
Provides instructions for accessing Setup Mode (command line
interface) using a Telnet connection through the network or a
Details the network (server) settings
Details expert, and security settings and explains how to reset
Provides instructions for accessing and using the command line
Provides instructions for conve rt ing binary numb ers to
Micro125 User Guide7
Additional Docume ntation
Micro125 Integration Guide
Provides information about the Micro125 hardware, testing
Micro125 into your product.
Com Port Redirector User Guide
Provides information on using the Window s-ba sed uti lity to
create a virtual com port.
DeviceInstaller Online Help
Provides information on using DeviceInstaller to configure IP
addresses and locate Lantronix devices on the network.
Visit the Lantronix Web site at www.lantronix.com/support/documentation for the latest
documentation and the following additional documentation.
Document Description
1: Using This Guide
the Micro125 using the evaluation boar d, and integr at ing the
Micro125 User Guide8
2. Introduction
This chapter summarizes the Micro125 device server’s features and the basic information
needed to get started.
Capabilities
The Micro125 device server has the following capabilities:
Connects devices through a TCP data channel or through a Telnet connection to
computers or to another device server. The Micro125 also supports UDP datagrams.
Contains a web [HTTP] server allowing presentation of custom content and easy
configuration through a browser.
Applications
The Micro125 device server connects serial devices such as those listed below to Ethernet
networks using the IP protocol family.
ATM machines
CNC controllers
Data collection devices
Environmental sensors
Universal Power Supply (UPS) management units
Telecommunications equipment
Data display devices
Security alarms and access control devices
Handheld instruments
Modems
Time/attendance clocks and terminals
Micro125 User Guide 9
Protocol Support
The Micro125 device server uses the Internet Protocol (IP) for network communications. It
uses 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, 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 m aintaining a poin t-to-point connection.
Configuration Me thods
2: Introduction
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 to assign an IP
address and configure the unit:
DeviceInstaller: Assign an IP address and view the current Micro125 configuration using a
Graphical User Interface (GUI) on a PC attached to a network. (See Using DeviceInstaller.)
Web-Manager: Through a web interface, configure the Micro125 and its settings using the
Micro125’s Web-Manager. (See 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 Configuration via Telnet or Serial Port
(Setup Mode).)
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 Micro125 using
DeviceInstaller.
Micro125 User Guide 10
2: 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 Micro125 is autom atically 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 wi ndo w. Ports 01024 are reserved as well. For more information on reserved port numbers, see Table 8-5.
Reserved Port Numbers.
Micro125 User Guide 11
RS232
10/100 Ethernet
+5
CON2
J1
3. Getting Start ed
This chapter covers the steps required to get an embedded device physically connected.
Physically Connecting the Unit
The following diagram shows a properly installed Micro125. Other devices connect in a
similar manner.
Figure 3-1. Evaluation Board Connected to Serial Device and Network
1. Connect a computer or serial device to your unit.
2. Connect an Ethernet cable to the RJ-45 Eth ernet por t.
3. Supply power to your unit using the power supply that was included in the packaging.
Note: The required input voltage for the Micro125 is 5VDC (+/-5% at ~200 mA). Other
devices may require a different voltage.
4. Supply power to the serial device.
Required Information
Hardware Address
You need to know the unit’s hardware address (also known as the MAC address), which is on
the product label. It is in the format: 00-20-4a-XX-XX-XX, where the XXs are unique numbers
assigned to the product.
Micro125 User Guide12
Hardware Address: 00-20-4a-_____-_____-_____
3: Getting Started
IP Address
Your device server must have a unique IP address on your network. The systems
administrator generally provides the IP address and corresponding subnet mask and
gateway. The IP address must be within a valid range, unique to your network, and in the
same subnet as your PC.
IP Address: _______ _______ _______ _______
Subnet Mask: _______ _______ _______ _______
Gateway: _______ _______ _______ _______
You have several options for assigning an IP address to your unit. We recommend that you
manually assign the IP address over the network using DeviceInstaller software, which is
described in Using DeviceInstaller.
Micro125 User Guide13
4. Using DeviceInstaller
This chapter covers the steps for getting the Micro125 device server online and viewing its
current configuration.
Note: DeviceInstaller is a free utility program provided by Lantronix that
discovers, configures, upgrades, and manages Lantronix 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
Online Help.
Installing DeviceInstaller
To install DeviceInstaller:
DeviceInstaller
1. Download the latest version of DeviceInstaller from
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. You have
several options for assigning an IP to your unit. We recommend that you manually assign the
IP address over the network using DeviceInstaller.
Note: To use a serial connection instead of an Ethernet connection to configure the device,
see Chapter 6: Configuration via Telnet or Serial Port (Setup Mode).
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 StartAll Programs LantronixDeviceInstaller 4.3DeviceInstaller. 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.
http://www.lantronix.com/downloads.
2. Click the Assign IP icon
3. If prompted, enter the hardware address (on the product label) and click Next.
Micro125 User Guide14
.
4: Using DeviceInstaller
Name
Configurable field. A name that identif ies the Micro125.
name is not visible on other PCs or laptops using DeviceInstaller.
DHCP Device Name
Non-configurable field. Displays the name associated with Micro125’s
or Configuration via Telnet or Serial Port (Setup Mode).
Group
group name is not visible on other PCs or laptops using DeviceInstaller.
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. T
ing Device dialog box shows the IP address of the selected unit.
P
8. From the Tools menu, click the Ping button. The results display in the Status window.
Click 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 properly attached to the
network and that 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.
2. Click the Micro folder. The list of available Lantronix Micro-type devices displays.
3. Expand the list of Micro125 devices by clicking the + symbol next to the Micro125 icon.
Select the Micro125 unit by clicking on its IP address to view its configuration.
Viewing the Current Configuration
DeviceInstaller provides a view of the unit's configuration.
he
To view the unit's current settings:
1. Follow the instructions above to locate the Micro125.
2. In the right pane, click the Device Details tab. The current Micro125 configuration
di
splays:
Device Details
Settings
Micro125 User Guide 15
Description
Double-click the field, type in the value, and press Enter to complete. This
current IP address, if the IP address was obtained dynamically.
To change the DHCP device name, see sections, Configuration Using
Web Manager
Configurable field. A group name to categorize the Micro125.
Double-click the field, type in the value, and press Enter to complete. This
4: Using DeviceInstaller
Comments
Configurable field. Information about the Micro125.
DeviceInstaller.
Device Family
Non-configurable field. Displays the Micro125’s dev ice family as Micro125.
Type
Non-configurable field. Displays the device type as Micro125.
ID
box.
Hardware Address
Non-configurable field. Displays the Micro125’s hardware (or MAC)
address.
Firmware Version
Micro.
Extended Firmware
Version
Non-configurable field. Displays the full version nomenclature of the
firmware.
Online Status
is currently performing a task).
IP Address
change the IP address, click Assign IP on the DeviceInstaller menu bar.
IP Address was
Displays “Dynamically” if the device automatically received an IP address
Obtain via Auto IP with value of True or False
Subnet Mask
Non-configurable field. Displays the Micro125’s curren t subn et mask.
Gateway
Non-configurable field. Displays the Micro125’s curren t gatew ay .
Number of COB
partitions supported
Non-configurable field. Displays the number of COB partitions supported.
Number of Serial
Ports
Non-configurable field. Displays the number of ports on the Micro125.
TCP Keepalive
Non-configurable field. Displays 1-65s, the Micro125’s TCP keepalive
value. The default setting is 45.
Telnet Supported
Non-configurable field. Indicates whether Telnet is enabled on this
Micro125.
Telnet Port
Non-configurable field. Displays the Micro125’s port for Telnet sessions.
Web Port
Non-configurable field. Displays the Micro125’s port for Web-Manager
configuration.
Maximum Baud Rate
Supported
Note: the Micro125 may not currently be running at this rate.
Device Details
Settings
Description
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
Non-configurable field. Displays the Micro125’s ID embedded within the
Non-configurable field. Displays the firmware currently installed on the
Non-configurable field. Displays the Micro125’s status as online, offline,
unreachable (the Micro125 is on a different subnet), or busy (the Micro125
Non-configurable field. Displays the Micro125’s current IP address. To
Obtained
(e.g., from DHCP). Displays “Statically” if the IP address was configured
manually. If the IP address was assigned dynamically, the following fields
appear:
Obtain via DHCP with value of True or False.
Obtain via BOOTP with value of True or False.
Obtain via RARP with value of True or False
Non-configurable field. Displays the Micro125’s maximum baud rate.
Micro125 User Guide 16
4: Using DeviceInstaller
Firmware
Upgradeable
Non-configurable field. Displays True, indicating the Micro125’s firmware is
upgradeable as newer versions become available.
Supports
Configurable Pins
available on the Micro125.
Supports Email
Triggers
Non-configurable field. Displays False, indicating email triggers are not
available on the Micro125.
Supports AES Data
Stream
encryption.
Supports 485
Non-configurable field. Displays True, indicating the Micro125 supports the
RS-485 protocol.
Supports 921K Baud
Rate
rates up to 921 Kbps.
Supports HTTP
Server
Non-configurable field. Displays True.
Supports HTTP
Setup
Supports 230K Baud
Rate
Non-configurable field. Displays True.
Supports GPIO
support communication via General Purpose Input Output (GPIO).
Device Details
Settings
Description
Non-configurable field. Displays False, indicating configurable pins are not
Non-configurable field. Displays True if the Micro125 unit supports AES
Non-configurable field. Displays False. Micro125 does not support baud
Non-configurable field. Displays True.
Non-configurable field. Displays False, indicating the Micro125 does not
Micro125 User Guide17
5. Configuration Using Web Manager
You must configure the unit so that 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 Micro125 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 Web-Manager 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 Micro folder. The list of available Micro type devices displays.
3. Expand the list of Micro125 devices by clicking the + symbol next to the Micro125 icon.
4. Select the Micro125 unit by clicking its hardware address.
5. In the right pane, click the WebConfiguration tab.
6. To view the Micro125’s Web-Manager in the current DeviceInstaller window, click the Go
button. To open the Web-Manager in a web browser, click the ExternalBrowser button.
Note: Alternatively, to open Web-Manager, open your web browser and enter the IP address
of the Micro125.
A dialog box appears to prompt for a User name and Password.
Micro125 User Guide 18
erform one of the following:
7. P
If no Telnet/Web Manager password has been defined (default), leave both fields
blank and click OK.
5: Configuration Using Web Manager
Figure 5-1. Web-Manager Login Window
If a Telnet/Web Manager password has been defined, leave the usernam e blank,
type in the password, and then click OK.
The Web-Manager displays.
Figure 5-2. Lantronix Web-Manager
he main menu is in the left pane of the Web-Manager window.
T
Micro125 User Guide19
Network Configuration
The unit’s network values display when you select Network from the main menu. The
following sections describe the conf ig urab le par ameters 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. Select Wired Only. It is the only choice for Network Mode as it enables the Ethernet
network connectivity.
Automatic IP Address Configuration
An IP address can be assig ned 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.
Micro125 User Guide 20
5: Configuration Using Web Manager
BOOTP
Select Enable to permit the Bootstrap Protocol (BOOTP). server to assign
default.
DHCP
Select Enable to permit the Dynamic Host Configuration Protocol (DHCP) to
default.
AutoIP
Select Enable to permit the Micro125 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 desired host name for the Micro125.
IP Address
If DHCP is not used to assign IP addresses, enter it manually in decimaldot notation. The IP address must be set to a unique value in the network.
Subnet Mask
are assigned for the host part.
Default Gateway
The gateway address, or router, allows communication to other LAN
must be within the local network.
DNS Server
Note: This setting is applicable only in Manual Connection mode.
3. Enter the following (as necessary):
Dynamic IP Setting Description
the IP address from a pool of addresses automatically. Enable is the
assign a leased IP address to the Micro125 unit automatically. Enable is the
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 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):
Static IP Settings Description
A subnet mask defines the number of bits taken from the IP address that
segments. The gateway address should be the IP address of the router
connected to the same LAN segment as the unit. The gateway address
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.
4. When you are finished, click the OK button.
5. On the main menu, click Apply Settings.
Micro125 User Guide 21
5: Configuration Using Web Manager
Auto Negotiate
Duplex: The direction of data transmis si on. The default is Full.
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):
Ethernet Settings Description
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 o ption is no t selected , the complete the fields that become
available:
Speed: The speed of data transmission. The default is 100
Mbps.
3. When you are finished, click the OK button.
4. On the main menu, click Apply Settings.
Micro125 User Guide22
Server Configuration
Enhanced Password
Select whether to enable enhanced password:
length.
Telnet/Web Manager
Password
Enter the password required for Telnet configuration and Web
Manager access.
Retype Password
Re-enter the password required for Telnet confi gurat ion and Web
Manager access.
The unit’s server values display when you select Server from the main menu. The following
sections describe the configurable parameters on the Server Settings page.
5: Configuration Using Web Manager
Figure 5-4. Server Settings
To configure the Micro125’s device server settings:
1. On the main menu, click Server.
2. Configure or modify the following fields:
Server Configuration
Server Configuration
Settings
Micro125 User Guide 23
Description
Enable: selecting this option enables advanced password
creation, allowing you to create passwords up to 16 bytes in length.
Disable: selecting this option disables advanced password
creation, allowing you to create basic passwords up to 4 bytes in
Loading...
+ 51 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.