MatchPort™ b/g User Guide Part Number 900-484 Revision D January 2010
Copyright and Trademark © 2007, 2008, 2010 Lantronix. 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. Printed in the United States of America. MatchPort, with its patent-pending technology, is a trademark of Lantronix. Ethernet is a trademark of XEROX Corporation. UNIX is a registered trademark of The Open Group.
Disclaimer This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
Note: In the event that these conditions cannot be met (for example certain laptop configurations, general purpose PCMCIA or similar cards, or colocation with another transmitter), then the FCC authorization is no longer considered valid and the FCC ID cannot be used on the final product (including the transmitter) and obtaining a separate FCC authorization. Note: Changes or modifications to this device not explicitly approved by Lantronix will void the user's authority to operate this device.
Contents Copyright and Trademark __________________________________________________ 2 Warranty _______________________________________________________________ 2 Contacts _______________________________________________________________ 2 Disclaimer ______________________________________________________________ 3 Revision History _________________________________________________________ 4 List of Tables ___________________________________________________________ 8 List of Figures ______________________________
Contents Updating Settings _______________________________________________________ 39 Applying Defaults _______________________________________________________ 39 5: Configuration via Serial Mode or Telnet Port 40 Accessing Setup Mode ___________________________________________________ 40 Telnet Access _____________________________________________________________ 40 Serial Port Access _________________________________________________________ 41 Server Configuration _____________________________________
Contents Minimum TX Data Rate _____________________________________________________ Max TX Failures ___________________________________________________________ Enable Power Management __________________________________________________ Enable Soft AP Roaming ____________________________________________________ 63 63 63 63 Expert Settings _________________________________________________________ 64 TCP Keepalive Time _______________________________________________________ ARP Cache Timeout_________________
Contents 8: Updating Firmware 79 Obtaining Firmware _____________________________________________________ 79 Reloading Firmware _____________________________________________________ 79 Using TFTP: Graphical User Interface __________________________________________ 79 Using TFTP: Command Line Interface __________________________________________ 80 Recovering the Firmware Using the Serial Port ___________________________________ 80 9: Wireless Bridging 81 10: Troubleshooting 82 Diagnostic LED States _
Contents List of Figures Figure 4-1. Web-Manager Login Window Figure 4-2. Web-Manager Figure 4-3. Network Settings (Wireless Only) Figure 4-4. Ethernet Settings (Wired Only) Figure 4-5. Server Settings Figure 4-6. Hostlist Settings Figure 4-7. Channel Serial Settings Figure 4-8. TCP Connection Settings Figure 4-9. UDP Connection Settings Figure 4-10. Email Settings Figure 4-11. Email Trigger Settings Figure 4-12. WLAN Settings Figure 4-13. Configurable Pins Settings Figure 5-1. MAC Address Figure 5-2.
1: Using This Guide Purpose and Audience This guide provides the information needed to configure, use and update the TM MatchPort b/g and is intended for software developers and system integrators who are embedding the unit in their designs. Chapter Summary The remaining chapters in this guide include: 2: Introduction Describes the main features of the MatchPort and the protocols it supports. 3: Using DeviceInstaller Provides information for viewing the MatchPort’s configuration using DeviceInstaller.
Using This Guide Additional Documentation Visit the Lantronix web site at www.lantronix.com/support/documentation for the latest documentation and the following additional documentation. MatchPort b/g Demonstration Kit Quick Start Guide - Briefly explains the basics of getting the MatchPort up and running. MatchPort b/g Integration Guide - Provides information about the MatchPort hardware and integrating the MatchPort into another product.
2: Introduction MatchPort b/g is a wireless embedded device server that provides a networkenabling solution based on the IEEE 802.11b/g wireless standard. MatchPort allows Original Equipment Manufacturers (OEMs) to add wireless connectivity to their products by incorporating it onto a circuit board. The MatchPort functions independently of a PC, providing a fully integrated solution that combines a processor, memory, 802.
Introduction SNMP monitoring Connection to devices through a TCP or UDP data channel to computers or to another device server Web server allowing presentation of custom content and easy configuration through the browser Contains eight programmable I/O pins used to monitor or control attached devices. Applications The MatchPort device server connects serial devices such as those listed below to wireless and Ethernet networks using the IP protocol family.
Introduction 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 MatchPort using DeviceInstaller.
3: Using DeviceInstaller This chapter covers the steps for viewing the MatchPort device server’s properties and device details. The MatchPort’s default configuration is as follows: Network name: LTRX_IBSS Ad hoc mode No security BOOTP, DHCP, and AutoIP enabled. The computer on which DeviceInstaller will be installed needs to have access to a wireless card with the same settings. Set the IP address to 0.0.0.0. Note: AutoIP generates a random IP address in the range 169.254.0.1 to 169.254.255.
Using DeviceInstaller Comments Configurable field. Enter comments for the MatchPort. Doubleclick the field, type the comment, and press Enter to complete. This description or comment is not visible on other PCs or laptops using DeviceInstaller. Device Family Non-configurable field. Displays the MatchPort b/g’s device family type as MatchPort. Type Non-configurable field. Displays the device type as MatchPort b/g. ID Non-configurable field. Displays the MatchPort’s ID embedded within the box.
Using DeviceInstaller Web Enabled Non-configurable field. Displays True, indicating that the user can access the MatchPort by means of a web browser. Web Port Non-configurable field. Displays the MatchPort’s port for WebManager configuration. Maximum Baud Rate Supported Non-configurable field. Displays the MatchPort’s maximum baud rate. Note: The MatchPort may not currently be running at this rate. Firmware Upgradeable Non-configurable field.
4: Configuration Using Web-Manager This chapter describes how to configure the MatchPort using Web-Manager, Lantronix’s browser-based configuration tool. The unit’s configuration is stored in nonvolatile memory and is retained without power. The unit performs a reset after the configuration is changed and stored. Note: The MatchPort b/g is based on a standard release of Lantronix's CoBos operating system. Some CoBos products support both wired and wireless interfaces.
Configuration Using Web-Manager 5. Do one of the following: If no Telnet password has been defined (default), leave both fields blank and click OK. If a Telnet password has been defined, leave the username blank, type in the password, and then click OK. The Web-Manager displays. The main menu is in the left pane of the WebManager page. Figure 4-2. Web-Manager Network Configuration The unit’s network values display when you select Network from the main menu.
Configuration Using Web-Manager Figure 4-3. Network Settings (Wireless Only) Network Mode Configuration To determine the MatchPort’s network mode: 1. Click Network from the main menu. 2. Modify the following: Network Mode Select Wireless Only to enable only the wireless network connectivity for the MatchPort. Select Wired Only to enable only the Ethernet network connectivity. Select Bridging (Single Host) to enable Ethernet –to-wireless bridging on the MatchPort.
Configuration Using Web-Manager DHCP Select Enable to permit Dynamic Host Configuration Protocol (DHCP). DHCP automatically assigns a leased IP address to the MatchPort unit. AutoIP The MatchPort generates an IP in the 169.254.x.x address range with a Class B subnet. Select the Enable checkbox to enable this feature. DHCP Host Name Enter the name of the host on the network providing the IP address.
Configuration Using Web-Manager Ethernet Configuration If the Network Mode is Wired Only, in addition to the IP configuration, you must specify the speed and direction of data transmission. Figure 4-4. Ethernet Settings (Wired Only) To specify how data will be transmitted: 1. Enter the following (as necessary): Auto Negotiate With this option, the Ethernet port auto-negotiates the speed and duplex with the hardware endpoint to which it is connected. This is the default setting.
Configuration Using Web-Manager Server Configuration The unit’s server values display when you select Server from the main menu. The following sections describe the configurable parameters within the Server configuration menu. Figure 4-5. Server Settings To configure the MatchPort’s device server settings: 1. On the main menu, click Server to open the Server Settings page. 2. Configure or modify the following fields: Server Configuration Telnet Password Enter the password required for Telnet access.
Configuration Using Web-Manager prevents the unit from entering monitor mode by interpreting the stream of characters that are received during the device server's initialization at startup. CPU Performance Mode Select the MatchPort’s performance mode. Higher performance settings require more energy. Low is 26 Mhz; Regular is 48 Mhz; High is 88 Mhz. The default is Regular. HTTP Server Port This option allows the configuration of the web server port number. The valid range is 1-65535.
Configuration Using Web-Manager Figure 4-6. Hostlist Settings 2. Enter or modify the following fields from the Hostlist Settings page: Retry Settings Retry Counter Enter the value for the number of times the MatchPort should attempt to retry connecting to the host list. Retry Timeout Enter the duration (in seconds) the MatchPort should abandon attempting a connection to the host list. Host Information Host Address Enter or modify the host’s IP address. Port Enter the target port number.
Configuration Using Web-Manager Figure 4-7. Channel Serial Settings 2. In the available fields, enter the following information: Channel 1 Disable Serial Port Available on Channel 2 settings only. When selected, disables communication through the serial port. Port Settings Protocol Select the protocol type from the drop-down list for the selected channel. RS-422/485 4-wire and RS-485 2-wire options are available on the MatchPort-485 only.
Configuration Using Web-Manager communication. It indicates the end of transmission. Pack Control Enable Packing Select the checkbox to enable packing on the MatchPort. 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.
Configuration Using Web-Manager 2. In the available fields, enter the following information: Connect Protocol Protocol Select TCP from the drop-down list. Figure 4-8. TCP Connection Settings Connect Mode: Passive Connection Accept Incoming Select Yes to accept incoming connections. Password Required Determines whether a password is required for an incoming passive connection. Not available when a password is set for Telnet mode.
Configuration Using Web-Manager 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. 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.
Configuration Using Web-Manager through the table until it is able to connect to another IP in the host list. The host list is disabled for Manual and Modem Modes. The unit will not accept a data connection from a remote device when the host list option is enabled. For information on configuring the host list, see Host List Configuration on page 24. LED Select Blink for the status LEDs to blink upon connection, or select None for no LED output.
Configuration Using Web-Manager Figure 4-9. UDP Connection Settings Datagram Mode Datagram Type Configures the remote IP or network broadcast address and the remote port. Enter 01 for directed or broadcast UDP. Accept Incoming Select Yes to accept incoming UDP datagrams. Other options are No and With Active Mdm Ctrl In. Endpoint Configuration 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.
Configuration Using Web-Manager Email Configuration The unit sends an email to multiple recipients when a specific trigger event occurs. There are three separate triggers, based on any combination of the configurable pins when selected as user I/O functions. Optionally, use a two-byte serial string to initiate a trigger. Each trigger is independent of the others. Each condition within an individual trigger must be met before the unit will send the email. To configure the MatchPort’s email settings: 1.
Configuration Using Web-Manager Trigger Configuration A trigger event occurs when the unit receives either one or two bytes of a specified sequence on the serial port, or because of a specified combination of conditions on the configurable pins. Set the configurable pins to Active, Inactive, or None. The configurable pins are disabled if they are all set to none. If both the serial sequence and the configurable pins are disabled, the trigger is disabled.
Configuration Using Web-Manager Message Properties Message The subject line of the trigger event email to the specified recipient(s). Priority The priority level for the email. Min. Notification Interval The notification interval is the minimum time allowed between individual triggers. If a trigger event occurs within the minimum interval since the last trigger, it is ignored.
Configuration Using Web-Manager Figure 4-12. WLAN Settings 2. Enter or modify the following fields: Wireless Network Configuration Network Name Enter the name of the wireless network (SSID). The MatchPort connects to this wireless network. Network Type Select Infrastructure or Ad-Hoc. Infrastructure mode communicates with Access Points. Adhoc mode communicates only with other clients. Channel Configurable only when Network Type is set to Ad-Hoc.
Configuration Using Web-Manager WEP Options Authentication Select an authentication scheme (Open/None or Shared) from the drop-down list. Encryption Select the encryption type (64 bits or 128 bits for WEP) from the drop-down list. 64 bits is the default encryption for WEP. Key Type Select the key type (Hex or Passphrase). Key and Retype Key Enter the Encryption Key in hexadecimal value if Hex is selected as the key type. Enter key as a string if Passphrase is selected as the key type.
Configuration Using Web-Manager Min TX Data Rate Selects the minimum data rate the device will use when auto- fallback is enabled. The default is 1 Mbps. Note: If Auto Rate Fallback is enabled and a minimum TX data rate other than 1Mbps is configured, the radio will operate in Single Rate Drop mode. This means that if a rate drop becomes necessary, the radio will drop from the maximum rate to the lowest rate, ignoring all rates in between.
Configuration Using Web-Manager Figure 4-13. Configurable Pins Settings 2. Configure or modify the following fields for each pin: Function From the drop-down list, select the purpose of the specified pin. See Configurable Pin Functions for a description of each available function. Direction Select whether the pin inputs or outputs. Trigger Input Select whether the GPIO input signal is to be used as a trigger condition for email. Active Level Select the signal active level (Low or High).
Configuration Using Web-Manager Reset to Defaults (Wireless) Asserting during bootup for at least 7 seconds resets the configuration back to factory defaults. Used when network access is impossible because of improper configuration. Reset to Defaults (Ethernet) Asserting during bootup for at least 7 seconds resets the configuration back to factory defaults. In addition, the wired network becomes the default interface. Used when network access is impossible because of improper configuration.
5: Configuration via Serial Mode or Telnet Port As an alternative to Web-Manager, you can configure the MatchPort unit using a terminal program to access serial port 1 locally. Using this terminal program to respond to prompts is referred to as being in Setup Mode. Another way to access Setup Mode is over the network through a Telnet connection. The unit’s configuration is stored in nonvolatile memory and is retained without power. You can change the configuration at any time.
Configuration via Serial Mode or Telnet Port Figure 5-2. Change Setup Menu Options Change Setup: 0 Server 1 Channel 1 2 Channel 2 3 E-mail 4 WLAN 5 Expert 6 Security 7 Defaults 8 Exit without save 9 Save and exit Your choice ? 6. To select a menu option, enter the number of the option in the Your choice ? field and press Enter. View the current configuration by pressing Enter from the Change Setup menu. To enter a value for a parameter, type the value and press Enter.
Configuration via Serial Mode or Telnet Port Figure 5-4. Change Setup Menu Options Change Setup: 0 Server 1 Channel 1 2 Channel 2 3 E-mail 4 WLAN 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. View the current configuration by pressing Enter from the Change Setup menu. To enter a value for a parameter, type the value and press Enter.
Configuration via Serial Mode or Telnet Port Set the Netmask 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) _ The unit prompts for the number of host bits to be entered, then calculates the netmask, which displays in standard decimal-dot notation when the saved parameters display (for example, 255.255.255.0). Table 5-1.
Configuration via Serial Mode or Telnet Port Custom DHCP Name: Create your own DHCP name. If using an IP address of 0.0.0.0, 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 the 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.
Configuration via Serial Mode or Telnet Port The current value displays in parentheses. The baud rates of 460800 and 921000 require a “High” CPU setting. Baudrate (9600) ? _ I/F (Interface) Mode The Interface (I/F) Mode is a bit-coded byte entered in hexadecimal notation. The current value displays in parentheses.
Configuration via Serial Mode or Telnet Port Flow Flow control sets the local handshaking method for stopping serial input/output. The current value displays in parentheses. Flow (00) ? _ Use the following table to select flow control options: Table 5-5.
Configuration via Serial Mode or Telnet Port Connect Mode Connect Mode defines the unit’s connection method and its reaction to incoming connections over the network. The current value displays in parentheses. ConnectMode (C0) ? _ 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. Table 5-7.
Configuration via Serial Mode or Telnet Port a) Incoming Connection 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.
Configuration via Serial Mode or Telnet Port For example, if the remote IP address already configured 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 string. For example, C50.1/23 would connect you to 129.1.50.1 and port 23.
Configuration via Serial Mode or Telnet Port Figure 5-6. Hostlist Example Baudrate (9600) ? I/F Mode (4C) ? Flow (00) ? Port No (10001) ? ConnectMode (C0) ?25 Hostlist : No Entry ! Change Hostlist ? (N) Y 01. IP address : (000) 172.(000) 19.(000) 0.(000) 1 (0) ?23 02. IP address : (000) 172.(000) 19.(000) 0.(000) 2 (0) ?3001 03. IP address: (000) 172. (000) 19. (000) 0. (000) 3 (0)?10001 04. IP address : (000) .(000) .(000) .(000) Hostlist 01. IP : 02. IP : 03. IP : : 172.019.000.001 172.019.000.002 172.
Configuration via Serial Mode or Telnet Port TCP connection because it uses UDP datagrams to send and receive data. 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.
Configuration via Serial Mode or Telnet Port Message Meaning RING n.n.n.n. 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 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 starting with AT, and only recognizes and processes single AT-style commands.
Configuration via Serial Mode or Telnet Port Modem Mode Command Function ATDTx.x.x.x Makes a connection to an IP address (x.x.x.x) and the remote port number defined within the unit. ATD0.0.0.0 Forces the unit into Monitor Mode. Uses remote IP address and port settings to initiate a connection. ATD or ATDT Forces the unit into Monitor Mode. Uses remote IP address and port settings to initiate a connection. ATDx.x.x.x Makes a connection to an IP address (x.x.x.
Configuration via Serial Mode or Telnet Port Remote IP Address This is the destination IP address used with an outgoing connection. Remote IP Address : ( 0) ( 0) ( 0) ( 0)_ Note: This option is not displayed when Hostlist is enabled from the ConnectMode prompt (see page 47 for more information). Remote Port 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.
Configuration via Serial Mode or Telnet Port Flush Mode The FlushMode (buffer flushing) parameter controls line handling and network buffers with connection startup and disconnect. FlushMode ( 0) ? _ Select between two different packing algorithms (the current configuration displays within the parentheses). 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. Available Flush Mode options are: Table 5-11.
Configuration via Serial Mode or Telnet Port Table 5-12. Pack Control Options Option 7 6 5 4 3 2 1 0 Interval: 12ms 0 0 Interval: 52ms 0 1 Interval: 250ms 1 0 Interval: 5sec 1 1 Packing Interval Trailing Characters None 0 0 One 0 1 Two 1 0 Send Characters 2-Byte Send Character Sequence Send Immediately After Send chars 1 1 Packing Interval: Packing Interval defines how long the unit should wait before sending accumulated characters.
Configuration via Serial Mode or Telnet Port SendChar 1 and SendChar 2 Enter up to two characters in hexadecimal representation. SendChar 1 ( 0) ? _ SendChar 2 ( 0) ? _ 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).
Configuration via Serial Mode or Telnet Port Figure 5-7. Email Settings Mail Server Enter the IP address of the mail server. Enter each 3-digit section and press Enter between sections. The current value displays in parentheses. Mail Server (0.0.0.0) ? ( 0) _ Unit Name Enter the username used by the MatchPort to send email messages. The current value displays in parentheses. Note: Do not use spaces in the name. Unit name () ? _ Domain Name Enter the email server’s domain name.
Configuration via Serial Mode or Telnet Port Recipient 2 () ? _ Triggers A trigger event occurs when the unit receives the specified trigger input because of a specified combination of conditions on the configurable pins.
Configuration via Serial Mode or Telnet Port Unicast communication occurs between the access point and a single wireless device. It uses the pairwise encryption method. Multicast communication occurs between the access point and multiple wireless devices. It uses the group encryption method. The group encryption for all wireless devices communicating with the same access point must be equal to receive broadcast and multicast messages.
Configuration via Serial Mode or Telnet Port The 802.11i/WPA2-Personal mode is compliant with the Robust Secure Network that is specified in the IEEE standard 802.11i. It enables the AES-based strong CCMP encryption. Security suite (0) ? _ 0=none, 1=WEP, 2=WPA, 3=WPA2/802.11i WEP Security suite: 0=none, 1=WEP, 2=WPA, 3=WPA2/802.
Configuration via Serial Mode or Telnet Port WPA This firmware version allows only Pre-Shared Keys (PSK) for authentication. Security suite: 0=none, 1=WEP, 2=WPA, 3=WPA2/802.11i (0) ? 2 Change key (N) ? Y Display key (N) ? Key type 0=hex, 1=passphrase (1) ? 1 Enter key: *********************** Encryption: 0=TKIP, 1=TKIP+WEP (0) ? Change key Select (Y (Yes) to modify the currently configured key.
Configuration via Serial Mode or Telnet Port Transmission Data Rate If the above TX Data rate is set to fixed, the selected data rate is the MatchPort’s fixed transmission rate. If the above TX Data rate is set to auto fallback, the selected data rate is the MatchPort’s maximum data rate. Lower data rates allow for larger distances. It may also be required when communicating with older devices. The default is 54 Mbps. TX Data rate 0=1, 1=2, 2=5.
Configuration via Serial Mode or Telnet Port The roaming technology also triggers candidate selection if the MatchPort reaches the boundaries of good signal coverage for the current AP instead of waiting until signal quality degrades substantially. Choose to enable Y (Yes) or disable N (No) Lantronix's Smart Roam technology. The default value is N. Expert Settings Note: Change these settings using Telnet or a serial connection only. Caution: Only an expert should change these parameters.
Configuration via Serial Mode or Telnet Port Disable Monitor Mode Disables entry into Monitor Mode via the yyy or xx1 key sequence at startup. This command prevents the unit from entering Monitor Mode by interpreting the stream of characters that are received during the device server's initialization at startup. The default is N (No). 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.
Configuration via Serial Mode or Telnet Port For more information on bridging, see 9: Wireless Bridging. Config Server Port Number: (30718) ? _ Automatic Host MAC Detection When Automatic Host MAC Detection is disabled (set to “N”) for bridging mode, the MAC address of the bridged host can be set. When enabled (set to “Y'”), the MAC address of the bridged host is detected automatically.
Configuration via Serial Mode or Telnet Port Disable Port 77FE (Hex) Custom programs use Port 77FE to configure the unit remotely. If required, disable this capability for security purposes. Disable Port 77FEh (N) ? _ The default setting is the N (No) option, which enables remote configuration. Disable Web Server The Y (Yes) option disables the web server. This setting defaults to the N (option).
Configuration via Serial Mode or Telnet Port Disable Port 77F0h ? _ The default setting, the N (No) option, enables GPIO control. The Y (Yes) option disables the GPIO control interface. Default Settings Select 7 Defaults from the Change Setup menu to reset the unit’s Channel 1 configuration, Channel 2 configuration, Email settings, and Expert settings to the factory default settings.
Configuration via Serial Mode or Telnet Port 1 Minimum TX Data Rate Max Failures 1 Mbps 1 Enable Power Management 6 (failed attempts) 1 Enable Soft AP Roaming N (No) N (No) Expert Settings TCP Keepalive 45 (seconds) ARP Cache Timeout 600 (seconds) CPU Performance Regular Disable Monitor Mode (N) No HTTP Port Number 80 SMTP Port Number 25 MTU Size 1400 Enable Alternate MAC N (No) ( for OEM use only) Ethernet Connection Type 0 (auto negotiate) Automatic Host MAC Detection Y (Yes)
Configuration via Serial Mode or Telnet Port Email Settings Trigger Priority L Min. notification interval 1 second All other parameters 0 (e.g. email notification and triggers are disabled) Exit Configuration Mode To exit setup mode: Select option 9 Save and exit from the Change Setup menu to save all changes and reboot the device. All values are stored in nonvolatile memory.
6: Configurable Pins The MatchPort has eight pins configurable for General Purpose I/O (GPIO). Use these GPIO pins to control devices such as relays, servers, lights, monitor switches, sensors, and even processes such as data transfer. Defaults Settings Function: general purpose input/output Direction: input Active Level: low Set the functions for the eight pins independently and in any combination.
Configurable Pins Byte Command 0 Pin Number Parameter 1 2 3 1 0 7 8 15 16 4 23 24 Parameter 2 6 7 5 31 0 7 8 15 16 8 23 24 31 On some commands, one or all parameters are ignored. For UDP, command type and parameters need to be in the same datagram. Responses to valid commands are always five bytes long, consisting of the returned command byte and as parameters in the current or updated values. In case of an invalid command, only one byte with value 0FFh is returned.
Configurable Pins Command 11h, Get Directions Send: No parameters Response: 1 parameter Bytes 1-4: Directions Bit X 1 means GPIO X is an output. 0 means it is an input. Command 12h, Get Active Levels Send: No parameters Response: 1 parameter Bytes 1-4: Active levels Bit X 1 means GPIO X is active low (0V when active, 3.3V when inactive). 0 means it is active high (3.3V when active, 0V when inactive).
Configurable Pins Command 1Ah, Set Active Levels Send: 2 parameters Bytes 1-4: Mask Bit X 1 means the direction for GPIO X will be updated with the value in the second parameter. 0 means the active type for that GPIO will not change. Bytes 5-8: New Active Levels Bit X 1 means GPIO X will become active low. 0 means it will become active high.
Configurable Pins Example 2: PC sends command 1Bh to change the current states of GPIO 0 and 1 (assuming they are configured as outputs).
7: 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 via the network. Entering Monitor Mode via the Serial Port To enter Monitor Mode locally: 1. Follow the same steps used for setting the serial configuration parameters (see Serial Port Access on page 41). 2. Instead of typing three x keys, however: a) Type zzz to enter Monitor Mode with network connections.
Monitor Mode Command Command Name Function TT TCP Connection Table Shows all incoming and outgoing TCP connections. NC Network Connection Shows the unit’s current IP address, gateway, subnet mask, and DNS server. RS Reset Resets the unit. QU Quit Exits diagnostics mode. G0, G1, ....,Ge, Gf Get configuration from memory page Gets a memory page of configuration information from the device. S0, S1,...
Monitor Mode Table 7-2.
8: Updating Firmware This chapter explains how to obtain and update the unit’s firmware. Obtaining Firmware Obtain the most up-to-date firmware and release notes for the unit from the Lantronix web site (www.lantronix.com) 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), TFTP, or serial port 1. You can also update the unit's internal web interface (*.
Updating Firmware Using TFTP: Command Line Interface To download new firmware from a computer, enter the following from a TFTP command line interface: tftp –i put The following examples demonstrate the TFTP command sequence to download the .rom file, the .fwx file, and the .cob file: tftp –i 192.168.1.111 put mpt_6502.rom W8 tftp –i 192.168.1.111 put gen_mpt_webm_1602.
9: Wireless Bridging Bridging allows a host, connected on the MatchPort’s wired Ethernet interface, to be accessible over the wireless network (via the MatchPort). To initialize the bridging feature: 1. Configure the MatchPort’s wireless settings. See WLAN Settings on page 59. 2. Enable bridging in Setup Mode. See Network Mode on page 42. 3. Set up the wired host connected to the MatchPort’s Ethernet port. Once in bridging mode, the services on the MatchPort are available only through the wired interface.
10: Troubleshooting This chapter discusses how you can diagnose and fix errors quickly without having to contact a dealer or Lantronix. The MatchPort’s diagnostic LEDs indicate the unit’s status. 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.
Troubleshooting Problems and Error Messages Problem/Message Reason Solution When you issue the ARP –S command in Windows, The ARP entry addition failed: 5 message displays. Your currently logged-in user does not have the right to use this command on this PC. Have someone from your IT department log you in with sufficient rights. When you attempt to assign an IP address to the unit by the ARP method and Telnet to the device server through port 1, the connection fails.
Troubleshooting Problem/Message Reason Solution The cause is most likely one of Double-check the parameters that When you try to assign an IP you specified. with DeviceInstaller, you get the the following: following message: Note: You cannot assign an IP address to a device server through The Hardware address you a router. No response from device! specified is incorrect. Verify the IP, Hardware Address and Network Class. The IP address you are trying to assign is not a valid IP for Please try again.
Troubleshooting Problem/Message Reason Solution The device server appears to be set up correctly, but you are not communicating with your device attached to the device server across the network. If you are sure that the serial port setting is correct, then you may not be connecting to the correct socket of the device server. You can check to see whether there is a socket connection to or from the device server by checking the state of CP1, if it has been configured for LED1 functionality.
Troubleshooting Technical Support 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 Germany: +49 (0) 180 500 13 53 Email: eu_techsupp@lantronix.com or eu_support@lantronix.com Firmware downloads, FAQs, and the most up-to-date documentation are available at www.lantronix.com/support.