Lantronix 900-588 User Manual

Micro125 User Guide

Part Number 900-588
Revision B March 2013
March 2011
A
6.7.0.2
Initial release
March 2013
B
6.8.0.4
Updated for firmware release 6.8.0.4.

Copyright and Trademark

© 2013 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, Inc.
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
www.lantronix.com/support/warranty.

Contacts

Lantronix Corporate Headquarters
167 Technology Drive Irvine, CA 92618, USA
Toll Free: 800-526-8766 Phone: 949-453-3990 Fax: 949-450-7249
Technical Support Online:
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 Guide 2

Table of Contents

Copyright and Trademark ______________________________________________ 2 Warranty ___________________________________________________________ 2 Contacts ___________________________________________________________ 2 Disclaimer __________________________________________________________ 2 Revision History _____________________________________________________ 2 List of Figures _______________________________________________________ 6 List of Tables _______________________________________________________ 6
1. Using This Guide 7
Purpose and Audience ________________________________________________ 7 Chapter Summary ___________________________________________________ 7 Additional Documentation______________________________________________ 8
2. I
ntroduction 9
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 Started 12
Physically Connecting the Unit _________________________________________ 12 Required Information ________________________________________________ 12
Hardware Address _______________________________________________ 12 IP Address _____________________________________________________ 13
4. Using DeviceInstaller 14
Installing DeviceInstaller ______________________________________________ 14 Assigning an IP Address _____________________________________________ 14 Accessing the Micro125 Using DeviceInstaller ____________________________ 15 Viewing the Current Configuration ______________________________________ 15
5. C
onfiguration Using Web Manager 18
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 Guide 3
Host List Configuration _______________________________________________ 24
Retry Settings ___________________________________________________ 25 Host Information _________________________________________________ 25
Channel 1 and Channel 2 Configuration _________________________________ 25
Serial Settings __________________________________________________ 26 Connection Settings - TCP ________________________________________ 29
Connection Settings - UDP ________________________________________ 32 Apply Settings ______________________________________________________ 33 Apply Defaults _____________________________________________________ 34
6. Configuration via Telnet or Serial Port (Setup Mode) 35
Accessing Setup Mode _______________________________________________ 35
Telnet Connection _______________________________________________ 35
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
8. Setup Mode: Channel Configuration 41
Channels__________________________________________________________ 41 Baudrate __________________________________________________________ 41 I/F (Interface) Mode _________________________________________________ 42 I/F Mode __________________________________________________________ 42 Flow _____________________________________________________________ 43 Port Number _______________________________________________________ 43 Connect Mode _____________________________________________________ 44
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
Packing Interval _________________________________________________ 54
Trailing Characters _______________________________________________ 54
Micro125 User Guide 4
Send Characters ________________________________________________ 54 DisConnTime (Inactivity Timeout) ______________________________________ 54 Send Characters ____________________________________________________ 55 Telnet Terminal Type ________________________________________________ 55 Channel (Port) Password _____________________________________________ 55
9. Setup Mode: Advanced Settings 56
Expert Settings (Option 5) ____________________________________________ 56
TCP Keepalive Time in Seconds ____________________________________ 56
ARP Cache Timeout in Seconds ____________________________________ 57
Disable Monitor Mode at Bootup ____________________________________ 57
HTTP Port Number ______________________________________________ 57
MTU Size ______________________________________________________ 57
TCP Re-transmission Timeout ______________________________________ 57
Enable Alternate MAC ____________________________________________ 57
Ethernet Connection Type _________________________________________ 57 Security Settings (Option 6) ___________________________________________ 58
Disable SNMP __________________________________________________ 58
SNMP Community Name __________________________________________ 58
Disable Telnet Setup _____________________________________________ 58
Disable TFTP Firmware Upgrade ___________________________________ 59
Disable Port 77FE (Hex) __________________________________________ 59
Disable Web Server ______________________________________________ 59
Disable Web Setup ______________________________________________ 59
Disable ECHO Ports _____________________________________________ 59
Enable Encryption _______________________________________________ 59
Enable Enhanced Password _______________________________________ 60 Default Settings (Option 7) ____________________________________________ 61
Channel 1 and Channel 2 Configuration Defaults _______________________ 61
Expert Settings Defaults __________________________________________ 61
Security Settings Defaults _________________________________________ 62
10. Firmware Upgrades 63
Obtaining Firmware _________________________________________________ 63 Reloading Firmware _________________________________________________ 63
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
Monitor Mode Commands _________________________________________ 66
12. Troubleshooting 69
Problems and Error Messages _________________________________________ 69 Technical Support ___________________________________________________ 72
Micro125 User Guide 5
A: Binary to Hexadecimal Conversions 73
Converting Binary to Hexadecimal ______________________________________ 73
Conversion Table ________________________________________________ 73
Scientific Calculator ______________________________________________ 74

List of Figures

Figure 3-1. Evaluation Board Connected to Serial Device and Network ____________ 12 Figure 5-1. Web-Manager Login Window ____________________________________ 19 Figure 5-2. Lantronix Web-Manager ________________________________________ 19 Figure 5-3. Network Settings _____________________________________________ 20 Figure 5-4. Server Settings _______________________________________________ 23 Figure 5-5. Hostlist Settings ______________________________________________ 25 Figure 5-6. Channel Serial Settings ________________________________________ 26 Figure 5-7. TCP Connection Settings _______________________________________ 29 Figure 5-8. UDP Connection Settings _______________________________________ 32 Figure 5-9. Applying Settings _____________________________________________ 34 Figure 5-10. Applying Default Settin gs ______________________________________ 34 Figure 6-1. MAC Address ________________________________________________ 36 Figure 6-2. Setup Menu Options ___________________________________________ 36 Figure 8-1. Serial Port Param eter s _________________________________________ 41 Figure 8-2. Hostlist Option _______________________________________________ 47 Figure 9-1. Expert Settings _______________________________________________ 56 Figure 9-2. Security Settings ______________________________________________ 58 Figure 10-1. TFTP Window _______________________________________________ 64

List of Tables

Table 7-1. BootP/DHCP/Au toIP options _____________________________________ 38 Table 7-2. Standard IP Network Netmasks __________________________________ 39 Table 8-1. Interface Mode Optio ns _________________________________________ 42 Table 8-2. Common Interface Mode Settings _________________________________ 42 Table 8-3. Interface Mode Options _________________________________________ 43 Table 8-4. Flow Control Options ___________________________________________ 43 Table 8-5. Reserved Port Numbers ________________________________________ 43 Table 8-6. Connect Mode Optio ns _________________________________________ 44 Table 8-7. Manual Connection Address Example _____________________________ 46 Table 8-8. Modem Modes ________________________________________________ 48 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 ___________________________________________ 53 Table 8-13. Pack Control Options __________________________________________ 53 Table 9-1. Expert Settings: Det a ils Sett ings __________________________________ 56 Table 10-1. Firmware Files _______________________________________________ 63 Table 11-1. Monitor Mode Commands ______________________________________ 67 Table 11-2. Command Response Codes ____________________________________ 68
Micro125 User Guide 6
2: Introduction
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 Guide 7

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 Guide 8

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 0­1024 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 Guide 12
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 Guide 13

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 Guide 14
.
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.

Accessing the Micro125 Using DeviceInstaller

1. Click StartPrograms LantronixDeviceInstallerDeviceInstaller.
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 Guide 17

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 Web Configuration 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 External Browser 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 Guide 19

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 decimal­dot 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 Guide 22

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
Advanced
ARP Cache Timeout
When the unit communicates with another device on the network, it number of seconds (1-600) before it refreshes this table.
TCP Keepalive (secs)
0 and 60 seconds. 0 disables keep alive. The defa ult setting is 45.
Monitor Mode @ Bootup
Select Disable to disable entry into the monitor mode using the 'yyy'
are received during the device server's init ial iz ation at start up .
HTTP Server Port
This option allows the configuration of the web server port number. The valid range is 1-65535. The default port is 80.
Config Server Port
Not applicable for this product.
MTU Size 512 and 1400 bytes. The default is 1400 bytes.
TCP Re-transmission
The desired TCP re-transmission timeout value. If the ACK is not will retransmit the data. The valid range is 500-4000 msec.
Advanced Settings Description
5: Configuration Using Web Manager
(secs)
timeout (ms)
adds an entry into its ARP table. ARP Cache timeout defines the
TCP Keepalive time defines how many seconds the unit waits during an inactive connection before checking its status. If the unit does not receive a response, it drops that connection. Enter a value between
or 'xx1' key sequence at startup. This field pr ev ents the unit fr om entering monitor mode by interpreting the stream of characters that
The Maximum Transmission Unit (MTU) is the largest physical packet size a network can transmit for TCP and UDP. Enter between
received for a packet sent from the Micro125 device, then the unit
3. When you are finished, click the OK button.
4. On the main menu, click Apply Settings.

Host List Configuration

The Micro125 scrolls through the host list until it connects to a device listed in the host list table. After a successful connection, the unit stops trying to connect to any others. If this connection fails, the unit continues to scroll through the table until the next successful connection.
The host list supports a minimum of 1 and a maximum of 12 entries. Each entry contains an IP address and a port number.
Note: The host list is disabled for Manual and Modem Mode. The unit does not accept a data
connection from a remote device when the hostlist option is enabled.
To configure the Micro125’s host list:
1. On the main menu, click Hostlist.
Micro125 User Guide 24
5: Configuration Using Web Manager
Retry Counter
retry connecting to the host list.
Retry Timeout
Enter the duration (in milliseconds) the Micro125 should abandon attempting a connection to the host list.
Host Address
Enter or modify the host’s IP address.
Port
Enter the target port number.
Figure 5-5. Hostlist Settings
2. Enter or modify the following fields:

Retry Settings

Retry Settings Description
Enter the value for the number of times the Micro125 should attempt to

Host Information

Host Information Settings
3. When you are finished, click the OK button.
4. On the main menu, click Apply Settings.
Description

Channel 1 and Channel 2 Configuration

The Channel 1 and Channel 2 configuration defines how the serial port responds to network and serial communication.
Micro125 User Guide 25

Serial Settings

Disable Serial Port
Available on Channel 1 settings only. When selected, disables
baud rate of 00 in channel settings to disable the serial port.
Protocol
selected channel.
To configure the channel’s serial settings:
5: Configuration Using Web Manager
1. On the main menu, click Serial Settings (under Channel 1 or Channel 2) to display th
erial Settings window.
S
Figure 5-6. Channel Serial Settings
e
2. In the available fields, enter the following information:
Channel 1 or Channel 2
Channel Setting Description
Port Settings
Port Settings Description
Micro125 User Guide 26
communication through the serial port.
Note: Using a telnet session (see Baudrate) you may enter a
From the drop-down menu, select the protocol type for the
Port Settings Description
Flow Control
Flow control manages data flow between devices in a network to
None is the default.
Baud Rate
The unit and attached serial device, such as a modem, must agree
38400, 57600, 115200 or 230400.
Data Bits
Indicates the number of bits in a transmitted data package. The default is 8.
Parity
Checks for the parity bit. The default is None.
Stop Bits
The stop bit follows the data & parity bits in serial communic ation . It indicates the end of transmission. The default is 1.
Enable Packing
Idle Gap Time
Select the maximum time for inactivity. The default time is
12 milliseconds.
Match 2 Byte Sequence collection to the Micro125. The default is No.
Match Bytes
Use to indicate the end of a series of data to be sent as one group. Set this value to 00 if specific functions are not needed.
Send Frame Immediate
After the detection of the byte sequence, indicates whether to send data frame. The default setting is No.
Send Trailing Bytes characters. The default is None.
Pack Control
Pack Control Settings Description
5: Configuration Using Web Manager
ensure it is processed efficiently. Too much data arriving before a device is prepared to manage it causes lost or retransmitted data.
on a speed or baud rate to use for the serial connection. Valid baud rates are 300, 600, 1200, 2400, 4800, 9600 (default), 19200,
Select to enable packing on the Micro125. Two firmware-selectable packing algorithms define how and when
packets are sent to the network. The standard algorithm is optimized for applications in which the
unit is used in a local environment, allowing for very small delays for single characters, while keeping the packet count low.
The alternate packing algorithm minimizes the packet count on the network and is especially useful in applications in a routed Wide Area Network (WAN). Adjusting parameters in this mode can economiz the network data stream.
Disabled by default.
Use to indicate the end of a series of data to be sent as one group. The sequence must occur sequentially to indic ate end of the dat a
the data frame or the entire buffer. Select Yes to send only the
Select the number of bytes to send after the end-of-sequence
Micro125 User Guide 27
Flush Input Buffer (Serial to Network)
With Active Connect
Select Yes to clear the input buffer with a connection that is initiated from the device to the network. The default is No.
With Passive Connect
Select Yes to clear the input buffer with a connection initiated from the network to the device. The default is No.
At Time of Disconnect
Select Yes to clear the input buffer when the network connection to or from the device is disconnected. The default is No.
With Active Connect
Select Yes to clear the output buffer with a connection that is initiated from the device to the network. The default is No.
With Passive Connect
Select Yes to clear the output buffer with a connection initiated from the network to the device. The default is No.
At Time of Disconnect
Select Yes to clear th e output buffer when the network connection to or from the device is disconnect ed. The default is No.
Flush Input Buffer Settings Description
Flush Output Buffer (Network to Serial)
5: Configuration Using Web Manager
Flush Output Buffer Settings
Description
3. When you are finished, click the OK button.
4. On the main menu, click Apply Settings.
Micro125 User Guide 28
5: Configuration Using Web Manager

Connection Settings - TCP

To configure a channel’s TCP settings:
1. On the main menu, click Connection. The Connection Settings window for the channel displays.
Figure 5-7. TCP Connection Settings
Micro125 User Guide 29
5: Configuration Using Web Manager
Protocol
From the drop-down menu, select TCP.
Accept Incoming
Select Yes to accept incoming connections. The default is Yes.
Password Required
Determines whether a password is required for an incoming set for Telnet mode.
Password
If Password Required was set to Yes, enter the password for passive connections.
Active Connect
Select None to disable Active Connect. Otherwise, indicate the
address and port after booting up.
Start Character
If Active Connect is set to With Start Character, enter the start character in this field.
Modem Mode
Indicates the on-screen response type when in Modem Mode (if
Modem Mode is enabled).
Show IP Address After Ring
Indicates whether to display the remote IP addres s upon connection. The default setting is Yes.
2. In the available fields, enter or modify the following information:
Connect Protocol
Connect Protocol Setting Description
Connect Mode: Passive Connection
Passive Connection Mode Settings
Description
passive connection. This field is not available when a password is
Connect Mode: Active Connection
Active Connection Mode Settings
Description
connection type from the drop-down list:
With Any Character: Attempts to connect when any
character is received from the serial port.
With Active Mdm Ctrl In: Accepts external connection
requests only when the Modem Control In input is asserted.
Micro125 User Guide 30
With Start Character: Attempts to connect when it
receives a specific start character from the serial port. The default start character is carriage return.
Manual Connection: Attempts to connect when directed
by a command string received from the serial port.
Auto Start: Automatically connects to the remote IP
Endpoint Configuration
Local Port
Enter the local port number.
Auto increment for active
Select to auto-increment the local port number for new outgoing
maximum range is reached.
Remote Port
Enter the remote port number.
Remote Host
Enter the IP address of the remote device.
Telnet Com Port Cntrl
This field is available for configuration only when Active Connect
CPR Online Help for details.)
Terminal Name
This field is available for configuration only when Telnet Mode is
applications such as terminal emulation to IBM hosts.
Connect Response
A single character is transmitted to the serial port when there is a change in connection state. Default setting is None.
Use Hostlist
If this option is set to True, the device server scrolls through the
when the host list option is enabled .
LED
Select Blink for the status LEDs to blink upon connection or None for no LED output.
On Mdm_Ctrl_In Drop
Set to Yes for the network connection to or from the serial port to asserted state to not asserted state. The default setting is No.
Hard Disconnect
When set to Yes, the TCP connection closes even if the remote site does not acknowledge the disconnect request.
5: Configuration Using Web Manager
Endpoint Configuration Settings
connect
Common Options
Common Option Settings Description
Description
connections. The range of auto-incremented port numbers is 50,000 to 59,999 and loops back to the beginning when the
is set to None. Select Enable to permit Telnet communication to the unit. The Telnet Com Port Cntrl feature is used in conjunction with the Com Port Redirector (CPR) utility. (See the
set to Enable. Use the terminal name for the Telnet terminal type. Enter only
one name. When this option is enabled, the unit also reacts to the end of record (EOR) and binary options, which can be used for
Disconnect Mode
Disconnect Mode Settings Description
Micro125 User Guide 31
host list until it connects to a device listed in the host list table. Once it connects, the unit stops trying to connect to any others. If this connection fails, the unit continues to scroll through the table until it connects to another IP in the host list.
The host list is disabled for Manual Mode and for Modem Mode. The unit will not accept a data connection from a remote device
disconnect (drop) when Modem Control In transitions from an
Disconnect Mode Settings Description
Check EOT (Ctrl-D)
Select Yes to drop the connection when Ctrl-D or Hex 04 is
network. The default setting is No.
Inactivity Timeout
Use this parameter to set an inactivity timeout. The unit drops the
Port 2. However, port numbers may be set to a different value.
detected. Both Telnet Com Port Cntrl and Check EOT (Ctrl+ D) must be enabled for Disconnect with EOT to function
properly. Ctrl+D is only detected going from the serial port to the
TCP connection to port 10001/10002* if there is no activity on the serial line before the set time expires. Enter time in the format mm:ss, where m is the number of minutes and s is the number of seconds. To disable the inactivity timeout, enter 00:00.
Note*: The default port number for Port 1 is 10001 and 10002 for
3. When you are finished, click the OK button.
4. On the main menu, click Apply Settings.

Connection Settings - UDP

To configure a channel’s UDP settings:
5: Configuration Using Web Manager
1. On the main menu, click Connection. The Connection Settings window for the selecte
hannel displays.
c
2. In the available fields, enter or modify the following information:
Figure 5-8. UDP Connection Settings
d
Micro125 User Guide 32
Connect Protocol
Protocol
Select UDP from the drop-down menu.
Datagram Type
Configures the remote IP or network broadcast address and the setting is 00.
Accept Incoming
Select Yes to accept incoming UDP datagrams.
Local Port
Enter the local port number.
Remote Port
Enter the port number of the remote device.
Remote Host
Enter the IP address of the remote device.
Note: Datagrams are sent as subnet-directed broadcasts.
Device Address Table
The table is enabled when Datagram Type is set to FD. Enter values
Type FD is for OEM use.
Connection Protocol Description
Datagram Mode
5: Configuration Using Web Manager
Datagram Mode Settings
Endpoint Configuration
Endpoint Configuration Settings
Use Broadcast
Description
remote port. Enter 01 for directed or broadcast UDP. The default
Description
Select to broadcast the UDP datagram. The default is not to broadcast.
between 1 and 255 to identify units on the local network of device servers.
Note: Lantronix Tech Support supports Datagram type 01. Datagram
3. When you are finished, click the OK button.
4. On the main menu, click Apply Settings.

Apply Settings

1. To save and apply the configuration changes to the device server, click the Apply Settings button.
Note: Clicking OK on each page does not change the configuration on the device.
Clicking the OK button tells the MatchPort what changes to use; the Apply Settings makes the changes permanent and reboots the Micro125.
Micro125 User Guide 33

Apply Defaults

5: Configuration Using Web Manager
Figure 5-9. Applying Settings
1. Click the Apply Factory Defaults button to set the device server back to the default settings. For details see Default Settings on page 61.
2. Click Yes to set factory settings, or click No to cancel.
Figure 5-10. Applying Default Settings
Micro125 User Guide 34

6. Configuration via Telnet or Serial Port (Setup Mode)

You must configure the unit so that it can communicate on a network with your serial device. As an alternative to using a web browser, as described in the previous chapter, you can use the following procedures remotely or locally:
Use a Telnet connection to configure the unit over the network. Use a terminal or terminal emulation program to access the serial port locally.
The series of prompts at which you enter configuration settings is called Setup Mode.
Note: Detailed information about other setup methods is available from your Lantronix Sales
Associate.
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 the configuration has been changed and stored.
This chapter tells you how to access Setup Mode and the general procedure for using it. To complete the configuration, continue with Chapters 7 S etup Mod e: Ser ver Confi gu r ation , 8
Setup Mode: Channel Configurat io n, and 9 Setup Mode: Advanced Se tti ngs .
Note: The menus in the configuration chapters show a typical device. Your device may have
different configuration options.

Accessing Setup Mode

Telnet Connection

To configure the unit over the network, establish a Telnet connection to port 9999.
Note: You can also use DeviceInstaller to access Telnet. Select the device from the main
window list, and click the Telnet Configuration tab. Skip steps 1 and 2.
Micro125 User Guide 35
6: Configuration via Telnet or Serial Port (Setup Mod e)
To establish a Telnet connection:
1. From the Windows Start menu, click Run and type the following command, where x.x.x.x is the IP address, and 9999 is the unit’s fixed network configuration port number:
Windows: telnet x.x.x.x 9999
UNIX: telnet x.x.x.x:9999
2. Click OK. The following information displays.
Figure 6-1. MAC Addr ess
MAC address 00204AAE0412 Software version V6.8.0.4 (121207) M125 AES library version 1.8.2.1
Press Enter for Setup Mode
3. To enter Setup Mode, press Enter within 5 seconds. The configuration settings display, followed by the Change Setup menu.
Figure 6-2. Setup Menu Options
Change Setup: 0 Server 1 Channel 1 2 Channel 2 5 Expert 6 Security 7 Defaults 8 Exit without save 9 Save and exit Your choice?
4. Select an option on the menu by entering the number of the option in the Your choice ? field and pressing Enter.
5. To enter a value for a parameter, type the value and press Enter, or to confirm a current value, just press Enter.
6. When you are finished, save the new configuration (option 9). The unit reboots.

Serial Port Connection

To configure the unit through a serial connection:
1. Connect a console terminal or PC running a terminal emulation program to your unit's serial port.
2. Set the terminal emulator serial port settings to 9600 baud, 8 bits, no parity, 1 stop bit, no flow control.
Note: The Micro125 always uses these serial port settings on boot-up.
3. Reset the Micro125 unit by cycling the unit's power (turning the power off and back on). Immediately upon resetting the device, enter three lowercase x characters (xxx).
Micro125 User Guide 36
Note: The easiest way to enter Setup Mode is to hold down the x key at the terminal (or
emulation) while resetting the unit. You must do this within three seconds of resetting the
Micro125.
At this point, the screen display is the same as when you use a Telnet connection. To continue, go to step 4, abo ve under the section, Telnet Connection
.

Exiting Setup Mode

To exit setup mode, utilize one of the following two options:
To save all changes and reboot the device, select option 9 Save and exit from the
C
hange Setup menu. All values are stored in nonvolatile memory.
6: Configuration via Telnet or Serial Port (Setup Mod e)
To exit the configuration mode without saving any changes or rebooting, select option
xit without save from the Change Setup menu.
E
8
Micro125 User Guide 37
AutoIP
0
DHCP
1
BootP
2

7. Setup Mode: Server Configuration

This chapter explains how to configure the network settings.
Note: Current values appear in parentheses.

Server Configuration (Option 0)

The unit’s basic network parameters display when you select Server configuration (option
0). The IP Address, Set Gateway IP Address, and Netmask fields display the current
values.
IP Address : (000) .(000) .(000) .(000) Set Gateway IP Address (N) ? Netmask: Number of Bits for Host Part (0=default) (0) Set DNS Server IP addr (N) ? Change Telnet/Web Manager password (N) ? Change DHCP device name (not set) ? (N) ? Enable DHCP FQDN option : (N) ?

IP Address

If DHCP is not used to assign IP addresses, enter the IP address manually. The IP address must be set to a unique value in the network. Enter each octet and press Enter between each section. The current value displays in parentheses.
If DHCP is used, the third octet of the IP address sets the BootP/DHCP/AutoIP options. The following table shows the bits you can manually configure to force the Micro125 to disable AutoIP, DHCP, or Boo tP. To disable an option, set the appropriate bit.
For example, if the third octet is 0.0.5.0, the AutoIP and BootP options are disabled; only DHCP is enabled. (The value 5 results from adding the binary equivalents of 0 and 2.) This is the most common setting when using DHCP.
IP Address : (000) (000) (000) (000) _
Table 7-1. BootP/DHCP/AutoIP options
Options Bit
Micro125 User Guide 38

Set Gateway IP Address

A
24
255.0.0.0
B
16
255.255.0.0
C
8
255.255.255.0
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. The default is N (No), meaning the gateway address has not been set. To set the gateway address, type Y and enter the address.
Set Gateway IP Address (N) ? Y Gateway IP addr ( 0) ( 0) ( 0) ( 0)_

Netmask: Number of Bits for Host Part

A netmask defines the number of bits taken from the IP address that are assigned for the host part.
Netmask: Number of Bits for Host Part (0=default) (0) _
Note: Class A: 24 bits; Class B: 16 bits; Class C: 8 bits
7: Setup Mode: Server Configura tio n
The unit prompts for the number of host bits to be entered, then calculates the netmask, which appears in standard decimal-dot notation (for example, 255.255.255.0) when the saved parameters display.
Table 7-2. Standard IP Network Netmasks
Network Class Host Bits Netmask

Set DNS Server IP Address

The DNS server allows the name of a remote machine to be resolved automatically. The default is N (No), indicating the DNS server address has not been set. To set the DNS server address, type Y. At the prompt, enter the DNS server address. 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.
Set DNS Server IP addr (N) ?
Micro125 User Guide 39

Change Telnet/Web-Manager Password

Setting the Telnet/Web-Manager password prevents unauthorized access to the setup menu through a Telnet connection to port 9999 or through web pages. The password must have 4 characters.
Change Telnet/Web-Manager password (N) ? _
An enhanced password setting (for Telnet access only) of 16 characters is available under
Security Settings (Option 6) on page 58.
Note: You do not need a password to access the Setup Mode window by a serial connection.

DHCP Name

If a DHCP server has automatically assigned the IP address and network settings, you can discover the unit by using the DeviceInstaller network search feature.
There are three methods for assigning DHCP names to the unit. Default DHCP Name: If you do not change the DHCP name, and you are using an IP of
0.0.0.0, then the DHCP name defaults to CXXXXXX (XXXXXX is the last 6 digits of the MAC
address shown on the label on the bottom/side of the unit). For example, if the MAC address is 00-20-4A-12-34-56, then the default DHCP name is C123456.
7: Setup Mode: Server Configura tio n
Custom DHCP Name: You can create your own DHCP name. If you are using an IP address of 0.0.0.0, then the last option in Server configuration is Change DHCP device name. This option allows you to change the DHCP name to an alphanumeric name (LTX in our example).
Change DHCP device name (not set) ? (N) Y Enter new DHCP device name : LTX
Numeric DHCP Name: You can change the DHCP name by specifying the last octet of the IP address. When you use this method, the DHCP name is LTXYY where YY is what you chose for the last octet of the IP address. If the IP address you specify is 0.0.0.12, then the DHCP name is LTX12. This method only works with 2 digit numbers (01-99).
Micro125 User Guide 40

8. Setup Mode: Channel Configuration

This chapter explains how to configure the serial port. Two channels may be configured in Micro125: Channel 1 and Channel 2.
Note: The directions for configuring Channel 1 provided below may also be used for
Channel 2.

Channels

Select Channel 1 (option 1) from the Change Setup menu to define how the serial port responds to network and serial communications. The following sections describe the configurable parameters within the Channel configuration menu.
Figure 8-1. Serial Port Parameters
Baudrate (9600) ? I/F Mode (4C) ? Flow (00) ? Port No (10001) ? ConnectMode (C0) ? Send '+++' in Modem Mode (Y) ? Show IP addr after 'RING' (Y) ? Auto increment source port (N) ? Remote IP Address : (000) .(000) .(000) .(000) Remote Port (0) ? DisConnMode (00) ? FlushMode (00) ? DisConnTime (00:00) ?: SendChar 1 (00) ? SendChar 2 (00) ?

Baudrate

The unit and attached serial device, such as a modem, must agree on a speed or baud rate to use for the serial connection. Valid baud rates are 300, 600, 1200, 2400, 4800, 9600 (default), 19200, 38400, 57600, 115200, and 230400 bits per second. The current va lue is displayed in parentheses. Entering a baud rate of 00 in channel settings in a telnet sessions disables the serial port.
Baudrate (9600) ? _
Micro125 User Guide 41

I/F (Interface) Mode

RS-232C
(1)
0
0
7 Bit
1
0
8 Bit
1
1
No Parity
0
0
Even Parity
1
1
Odd Parity
0
1
1 stop bit
0
1
2 stop bits
(1)
1
1
RS-232C, 8-bit, No Parity, 1 stop bit
0100 1100
4C
RS-232C, 7-bit, Even Parity, 1 stop bit
The Interface (I/F) Mode is a bit-coded b yte entered in hexadecimal notation.
I/F Mode (4C) ? _
he following table displays available I/F Mode options:
T
Note: All bit positions in the table that are blank represent “don’t care” bits for that particular
option, which can be set to either a 0 or 1 value.
I/F Mode Option 7 6 5 4 3 2 1 0
8: Setup Mode: Channel Configurat io n
Table 8-1. Interface Mode Options
(1) 2 stop bits are implemented by the software. This might influence performance.
T
he following table demonstrates how to build some common Interface Mode settings:

I/F Mode

Additional settings for RS-422 4-wire and RS-485 2-wire are available on the Micro125. However, this feature is only supported on channel 1.
Note: All bit positions in the table that are blank represent “don’t care” bits, for that particular
option, which can be set to either a 0 or 1 value.
Table 8-2. Common Interface Mode Settings
Common I/F Mode Setting Binary Hex
0111 1000 78
Micro125 User Guide 42
RS-422 4-wire
0
1
RS-485 2-wire
1
1

Flow

No flow control
XON/XOFF flow control
01
Hardware handshake with RTS/CTS lines
02
1 – 1024
Reserved (well known ports)
9999
Telnet setup
14000-14009
Reserved for Redirector
30704
Reserved (77F0h)
30718
Reserved (77FEh)
8: Setup Mode: Channel Configuratio n
Table 8-3. Interface Mode Options
I/F Mode Option 7 6 5 4 3 2 1 0
Flow control sets the local handshaking method for stopping serial input/output.
Flow (00) ? _
Use the following table to select flow control options:
Table 8-4. Flow Control Options
Flow Control Option Hex
00

Port Number

The setting represents the source port number in TCP connections. It is the number that identifies the channel for remote initiating connections.
The default setting for Port 1 is 10001. The range is 1-65535, except for the following reserved port numbers:
WARNING: We recommend that you not use the reserved port numbers
for this setting as incorrect operation may result.
XON/XOFF pass characters to host
Port No (10001) ? _
Table 8-5. Reserved Port Numbers
Port Numbers Reserved for
05
Use Port 0 for the outgoing local port to change with each connection. The port range is 50,000 to 59,999. Each subsequent connection increments the number by 1 (it wraps back around to 50,000).
Only use this automatic port increment feature to initiate a connection using TCP. Set the port to a non-zero value when the unit is in a passive mode or when using UDP instead of TCP.
Micro125 User Guide 43

Connect Mode

a) Incoming Connection
Never accept incoming
0 0 0
Accept with active Modem Control In
0 1 0
Always Accept
1 1 0
b) Response
Nothing (quiet)
0
Character response (C=connect, D=disconnect, N=unreachable)
c) Active Startup
No active startup
0 0 0
0
With any character
0 0 0
1
With active Modem Control In
0 0 1
0
With a specific start character
0 0 1
1
Manual connection
0 1 0
0
Autostart
0 1 0
1
Hostlist
0 0 1 0
d) Datagram Type
Directed UDP
1 1 0
0
e) Modem Mode
No Echo
0 0 1 1
Data Echo & Modem Response (Numeric)
Data Echo & Modem Response (Verbose)
Modem Response Only (Numeric)
0 0 1 1 1
1
Connect Mode defines how the unit makes a connection, and how it reacts to incoming connections over the network.
Enter Connect Mode options in hexadecimal notation.
Note: All bit positions in the table that are blank represent “don’t care” bits, for that particular
option, which can be set to either a 0 or 1 value.
Connect Mode Option 7 6 5 4 3 2 1 0
8: Setup Mode: Channel Configurat io n
ConnectMode (C0) ? _
Table 8-6. Connect Mode Options
1
0 1 1 1 1
Micro125 User Guide 44
0 1 1 1 0
8: Setup Mode: Channel Configurat io n
Modem Response Only (Verbose)
Never Accept Incoming
Rejects all external connection attempts.
Accept with active Modem Control In
Accepts external connection requests only when the Modem Control In input is asserted. Cannot be used with Modem Mode.
Always Accept
Accepts any incoming connection when a connection is not already established. Default setting.
Character Response
A single character is transmitted to the serial port when there is a
(quiet).
No Active Startup
Does not attempt to initiate a connection under any circumstance. Default setting.
With Any Character
serial port.
With active Modem Control In
Attempts to connect when the Modem Control In in put cha n ges from not asserted to asserted.
With a Specific Start Character
from the serial port. The default start character is carriage return.
Manual Connection
Attempts to connect when directed by a command string
between each pair of IP address numbers.
Connect Mode Option 7 6 5 4 3 2 1 0
0 0 1 1 1 0
a) Incoming Connection
Incoming Connection Mode Description

b) Response

Response Mode Description
change in connection state: C = connected, D = disconnected, N = host unreachable. The IP address of the host connecting to the CoBos device will be provided when you use verbose mode.
This option is overridden when the Active Start Modem Mode or Active Start Host List is in effect. Default setting is Nothing

c) Active Startup

Active Startup Mode Description
Attempts to connect when any character is received from the
Attempts to connect when it receives a specific start character
received from the serial port. The first character of the command string must be a C (ASCII 0x43), and the last character must be either a carriage return (ASCII 0x0D) or a line feed (0x0A). No blanks or space characters may be in the command string. Between the first and last command string characters must be a full or partial destination IP address and may be a destination port number.
The IP address must be in standard decimal-dot notation and may be a partial address, representing the least significant 1, 2, or 3 bytes of the remote IP address. The period is required
Micro125 User Guide 45
Active Startup Mode Description
example, C50.1/23 would connect you to 129.1.50.1 and port 23.
If an IP address does not follow the first command string
forward slash (/) or a colon ( : ).
Complete override; connection is started with host 121.2.4.5, port 1
C5
Connects to 129.1.2.5, port 1234
C28.10/12
C0.0.0.0/0
Enters Monitor Mode
Cwww.lantronix.com/80
Tries to connect to the Lantronix web server if the DNS server database.
Autostart (Automatic
If you enable Autostart, the unit automatically connects to the starts.
Hostlist
If you enable this option, the device server scrolls through the
the hostlist option is enabled.
If present, the port number must follow the IP address, must be presented as a decimal number in the range 1-65535, and must be preceded by a forward slash (ASCII 0x2F). The slash separates the IP address and the port number. If you omit the port number from a command string, the internally stored remote port number starts a connection.
If a partial IP address is presented in a command string, it is interpreted to be the least significant bytes of the IP address and uses the internally stored remote IP address to provide the most significant bytes of the IP address. If the IP address entered is
0.0.0.0/0, the device server enters Monitor Mode.
For example, if the remote IP address already config ured in the unit is 129.1.2.3, then an example command string would be C3/7. (This would connect to 129.1.2.3 and port 7.) You may also use a different ending for the connection str i ng. For
character (which is "C"), the subsequent character string is interpreted as the host name and domain to be used in DNS lookup. This character string can include a destination port number as well. The port number can be preceded by either a
8: Setup Mode: Channel Configurat io n
Command String Result if remote IP is 129.1.2.3 and remote port is 1234
C121.2.4.5/1
Connection)
Table 8-7. Manual Connection Address Example
Connects to 129.1.28.10, port 12
<hostname:domain> (www.lantronix.com) is configur ed in the
remote IP address & remote port specified when the firmware
hostlist until it connects to a device listed in the hostlist table. Once it connects, the unit stops trying to connect to any others. If this connection fails, the unit continues to scroll through the table until it is able to connect to another IP in the hostlist.
Hostlist supports a minimum of 1 and a maximum of 12 entries. Each entry contains the IP address and the port number. The hostlist is disabled for Manual and Modem Modes. The unit does not accept a data connection from a remote device when
Micro125 User Guide 46
8: Setup Mode: Channel Configurat io n
Figure 8-2. Hostlist Option
Baudrate (9600) ? I/F Mode (4C) ? Flow (00) ? Port No (10001) ? ConnectMode (25) ? Send '+++' in Modem Mode (Y) ? Auto increment source port (N) ?
Hostlist :
01. IP : 172.019.000.001 Port : 00023
02. IP : 172.019.000.002 Port : 03001
03. IP : 172.019.000.003 Port : 10001
Change Hostlist ? (N) ? Y
01. IP address : (172) .(019) .(000) .(001) Port : (23) ?
02. IP address : (172) .(019) .(000) .(002) Port : (3001) ?
03. IP address : (172) .(019) .(000) .(003) Port : (10001) ?
04. IP address : (000) .(000) .(000) .(000) Hostlist :
01. IP : 172.019.000.001 Port : 00023
02. IP : 172.019.000.002 Port : 03001
03. IP : 172.019.000.003 Port : 10001
DisConnMode (00) ? FlushMode (00) ? DisConnTime (00:00) ?: SendChar 1 (00) ? SendChar 2 (00) ?
o enable the hostlist:
T
1. Enter a Connect Mode of 0x20 (2X), where X is any digit. The menu shows you a list of current entries already defined in the product.
2. To delete, modify, or add an entry, select Yes. If you enter an IP address of 0.0.0.0, tha
ry and all others after it are deleted.
ent
3. After completing the hostlist, repeat the previous step if necessary to edit the hostlist again.
4. For Retrycounter, enter the number of times the Lantronix unit should try to make
a good network connection to a hostlist entry that it has successfully ARPed. The range is 1-15, with the default set to 3.
5. For Retrytimeout, enter the number of seconds the unit should wait before failing an at
tempted connection. The time is stored as units of milliseconds in the range of 10-
65535. The default is 250.
t
Micro125 User Guide 47
8: Setup Mode: Channel Configurat io n
Directed UDP
When selecting this option, you are prompted for the Datagram type.
data.
Without Echo
In Modem Mode, echo refers to the echo of all of the characters
typed).
Data Echo & Modem
Full Verbose: The unit echoes modem commands and responds to a
responds to a command with a numeric response.
Modem Responses
Full Verbose: The unit does not echo modem commands and
responds to a command with a numeric response.

d) Datagram Type

Datagram Type Description
Enter 01 for directed or broadcast UDP. Datagrams of type 01 can be sent as a broadcast by enabling the Send as Broadcast option. The default is not to broadcast.
When the UDP option is in effect, the unit never attempts to initiate a TCP connection because it uses UDP datagrams to send and receive

e) Modem Mode

In Modem (Emulation) Mode, the unit presents a modem interface to the attached serial device. It accepts AT-style modem commands and handles the modem signals correctly.
Normally, there is a modem connected to a local PC and a modem connected to a remote machine. A user must dial from the local PC to the remote machine, accumulating phone charges for each connection. Modem Mode allows you to replace modems with Micro125 units, and to use an Ethernet connection instead of a phone call. By not having to change communications applica tio ns, you avoid pote nti al ly expensive phone calls.
To select Modem Mode, set the Connect Mode to C6 (no echo), D6 (echo with full verbose), D7 (echo with numeric response), CF (modem responses only, numeric response), or CE (modem responses only, full verbose).
Note: If the unit is in Modem Mode, and the serial port is idle, the unit can still accept network
TCP connections to the serial port if Connect Mode is set to C6 (no ec ho), D6 (echo with full verbose), D7 (echo with numeric response, CF (modem responses only, nu meric res pons e), or CE (modem responses only, full verbose).
Table 8-8. Modem Modes
Modem Mode Description
entered in command mode; it does not mean to echo data that is transferred. Quiet Mode (without echo) refers to the modem not sending an answer to the commands received (or displaying what was
Response
Only
command with a message string shown in the table below. Numeric Response: The unit echoes modem comma nd s and
responds to a command with a message string shown in the table below. Numeric Response: The unit does not echo modem commands and
Micro125 User Guide 48
8: Setup Mode: Channel Configurat io n
Full Verbose
OK
Command was executed without error.
CONNECT
A network connection has been established.
NO CARRIER
A network connection has been closed.
A remote device, having IP address n.n.n.n, is connecting to this device.
Numeric Response
0
OK 1 Connected
2
Ring
3
No Carrier
4
Error
Table 8-9. Modem Mode Messages
Message Meaning
RING n.n.n.n.
Received commands must begin with the two-character sequence AT and be terminated with a carriage return character.
The unit ignores any character sequence received not s tar ting wit h AT, and only recognizes and processes single AT-style commands. The unit treats compound AT commands as unrecognized commands.
If the Full Verbose option is in effect, the unit responds to an unrecognized command string that is otherwise formatted correctly (begins with AT and ends with carriage return) with the "OK" message and takes no further action.
If the Numeric Response option is in effect, the unit responds to an unrecognized command string that is otherwise formatted correctly with the "OK" message and takes no further action.
When an active connection is in effect, the unit transfers data and does not process commands received from the serial interface.
When a connection is terminated or lost, the unit reverts to command mode. When an active connection is in effect, the unit terminates the connection if it receives the
following sequence from the attached serial device:
No serial data is received for one second. The character sequence +++ is received, with no more than one second between each
two characters.
No serial data is received for one second after the last + character. At this time, the unit
responds affirmatively per the selected echo/response mode.
The character string ATH is received, terminated with a carriage return. The unit
responds affirmatively according to the selected echo/response mode and drops the network connection. The serial interface reverts to accepting command strings.
Micro125 User Guide 49
8: Setup Mode: Channel Configuration
ATDTx.x.x.x,pppp,
ATDTx.x.x.x:pppp
number defined within the unit.
n>1-9 is invalid.
n=1 enables character echo and responses.
n=1 enables full verbose.
If this sequence is not followed, the unit remains in data transfer mode.
Table 8-10. Modem Mode Commands
Modem Mode Command
ATDTx.x.x.x/pppp, or
ATDTx.x.x.x
ATD0.0.0.0
ATD or ATDT
ATDx.x.x.x
ATH
ATS0=n
Function
Makes a connection to an IP address (x.x.x.x) and a remote port number (pppp).
Makes a connection to an IP address (x.x.x.x) and the remote port number defined within the unit.
Forces the unit into Monitor Mode if a remote IP address and port number are defined within the unit.
Forces the unit into Monitor Mode if a remote IP address and port number are not defined within the unit.
Makes a connection to an IP address (x.x.x.x) and the remote port
Hangs up the connection (Entered as +++ATH ). Enables or disables connections from the network going to the serial
port. n=0 disables the ability to make a connection from the network to the serial port.
n=1-9 enables the ability to make a connection from the network to the serial port.
Enables or disables character echo and responses.
ATEn
ATVn
n=0 disables character echo and responses.
Enables numeric response or full verbose. n=0 enables numeric response.
Note: The unit recognizes these AT commands as single commands such as ATE0 or ATV1;
it does not recognize compound commands such as ATE0V.

Send the Escape Seque nce (+++) in Modem Mode

Send ‘+++’ in Modem Mode (Y) ? _
Disable or enable the Micro125’s ability to send the escape sequence. The default is Y (Yes) (send the escape sequence).
Micro125 User Guide 50

Show IP addr after 'RING'

Show IP addr after ‘RING’ (Y) ?
Disable or enable the Micro125's ability to show the IP address after RING in Modem Mode. The default is Y (Yes), to show the IP address.

Auto Increment Source Port

Auto increment source port (N) ? _
Y (Yes) auto increment the source port. The Micro125 increments the port number used with each new connection.

Remote IP Address

This is the destination IP address used with an outgoing connection.
Remote IP Address : (000) (000) (000) (000)_
8: Setup Mode: Channel Configurat io n
Note: This option does not display when Hostlist is enabled from the ConnectMode prompt
(see Connect Mode on page 44 for more information).

Remote Port

You must set the remote TCP port number for the unit to make outgoing connections. This parameter defines the port number on the target host to which a connection is attempted.
To connect an ASCII terminal to a host using the unit for login purposes, use the remote port number 23 (Internet standard port number for Telnet services).
Note: This option does not display when Hostlist is enabled from the ConnectMode prompt
(see Connect Mode on page 44 for more information).

DisConnMode

This setting determines the conditions under which the unit will cause a network connection to terminate.
Notes:
Remote Port (00) ? _
DisConnMode (00) ? _
In DisConnMode (Disconnect Mode), Modem Control In drop either drops the connection
or is ignored.
All bit positions in the table that are blank represent “don’t care” bits, for that particular
option, which can be set to either a 0 or 1 value.
Micro125 User Guide 51
8: Setup Mode: Channel Configurat io n
Disconnect when Modem Control In is not asserted
(6)
1
Ignore Modem Control In
0
(1)
(2)
(3)
Disable hard disconnect
1
(4)
(5)
Table 8-11. Disconnect Mode Options
Disconnect Mode Option 7 6 5 4 3 2 1 0
Telnet Com Port Cntrl and terminal type setup
Channel (port) password
Hard disconnect
State LED off with connection
Disconnect with EOT (^D)
) The Telnet Com Port Control feature is used in conjunction with Com Port Redirector. The unit
(1
sends the Terminal Type upon an outgoing connection. (2) A password is required for a connection to the serial port from the network. (3) The TCP connection closes even if the remote site does not acknowledge the disconnection. (4) W hen there is a network connection to or from the serial port, the state LED t urns off instead of
blinking. (5) When Ctrl+D or Hex 04 is detected, the connection is dropped. Both Telnet Com Port Cntrl and
Disconnect with EOT must be enabled for Disconnect with EOT to function properly. Ctrl+D is only detected going from the serial port to the network.
(6) When Modem Control In t ransitions from a high state to a low state, the network connection to or
from the serial port drops.
1
1
0
1
1
Micro125 User Guide 52

Flush Mode (Buffer Flushing)

Input Buffer (Serial to Network)
Clear with a connection initiated from the device to the network
1
Clear with a connection initiated from the network to the device
1
Clear when the network connection to or from the device is disconnected
Output Buffer (Network to Serial)
Clear with a connection initiated from the device to the network
1
Clear with a connection initiated from the network to the device
1
Clear when the network connection to or from the device is disconnected
Alternate Packing Algorithm (Pack Control)
Enable
1
Packing Interval
Using this parameter, you can control line handling and network buffers with connection startup and disconnect.
FlushMode (00) ? _
You can also select between two different packing algorithms.
Note: All bit positions in the table that are blank represent “don’t care” bits, for that particular
option, which can be set to either a 0 or 1 value.
Table 8-12. Flush Mode Options
Function 7 6 5 4 3 2 1 0
8: Setup Mode: Channel Configurat io n

Pack Control

The packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the unit is used in a local environment, allowing for very small delays for single characters, while keeping the packet count low. The alternate packing algorithm minimizes the packet count on the network and is especially useful in applications in a routed Wide Area Network (WAN). Adjusting parameters in this mode can economize the network data stream.
Pack control settings are enabled in Flush Mode. Set t his value t o 00 if you do not need specific functions.
1
1
Note: All bit positions in the table that are blank represent “don’t care” bits, for that particular
option, which can be set to either a 0 or 1 value.
Table 8-13. Pack Control Options
Option 7 6 5 4 3 2 1 0
Micro125 User Guide 53
8: Setup Mode: Channel Configurat io n
Interval: 12ms
0
0
Interval: 52ms
0
1
Interval: 250ms
1
0
Interval: 5sec
1
1
None
0
0
One
0
1
Two
1
0

Send Characters

2-Byte Send Character Sequence
Send Immediately After Send chars
1
Option 7 6 5 4 3 2 1 0

Trailing Characters

1

Packing Interval

Packing Interval defines how long the unit should wait before sending accumulated characters. This wait period is between successive network segments containing data. For alternate packing, the default interval is 12 ms.
Trailing Characters
In some applications, CRC, Checksum, or other trailing characters follow the end-of­sequence character; this option helps to adapt frame transmission to the frame boundary.
Send Characters
If 2-Byte Send Chara ct er Sequen c e is enabled, the unit interprets the sendchars as a 2-
byte sequence; if this option is not enabled, the unit interprets them independently.
If Send Immediately After Characters is not set, any characters already in the serial
buffer are included in the transmission after a "transmit" condition is found. If this option is set, the unit sends immediately after recognizing the transmit condition (sendchar or timeout).
Note: A transmission might occur if status information needs to be exchanged or an
acknowledgment needs to be sent.

DisConnTime (Ina cti vity Timeout)

Use this parameter to set an inactivity timeout. The unit drops the the TCP connection to port 10001/10002* if there is no activity on the serial line before the set time expires. Enter time in the format mm:ss, where m is the number of minutes and s is the number of seconds.
Note*: The default port number for Port 1 is 10001 and 10002 for Port 2. However,
port numbers may be set to a different value.
Micro125 User Guide 54
DisConnTime (00:00) ?:
To disable the inactivity timeout, enter 00:00. Range is 0 (disabled) to 5999 seconds (99 minutes, 59 seconds). Default is 0.

Send Characters

Enter up to two characters in hexadecimal representation in sendchar.
SendChar 1 (00) ? _ SendChar 2 (00) ? _
If the unit receives a character on the serial line that matches one of these characters, it sends the character immediately, along with any awaiting characters, to the TCP connection. This action minimizes the response time for specific protocol characters on the serial line (for example, ETX, EOT). Setting the first sendchar to 00 disables the recognition of the characters. Alternatively, the unit can interpret two characters as a sequence (see Pack
Control on page 53).

Telnet Terminal Type

8: Setup Mode: Channel Configurat io n
This parameter displays only if you enabled the terminal type option in Disconnect Mode. With this option enabled, you can use the terminal name for the Telnet terminal type. Enter only one name.
With terminal type option enabled, the unit also reacts to the EOR (end of record) and binary options, useful for applications like terminal emulation to IBM hosts.

Channel (Port) Password

This parameter appears only if the channel (port) password option is enabled in Disconnect Mode. With this option enabled, you can set a password on the serial port.
Micro125 User Guide 55

9. Setup Mode: Advanced Settin gs

TCP Keepalive time in s (1s – 65s; 0s=disable)
ARP Cache timeout in s (1s – 600s)
600
Disable Monitor Mode @ bootup
No
HTTP Port Number (1-65535)
80
MTU Size (512 – 1400)
0 (resulting in an operational value of 1400)
TCP Re-Transmission Timeout (500-4000)
500 (msec)
Enable alternate MAC
No (OEM use only)
Ethernet connection type
0 (resulting in auto-negotiation)

Expert Settings (Option 5)

Note: You can change the Enable alternate MAC setting using telnet or serial connections
only. It is not available through the Web-Manager.
CAUTION: Only an expert should change these parameters. You must d efinitely know
the consequences the changes might have.
Figure 9-1. Expert Settings
TCP Keepalive time in s (1s – 65 s; 0s-disable): (45) ? ARP Cache timeout in s (1s – 600s) : (600) ? Disable Monitor Mode @ bootup (N) ? HTTP Port Number : (80) ? MTU Size (512 – 1400): (1400) ? TCP Re-transmission Timeout (500 - 4000) (ms): (500) ? Enable alternate MAC (N) ? Ethernet connection type: (0) ?
The default settings are listed below:
Table 9-1. Expert Settings: Details Settings
Device Details Settings Description
45

TCP Keepalive Time in Seconds

This option allows you to change how many seconds the unit waits during a silent connection before attempting to see if the currently connected network device is still on the network. If the unit gets no response, it drops that connection.
TCP Keepalive time in s (1s – 65s; 0s=disable): (45)? _
Micro125 User Guide 56
9: Setup Mode: Advanced Settings

ARP Cache Timeout in Seconds

Whenever the unit communicates with another device on the network, it adds an entry into its ARP table. The ARP Cache timeout option allows you to define how many seconds (1-600) the unit will wait before timing out this table.
ARP Cache timeout in s (1s - 600s) : (600) ?

Disable Monitor Mode at Bootup

This option allows you to disable all entries into Monitor Mode during startup, except for the ‘xxx’ sequence. This prevents entry using yyy, zzz, xx1, and yy1 key sequences (only during the bootup sequence). The default for Monitor Mode at bootup is N (No). (See 11: Monitor
Mode.)
Disable Monitor Mode @ bootup (N) ? _

HTTP Port Number

This option allows the configuration of the web server port number. The valid range is 1-65535. The default HTTP port number is 80.
HTTP Port Number : (80) ? _

MTU Size

The Maximum Transmission Unit (MTU) is the largest physical packet size a network can transmit for TCP and UDP. Enter between 512 and 1400 bytes. The default is 1400 bytes.
MTU Size: (1400) ? _

TCP Re-transmission Timeout

This feature allows the configuration of the desired TCP re-transmission timeout value. If the ACK is not received for a packet sent from the Micro125 device, then the unit will retransmit the data. The valid range is 500-4000 msec.
TCP Re-transmission Timeout (500 - 4000) (ms): (500) ?

Enable Alternate MAC

If necessary, enable the alternate MAC address (if specified in the OEM setup record).
Enable alternate MAC (N) ? _

Ethernet Connection Type

The Micro125 allows for the Ethernet speed and duplex to be manually configured. Enter 0 for auto-negotiation (default). To select the speed and duplex, enter one of the following: 2 (10Mbit/half duplex), 3 (10Mbit/full duplex), 4 (100Mbit/half duplex), or 5 (100Mbit/full duplex).
Ethernet connection type: (0) ? _
Micro125 User Guide 57

Security Settings (Option 6)

Note: You can change security settings by means of Telnet or serial connections only, not on
the Web-Manager. We recommend that you set security over the dedicated network or over the serial setup to prev e nt eav es drop pin g.
CAUTION: Disabling both Telnet Setup and Port 77FE will prevent users
from accessing the setup menu from the network. Disabling Port 77FE also disables the Web from configuring the device.
Select 6 to configure security settings.
Disable SNMP (N) ? SNMP Community Name (public): Disable Telnet Setup (N)? Disable TFTP Firmware Update (N)? Disable Port 77FEh (N)? Disable Web Server (N)? Disable Web Setup (N)? Disable ECHO ports (Y)? Enable Encryption (N)? Enable Enhanced Password (N)?
9: Setup Mode: Advanced Settings
Figure 9-2. Security Settings

Disable SNMP

This setting allows you to disable the SNMP protocol on the unit for security reasons.
Disable SNMP (N) ? _

SNMP Community Name

The SNMP Community Name is a required field for NMS to read or write to a device. Enter a string of 1 to 13 characters.
SNMP Community Name (public): _
The default entry is public. The current value is displayed in parentheses.

Disable Telnet Setup

Note: If you choose to disable this option, keep in mind that disabling both Telnet Setup and
Port 77FE will prevent users from access ing the setup menu from the net w ork .
This setting defaults to the N (No) option. The Y (Yes) option disab les acc es s to Setup Mod e by Telnet (port 9999). It only allows access locally using the web pages and the serial port of the unit.
Disable Telnet Setup (N) ? _
Micro125 User Guide 58
9: Setup Mode: Advanced Settings

Disable TFTP Firmware Upgrade

This setting defaults to the N (No) option. The Y (Yes) option disables the use of TFTP to perform network firmware upgrades. With this option, you can download firmware upgrades over the serial port using DeviceInstaller’s Recover Firmware procedure. (See 10: Firmware
Upgrades.)
Disable TFTP Firmware Update (N) : _

Disable Port 77FE (Hex)

If you choose to disable this option, keep in mind that disabling both the Telnet Setup and Port 77FE will prevent users from accessing the setup menu from the network. Port 77FE is a setting that allows DeviceInstaller, WebManager, and custom programs to configure the unit remotely. You may wish to disable this capability for security purposes.
Disable Port 77FEh(N) ?
Note: The default setting is the N (No) option, which enables remote configuration. You can
configure the unit by using DeviceInstaller, web pages, Telnet, or serial configuration. The Y (Yes) option disables remote configuration and web sites. The Y (Yes) option also disables many of the GUI tools for configuring the unit, including the embedded WebManager tool.

Disable Web Server

This setting defaults to the N (option). The Y (Yes) option disables the web server.
Disable Web Server (N) ? _

Disable Web Setup

The Y (Yes) option disables configuration using the Web-Manager. This setting defaults to the N (option).
Disable Web Setup (N) ? _

Disable ECHO Ports

This setting controls whether port 7 echoes characters it receives.
Disable ECHO ports (Y) ? _

Enable Encryption

Rijndael is the block cipher algorithm chosen by the National Institute of Science and Technology (NIST) as the Advanced Encryption Standard (AES) to be used by the US government. The Micro125 supports 128-, 192-, and 256-bit encryption key lengths.
Note: Configuring encryption should be done through a local connection to the serial port of
the Micro125, or via a secured network connection. Initial configuration information, including the encryption key, is sent in clear text over the network.
Micro125 User Guide 59
9: Setup Mode: Advanced Settings
To configure AES encryption on the Micro125:
Enable Encryption (N) Y Key length in bits (0): 128 Change Keys (N) Y Enter Keys: **-**-**-**-**-**-**-**-**-**-**-**-**-**-**-**-
hen prompted to enable encryption, select Y.
1. W
2. When prompted, enter the encryption key length. The Micro125 supports 128-, 192-, and 256-bit encryption key lengths.
3. When prompted to change keys, select Y.
4. At the Enter Keys prompt, enter your encryption key. The encryption keys are entered i hex
adecimal. The hexadecimal values are echoed as asterisks to prevent onlookers from
seeing the key. Hexadecimal values are 0-9 and A-F.
For a 128-bit key length, enter 32 hexadecimal characters.For a 192-bit key length, enter 48 hexadecimal characters.For a 256-bit key length, enter 64 hexadecimal characters
5. Continue pressing Enter until you return to the Change Setup menu.
6. From the Change Setup menu, select option 9 to save and exit.
Encryption only applies to the port selected for data tunneling (default 10001), regardless of whether you are using TCP or UDP.
Generally, one of these situations applies:
Encrypted Micro125-to-Micro125 communication. Be sure to configure both Micro125
devices with the same encryption key.
Third-party application to Micro125-encrypted communication: Micro125 uses standar
AES encryption protocols. To communicate successfully, products and applications on t
he peer side must use the same protocols and the same encryption key as the Micro125
Lant
ronix Secure Com Port Redirector provides an encrypted connection from Windows­based applications to the Micro125. Information about SCPR is available on our web site,
www.lantronix.com/device-networking/utilities-tools/scpr. A 30-day trial version of SCPR
is available.
d
n
.
Note: Developers can license the Lantronix Encr ypt ion Library Su ite. Se e
www.lantronix.com/device-networking/utilities-tools.

Enable Enhanced Password

This setting defaults to the N (No) option, which allows you to set a 4-character password that protects Setup Mode by means of Telnet and web pages. The Y (Yes) option allows you to set an extended security password of 16-characters for protecting Telnet and Web Page access.
Enable Enhanced Password (Y) ? _
Micro125 User Guide 60

Default Settings (Option 7)

Baudrate
9600
I/F Mode
4C (1 stop bit, no parity, 8 bit, RS-232C)
Flow
00 (no flow control)
Port number
10001 (channel 1) 10002 (channel 2)
Connect Mode
connection startup)
Send '+++' in Modem Mode
Enabled
Show IP addr after 'RING'
Enabled
Auto increment source port
Disable
Hostlist retry counter
3
Hostlist retry timeout
250 (msec)
Start character for serial channel 1
0x0D (CR)
All other parameters
0
TCP Keepalive time in s
45
ARP Cache timeout in s
600
Disable Monitor Mode @ bootup
No
HTTP Port Number
80
MTU Size
0 (resulting in an operational value of 1400)
TCP Re-Transmission Timeout (500-4000)
500 (ms)
Alternate MAC
Disabled ( for OEM use only)
Ethernet Connection Type
0 (auto-negotiate)
Select 7 to reset the unit’s channel configuration and expert settings to the default settings. The server configuration settings for IP address, gateway IP address, and netmask remain unchanged. The specific settings that this option changes are listed below:

Channel 1 and Channel 2 Configuration Defaults

Channel Setting Default Configuration
9: Setup Mode: Advanced Settings
C0 (always accept incoming connection; no active

Expert Settings Defaults

Expert Setting Default Configuration
Micro125 User Guide 61

Security Settings Defaults

Disable SNMP
No
SNMP community name
public
Disable Telnet setup
No
Disable TFTP Firmware Update
No
Disable Port 77FEh
No
Disable Web Server
No
Disable Web Setup
No
Disable ECHO ports
Yes
Enable Encryption
No
Enable Enhanced Password
No
Security Setting Default Configuration
9: Setup Mode: Advanced Settings
Micro125 User Guide 62

10. Firmware Upgrades

ROM File
COB
m125e_6804.rom
m125_webm_1903.cob

Obtaining Firmwa re

You can obtain the most up-to-date firmware and release notes for the unit from the Lantronix web site (
ftp.lantronix.com/pub).
(

Reloading Firmwa re

There are several ways to update the unit's internal operational code (*.ROM): using DeviceInstaller (the pref er r ed wa y), using TFTP, or using the serial port. You can also update the unit's internal Web interface (*.COB) using TFTP or DeviceInstaller.
Here are typical names for those files. Check the Lantronix web site for the latest versions and release notes.
www.lantronix.com/support/downloads) or by using anonymous FTP
Table 10-1. Firmware Files
Please refer to the DeviceInstaller online Help for information about reloading firmware using DeviceInstaller. The other methods are discussed below.

Using TFTP: Graphical User Interface

To download new firmware from a computer:
1. Use a TFTP client to put a binary file to the unit (*.ROM to upgrade the unit's internal operational code and *.COB to upgrade its internal web interface).
Note: TFTP requires the .rom (binary) version of the unit's internal operational code.
2. In the TFTP server field, enter the IP address of the unit being upgraded.
3. Select Upload operation and Binary format.
4. Enter the full path of the firmware file in the Local file name field.
5. In the Remote file name field, enter the current internal operational code or WEB1 to W
EB6 for the internal web interface.
Micro125 User Guide 63
10: Firmware Upgrades
Figure 10-1. TFTP Window
6. Click the Upload Now button to transfer the file to the unit. The unit performs a power reset after the firmware has been loaded and stored.

Using TFTP: Command Line Interface

To download new firmware from a computer:
1. Enter the following from a TFTP command line interface:
tftp –i <ip address> put <local filename> <destination file name>
The following examples demonstrate the TFTP command sequence to download the .rom file and the .cob file:
tftp –i 192.168.1.111 put m125e_6804.rom 5M tftp –i 192.168.1.111 put m125_webm_1903.cob WEB1
Micro125 User Guide 64
10: Firmware Upgrades

Recovering the Firmware Using the Serial Port and DeviceInstaller

If for some reason the firmware is damaged, you can recover the firmware file by using DeviceInstaller to download the *.ROM file over the serial port.
To recover firmware:
1. Start DeviceInstaller. If your PC has more than one network adapter, a mess di
splays. Select an adapter and click OK.
2. From the Tools menu, select Advanced/Recover Firmware. The Serial Port Firmwar
pgrade window displays.
U
3. For Port on PC, enter the COM port on the PC that is connected to the serial port of t
ronix unit.
Lant
Note: Make sure the Micro125 on which you are recovering firmware is connected to this
selected port on your PC.
4. For Device Model, be sure the appropriate Micro125 device is selected.
5. For Firmware File, click the Browse button and go to the location where the firmware file r
esides.
6. Click OK to download the file.
7. When prompted, reset the device. Status messages and a progress bar at the bottom of the screen show the progress of the file transfer. When the file transfer completes, t
essage “Successful, Click OK to Close” appears.
m
8. Click the OK button to complete this procedure.
Note: For more information, see Recovering Firmware in the DeviceInstaller online Help.
age
e
he
he
Micro125 User Guide 65

11. Monitor Mode

Monitor Mode is a command-line interface used for diagnostic purposes. There are two ways to enter Monitor Mode: locally using the serial port or remotely using the
network.

Entering Monitor M ode Using the Serial Port

To enter Monitor Mode locally:
1. Follow the same steps used for setting the serial configuration parameters (see Serial Port on page 36).
2. Instead of typing three x keys, however:
3. Type zzz (or xx1) to enter Monitor Mode with network connections.
4. Type yyy (or yy1) to enter Monitor Mode without network connections. A 0> prompt indicates that you have successfully entered Monitor Mode.

Entering Monitor M ode Using the Network Port

To enter Monitor Mode using a Telnet connection:
1. Establish a Telnet session to the configuration port (9999). The following message appears:
MAC address 00204AAE0412 Software version V6.8.0.4 (121207) M125 AES library version 1.8.2.1
Press Enter for Setup Mode
2. Type M (upper case). A 0> prompt indicates that you have successfully entered Monitor Mode.

Monitor Mode Commands

The following commands are available in Monitor Mode. Many commands have an IP address as an optional parameter (xxx.xxx.xxx.xxx). If you enter the IP address, the command is applied to another unit with that IP address. If you do not enter the IP address, the command is executed locally.
Note: All commands must be in capital letters. Responses to some of the commands are in
Intel Hex format.
Micro125 User Guide 66
Table 11-1. Monitor Mode Commands
VS x.x.x.x
Version
Queries software header record (16 bytes) of unit with IP address x.x.x.x.
GC x.x.x.x
Get Configuration
Gets configuration of unit with IP address x.x.x.x as hex records (120 bytes).
SC x.x.x.x
Send Configuration
Sets configuration of unit with IP address x.x.x.x from hex records.
PI x.x.x.x
Ping
Pings unit with IP address x.x.x.x to check device status.
AT
ARP Table
Shows the unit’s ARP table entries.
TT
TCP Connection Table
Shows all incoming and outgoing TCP connections.
NC
and DNS server.
RS
Reset
Resets the unit’s power.
QU
Quit
Exits diagnostics mode.
G0, G1, ....,Ge, Gf
memory page
from the device.
S0, S1,...,Se, Sf
Set configuration to memory page
Sets a memory page of configuration information on the device.
GM
Get MAC address
Shows the unit's 6-byte MAC address.
SS
overwritten).
SA
Scan
Initiates a wireless scan if the wireless interface is
and RSSI are returned.
NS
Network Status
Reports the network interfaces’ statuses. Includes
wireless interfaces.
co
Set IP address,
Example:
OK.
Command Command Name Function
Network Connection Shows the unit’s IP address, gateway, subnet mask,
11: Monitor Mode
Get configuration from
Set Security record Sets the Security record without the encryption key
hostbits, gateway , and DNS server IP
Gets a memory page of configuration information
and length parameters. The entire record must still be written, but the encryption-specific bytes do not need to be provided (they can be null since they are not
enabled. Reports any stations found, including BSSID, SSID, and RSSI. If SA is followed by a string, the string is used to filter SSIDs before reporting. If the BSS does not broadcast its SSID, only the BSSID
potentially negotiated parameters like speed/duplex for Ethernet or BSSID, encryption, authenticat ion for
co 192.168.0.10 8 192.168.0.1 10001 192.168.1.10 with
192.168.0.10 = IP address of the Micro125 8 = number of hostbits
192.168.0.1 = gateway IP address 10001 = port number of the Micro125
192.168.1.10 = IP address of the DNS Server The Micro125 stores the setup and performs a reset.
It sends an X before the reset if the command was
Micro125 User Guide 67
11: Monitor Mode
0>
OK; no error
1>
No answer from remote device
2>
Cannot reach remote device or no answer
8>
Wrong parameter(s)
9>
Invalid command
Note: Entering any of the commands listed above generates one of the following command
response codes:
Table 11-2. Command Response Codes
Response Meaning
Micro125 User Guide 68

12. Troubleshooting

When you issue the ARP –S
message displays.
Your currently logged-in user
PC.
Have someone from your IT
When you attempt to assign an
connection fails.
When you Telnet to port 1 on
address.
Telnet back to Port 1. Wait for it When you Telnet to port 9999,
connection is closed.
You did not press Enter quickly
Telnet to port 9999 again, but
segmented with colons.
The IP address you are trying to
Confirm that your PC has an IP
device server.
This chapter discusses how you can diagnose and fix errors quickly without having to contact a dealer or Lantronix. It helps to connect a terminal to the serial port while diagnosing an error to view summary messages that may display. When troubleshooting, always ensure that the physical connections (power cable, network cable, and serial cable) are secure.
Note: Some unexplained errors might be caused by duplicate IP addresses on the network.
Make sure that your unit's IP address is unique.
When troubleshooting the following problems, make sure that the Micro125 is powered up. Confirm that you are using a good network connection.

Problems and Error M essages

Problem/Message Reason Solution
command in Windows, the "ARP entry addition failed: 5"
IP address to the unit by the ARP method, the "Press Enter to go into Setup Mode" error "(described below) message displays. Now when you Telnet to the device server, the
the "Press Enter to go into Setup Mode" message displays. However, nothing happens when you press Enter, or your
When you Telnet to port 1 to assign an IP address to the device server, the Telnet window does not respond for a long time.
does not have the correct rights to use this command on this
the device server, you are only assigning a temporary IP address. When you Telnet into port 9999 and do not press Enter quickly, the device server reboots, causing it to lose the IP
enough. You only have 5 seconds to press Enter before the connection is closed.
You may have entered the Ethernet address incorrectly with the ARP command.
department log you in with sufficient rights.
to fail, then Telnet to port 9999 again. Make sure you press Enter quickly.
press Enter as soon as you see the "Press Enter to go into Setup Mode" message.
Confirm that the Ethernet address that you entered with the ARP command is correct. The Ethernet address may only include numbers 0-9 and letters A-F. In Windows and usually in Unix, the segments of the Ethernet address are separated by dashes. In some forms of Unix, the Ethernet address is
Micro125 User Guide 69
assign is not on your logical subnet.
address and that it is in the same logical subnet that you are trying to assign to the
Problem/Message Reason Solution
The device server may not be
Make sure that the Link LED is
plugged into the network.
When you try to assign an IP
The cause is most likely one of
subnet mask.
Double-check the parameters
The device server is not
The most likely reason is the
The serial settings for the serial
bit, no flow control.
When you try to enter the setup
response.
The issue is most likely
you have Caps Lock on.
Double-check everything in the
You can ping the device server,
There may be an IP address
Turn the device server off and
disabled.
12: Troubleshooting
with DeviceInstaller, you get the following :
"No response from device! Verify the IP, Hardware Address and Network Class. Please try again."
communicating with the serial device to which it is attached.
mode on the device server using the serial port, you get no
plugged into the network properly.
the following:
The hardware address you specified is incorrect.
The IP address you are trying to assign is not a valid IP for your logical subnet.
You did not choose the correct
wrong serial settings were chosen.
something covered in the previous problem, or possibly,
lit. If the Link LED is not lit, then the device server is not properly
that you specified.
Note: You cannot assign an IP
address to a device server through a router.
device and the device server must match. The default serial settings for the device server are RS-232, 9600 baud, 8 character bits, no parity, 1 stop
problem above. Confirm that Caps Lock is not on.
but not Telnet to the device server on port 9999.
conflict on your network
You are not Telneting to port
9999.
The Telnet configuration port (9999) is disabled within the device server security settings.
then issue the following commands at the DOS prompt of your computer:
ARP -D X.X.X.X (X.X.X.X is the IP of the device server).
PING X.X.X.X (X.X.X.X is the IP of the device server). If you get a response, then there is a duplicate IP address on the network. If you do not get a response, use the serial port to verify that Telnet is not
Micro125 User Guide 70
Problem/Message Reason Solution
The device server appears to
If you are sure that the serial
You can check to see whether
on page 44.
When connecting to the Web-
Your computer is not able to
Make sure that port 30718
the device server.
12: Troubleshooting
be set up correctly, but you are not communicating with your device attached to the device server across the network.
Manager within the device server, the "No Connection With The Device Server" message displays.
port setting is correct, then you may not be connecting to the correct socket of the device server.
Another possibility is that the device server is not set up correctly to make a good socket connection to the network.
connect to port 30718 (77FEh) on the device server.
there is a socket connection to or from the device server by looking at the Status LED.
If the Status LED is blinking consistently, then there is a good socket connection.
If the Status LED is solid green, then the socket connection does not exist. Use the Connect Mode option C0 for making a connection to the device server from the network. Use Connect Mode option C1 or C5 for a connection to the network from the device server. See the full list of Connect Mode options in Connect Mode
(77FEh) is not blocked with any router that you are using on the network. Also, make sure that port 77FEh is not disabled within the Security settings of
Micro125 User Guide 71

Technical Support

If you are experiencing an error that is not described in this chapter, or if you are unable to fix the error, you have the following options:
Technical Support US
Check our online knowledge base or send a question to Technical Support at
http://www.lantronix.com/support
Phone: (800) 422-7044 (US Only)
(949) 453-7198
Technical Support Europe, Middle East, and Africa
Phone: +33 (0)1 39 30 41 72
+49 (0) 180 500 13 53 (Germany Only)
12: Troubleshooting
.
Email: Firmware downloads, FAQs, and the most up-to-date documentation are available at
www.lantronix.com/support
When you report a problem, please provide the following information:
Your name, and your company name, address, and phone number Lantronix model numberLantronix MAC numberSoftware versio n (on the fir s t scr een sho wn when you Telnet to port 9999)Description of the problemStatus of the unit when the problem occurred (please try to include information on user
eu_techsupp@lantronix.com or eu_support@lantronix.com
.
and network activity at the time of the problem).
Micro125 User Guide 72
1
0001
1 2 0010
2
3
0011
3
4
0100
4 5 0101
5
6
0110
6
7
0111
7 8 1000
8
9
1001
9
10
1010
A
11
1011
B
12
1100
C
13
1101
D
14
1110
E
15
1111
F

A: Binary to Hexadecimal Conversions

Many of the unit’s configuration procedures require assembling a series of options (represented as bits) into a complete command (represented as a byte). Convert the resulting binary value to a hexadecimal representation.

Converting Binary to Hexadecimal

Following are two simple ways to convert binary numbers to hexadecimals.

Conversion Table

Hexadecimal digits have values ranging from 0 to F, which are represented as 0-9, A (for 10), B (for 11), etc. To convert a binary value (for example, 0100 1100) to a hexadecimal representation, the upper and lower four bits are treated separately, resulting in a two-digit hexadecimal number (in this case, 4C). Use the following table to convert values from binary to hexadecimal.
Decimal Binary Hex
0
0000 0
Micro125 User Guide 73
A: Binary to Hexadecimal Conversions

Scientific Calculator

Another simple way to convert binary to hexadecimals is to use a scientific calculator, such as the one available on Windows’ operating systems. For example:
1. On the Windows’ Start menu, click ProgramsAccessoriesCalculator.
2. On the View menu, select Scientific. The scientific calculator displays.
3. Select Bin (Binary), and type the number to convert.
4. Click Hex. The hexadecimal value displays.
Micro125 User Guide 74
Loading...