Lantronix Micro125 User Manual

Lantronix Micro125 User Manual

Device server
Hide thumbs Also See for Micro125:
Table of Contents

Advertisement

Micro125

User Guide

Part Number 900-588
Revision B March 2013

Advertisement

Table of Contents
loading

Summary of Contents for Lantronix Micro125

  • Page 1: User Guide

    Micro125 User Guide Part Number 900-588 Revision B March 2013...
  • Page 2: Copyright And Trademark

    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.
  • Page 3: Table Of Contents

    IP Address _____________________________________________________ 13 4. Using DeviceInstaller Installing DeviceInstaller ______________________________________________ 14 Assigning an IP Address _____________________________________________ 14 Accessing the Micro125 Using DeviceInstaller ____________________________ 15 Viewing the Current Configuration ______________________________________ 15 5. Configuration Using Web Manager Accessing Web-Manager Using DeviceInstaller ___________________________ 18...
  • Page 4 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...
  • Page 5 11. Monitor Mode Entering Monitor Mode Using the Serial Port ______________________________ 66 Entering Monitor Mode Using the Network Port ____________________________ 66 Monitor Mode Commands _________________________________________ 66 12. Troubleshooting Problems and Error Messages _________________________________________ 69 Technical Support ___________________________________________________ 72 Micro125 User Guide...
  • Page 6: List Of Figures

    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.
  • Page 7: 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 their end product designs.
  • Page 8: Additional Documentation

    Document Description Micro125 Integration Guide Provides information about the Micro125 hardware, testing the Micro125 using the evaluation board, and integrating the Micro125 into your product. Com Port Redirector User Guide Provides information on using the Windows-based utility to create a virtual com port.
  • Page 9: Introduction

    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 ...
  • Page 10: Protocol Support

    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...
  • Page 11: Ip Address

    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 automatically assigned an IP address on DHCP-enabled networks, as it is DHCP-enabled by default.
  • Page 12: Getting Started

    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.
  • Page 13: Ip Address

    _______ _______ _______ _______ 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...
  • Page 14: Using Deviceinstaller

    Note: If the unit already has an IP address (e.g., DHCP has assigned an IP address), click the Search icon and select the unit from the list of Lantronix device servers on the local network. 2. Click the Assign IP icon 3.
  • Page 15: Accessing The Micro125 Using Deviceinstaller

    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.
  • Page 16 Online Status Non-configurable field. Displays the Micro125’s status as online, offline, unreachable (the Micro125 is on a different subnet), or busy (the Micro125 is currently performing a task). IP Address Non-configurable field. Displays the Micro125’s current IP address. To change the IP address, click Assign IP on the DeviceInstaller menu bar.
  • Page 17 Non-configurable field. Displays False, indicating email triggers are not Triggers available on the Micro125. Supports AES Data Non-configurable field. Displays True if the Micro125 unit supports AES Stream encryption. Supports 485 Non-configurable field. Displays True, indicating the Micro125 supports the RS-485 protocol.
  • Page 18: Configuration Using Web Manager

    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.
  • Page 19: Figure 5-1. Web-Manager Login Window

    If a Telnet/Web Manager password has been defined, leave the username blank, type in the password, and then click OK. The Web-Manager displays. Figure 5-2. Lantronix Web-Manager The main menu is in the left pane of the Web-Manager window. Micro125 User Guide...
  • Page 20: Network Configuration

    Automatic IP Address Configuration An IP address can be assigned automatically. You then enter related network settings. To assign an IP address automatically: 1. On the main menu, click Network. 2. Select Obtain IP address automatically. Micro125 User Guide...
  • Page 21: Static Ip Address Configuration

    DHCP Select Enable to permit the Dynamic Host Configuration Protocol (DHCP) to assign a leased IP address to the Micro125 unit automatically. Enable is the 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.
  • Page 22: Ethernet Configuration

    Speed: The speed of data transmission. The default is 100 Mbps.  Duplex: The direction of data transmission. The default is Full. 3. When you are finished, click the OK button. 4. On the main menu, click Apply Settings. Micro125 User Guide...
  • Page 23: Server Configuration

    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. 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:...
  • Page 24: Advanced

    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.
  • Page 25: Retry Settings

    Retry Settings Retry Settings Description Retry Counter Enter the value for the number of times the Micro125 should attempt to retry connecting to the host list. Retry Timeout Enter the duration (in milliseconds) the Micro125 should abandon attempting a connection to the host list.
  • Page 26: Serial Settings

    Using a telnet session (see Baudrate) you may enter a baud rate of 00 in channel settings to disable the serial port. Port Settings Port Settings Description Protocol From the drop-down menu, select the protocol type for the selected channel. Micro125 User Guide...
  • Page 27 Use to indicate the end of a series of data to be sent as one group. The sequence must occur sequentially to indicate end of the data 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.
  • Page 28 Select Yes to clear the output buffer when the network connection to or from the device is disconnected. The default is No. 3. When you are finished, click the OK button. 4. On the main menu, click Apply Settings. Micro125 User Guide...
  • Page 29: Connection Settings - Tcp

    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...
  • Page 30: Connect Protocol

    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 address upon connection. The default setting is Yes. Micro125 User Guide...
  • Page 31: Endpoint Configuration

    (drop) when Modem Control In transitions from an 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. Micro125 User Guide...
  • Page 32: Connection Settings - Udp

    To configure a channel’s UDP settings: 1. On the main menu, click Connection. The Connection Settings window for the selected channel displays. 2. In the available fields, enter or modify the following information: Figure 5-8. UDP Connection Settings Micro125 User Guide...
  • Page 33: Apply Settings

    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...
  • Page 34: Apply Defaults

    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...
  • Page 35: Configuration Via Telnet Or Serial Port (Setup Mode)

    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.
  • Page 36: Serial Port Connection

    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...
  • Page 37: Exiting Setup Mode

    To save all changes and reboot the device, select option 9 Save and exit from the Change Setup menu. All values are stored in nonvolatile memory.  To exit the configuration mode without saving any changes or rebooting, select option 8 Exit without save from the Change Setup menu. Micro125 User Guide...
  • Page 38: Setup Mode: Server Configuration

    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 BootP. To disable an option, set the appropriate bit.
  • Page 39: Set Gateway Ip Address

    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...
  • Page 40: Change Telnet/Web-Manager Password

    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...
  • Page 41: Setup Mode: Channel Configuration

    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.
  • Page 42: I/F (Interface) Mode

    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.
  • Page 43: Flow

    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...
  • Page 44: Connect Mode

    With active Modem Control In With a specific start character Manual connection Autostart Hostlist d) Datagram Type Directed UDP e) Modem Mode No Echo Data Echo & Modem Response (Numeric) Data Echo & Modem Response (Verbose) Modem Response Only (Numeric) Micro125 User Guide...
  • Page 45: A) Incoming Connection

    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 between each pair of IP address numbers. Micro125 User Guide...
  • Page 46: Table 8-7. Manual Connection Address Example

    Connects to 129.1.28.10, port 12 C0.0.0.0/0 Enters Monitor Mode Cwww.lantronix.com/80 Tries to connect to the Lantronix web server if the <hostname:domain> (www.lantronix.com) is configured in the DNS server database. Autostart (Automatic If you enable Autostart, the unit automatically connects to the Connection) remote IP address &...
  • Page 47: Figure 8-2. Hostlist Option

    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.
  • Page 48: D) Datagram Type

    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 applications, you avoid potentially expensive phone calls.
  • Page 49: Table 8-9. Modem Mode Messages

     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...
  • Page 50: Send The Escape Sequence (+++) In Modem Mode

    ATE0V. Send the Escape Sequence (+++) 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...
  • Page 51: Show Ip Addr After 'Ring

    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.
  • Page 52: Table 8-11. Disconnect Mode Options

    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 transitions from a high state to a low state, the network connection to or from the serial port drops. Micro125 User Guide...
  • Page 53: Flush Mode (Buffer Flushing)

    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 Packing Interval Micro125 User Guide...
  • Page 54: Packing Interval

    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...
  • Page 55: Send Characters

    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...
  • Page 56: Setup Mode: Advanced Settings

    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...
  • Page 57: Arp Cache Timeout In Seconds

    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.
  • Page 58: Security Settings (Option 6)

    This setting defaults to the N (No) option. The Y (Yes) option disables access to Setup Mode 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...
  • Page 59: Disable Tftp Firmware Upgrade

    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...
  • Page 60: Enable Enhanced Password

    Third-party application to Micro125-encrypted communication: Micro125 uses standard AES encryption protocols. To communicate successfully, products and applications on the peer side must use the same protocols and the same encryption key as the Micro125.  Lantronix Secure Com Port Redirector provides an encrypted connection from Windows- based applications to the Micro125.
  • Page 61: Default Settings (Option 7)

    Disable Monitor Mode @ bootup HTTP Port Number MTU Size 0 (resulting in an operational value of 1400) TCP Re-Transmission Timeout 500 (ms) (500-4000) Alternate MAC Disabled ( for OEM use only) Ethernet Connection Type 0 (auto-negotiate) Micro125 User Guide...
  • Page 62: Security Settings Defaults

    Security Settings Defaults Security Setting Default Configuration Disable SNMP SNMP community name public Disable Telnet setup Disable TFTP Firmware Update Disable Port 77FEh Disable Web Server Disable Web Setup Disable ECHO ports Enable Encryption Enable Enhanced Password Micro125 User Guide...
  • Page 63: 10. Firmware Upgrades

    10. Firmware Upgrades Obtaining Firmware You can obtain the most up-to-date firmware and release notes for the unit from the Lantronix web site (www.lantronix.com/support/downloads) or by using anonymous FTP (ftp.lantronix.com/pub). Reloading Firmware There are several ways to update the unit's internal operational code (*.ROM): using DeviceInstaller (the preferred way), using TFTP, or using the serial port.
  • Page 64: Using Tftp: Command Line Interface

    –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...
  • Page 65: Recovering The Firmware Using The Serial Port And Deviceinstaller

    3. For Port on PC, enter the COM port on the PC that is connected to the serial port of the Lantronix unit. 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.
  • Page 66: 11. Monitor Mode

    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...
  • Page 67: Table 11-1. Monitor Mode Commands

    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...
  • Page 68: Table 11-2. Command Response Codes

    Entering any of the commands listed above generates one of the following command response codes: Table 11-2. Command Response Codes Response Meaning 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 Micro125 User Guide...
  • Page 69: 12. Troubleshooting

    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.
  • Page 70 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 disabled. Micro125 User Guide...
  • Page 71 "No Connection With on the device server. router that you are using on the The Device Server" message network. Also, make sure that displays. port 77FEh is not disabled within the Security settings of the device server. Micro125 User Guide...
  • Page 72: Technical Support

    Software version (on the first screen shown when you Telnet to port 9999)       Description of the problem  Status of the unit when the problem occurred (please try to include information on user and network activity at the time of the problem). Micro125 User Guide...
  • Page 73: A: Binary To Hexadecimal Conversions

    (in this case, 4C). Use the following table to convert values from binary to hexadecimal. Decimal Binary 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Micro125 User Guide...
  • Page 74: Scientific Calculator

    Windows’ operating systems. For example: 1. On the Windows’ Start menu, click ProgramsAccessoriesCalculator. 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...

Table of Contents