WiPort™ User Guide Part Number 900-332 Revision C October 2004
Copyright and Trademark © 2004, 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. WiPort, 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 and Revisions 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.
Contents Copyright and Trademark ________________________________________________ 2 Contacts______________________________________________________________ 2 Disclaimer and Revisions_________________________________________________ 3 1: Using This Guide 7 Purpose and Audience___________________________________________________ 7 Chapter Summary ______________________________________________________ 7 Additional Documentation ________________________________________________ 8 2: Introduction 9 Capabiliti
Contents 5: Configuration via Serial Mode or Telnet Port 37 Accessing Setup Mode __________________________________________________37 Telnet Access ______________________________________________________________37 Serial Port Access___________________________________________________________38 Server Configuration ____________________________________________________39 Set the IP Address __________________________________________________________39 Set the Gateway IP Address_________________________________
Contents SNMP Community Name _____________________________________________________ 57 Disable Telnet Setup ________________________________________________________ 57 Disable TFTP Firmware Upgrade ______________________________________________ 58 Disable Port 77FE (Hex) _____________________________________________________ 58 Disable Web Server _________________________________________________________ 58 Disable Web Setup__________________________________________________________ 58 Disable ECHO Ports_______
1: Using This Guide Purpose and Audience This guide provides the information needed to configure, use and update the WiPortTM and is intended for software developers and system integrators who are embedding the WiPort in their designs. This User Guide covers WiPort Device Server versions WP2001000-01, WP2002000-01, and WP2004000-01 (WiPort-485). Chapter Summary The remaining chapters in this guide include: Introduction Describes the main features of the WiPort and the protocols it supports.
Using This Guide Additional Documentation The following guides are available on the product CD and the Lantronix web site (www.lantronix.com) 8 WiPort Development Kit Quick Start Guide Briefly explains the basics to get the WiPort up and running. WiPort Integration Guide Provides information about the WiPort hardware and integrating the WiPort into another product.
2: Introduction WiPort is a wireless embedded device server that provides a network-enabling solution based on the IEEE 802.11b wireless standard. WiPort allows Original Equipment Manufacturers (OEMs) to add wireless connectivity to their products by incorporating it onto a circuit board. The WiPort functions independently of a PC, providing a fully integrated solution that combines a processor, memory, 802.11b transceiver, and dual high-speed serial ports into a single compact module.
Introduction Security alarms and access control devices Time clocks and terminals Protocol Support The WiPort device server uses the TCP/IP protocol stack for network communications. Other 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.
Introduction 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 window. Ports 0-1024 are reserved as well.
3: Configuration Using DeviceInstaller This chapter covers the steps for getting the WiPort device server online and working. Accessing WiPort using DeviceInstaller Note: Make note of the MAC address. It is needed to locate the WiPort using DeviceInstaller. For more information on the hardware address, see Hardware Address on page 10. Follow the instructions on the product CD to install and run DeviceInstaller. 1. Click StartÆPrograms Æ LantronixÆDeviceInstallerÆDeviceInstaller.
Configuration Using DeviceInstaller 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. 8. Click the Close button to close the dialog box and return to the main window. WLAN Configuration Without adequate protection, a wireless LAN is susceptible to access by unauthorized users.
Configuration Using DeviceInstaller Host List Configuration If this option is set to True, the device server scrolls through the host list until it connects to the first available device listed in the host list table. Once it connects, the unit stops further attempts. If this connection fails, the unit continues to scroll through the table until it is able to connect to the next available IP address in the host list. The host list supports a minimum of 1 and a maximum of 12 entries.
Configuration Using DeviceInstaller Config Pin Direction Select whether the pin receives input or transmits output. This field is modifiable only when Config Pin Function is set to GPIO. Config Pin Active Level Select the signal active level (Low or High). The default is Low. 5. Click OK to store the configurable pin settings and close the ConfigurablePin Collection Editor. 6. Click Apply from the Configure Device window to apply the changes immediately. The WiPort device automatically reboots.
Configuration Using DeviceInstaller 5. Click on a port number and click Edit Settings. The Port Properties window opens. 6. Click the Advanced tab. In the available fields, change the following pull down menu options as necessary: Serial Settings Baud Rate 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, 230400, 460800, or 921600.
Configuration Using DeviceInstaller the EOR (end of record) and binary options, which can be used for applications such as terminal emulation to UNIX hosts. Remote Port This field is available for configuration only when Active Connection is not set to None. 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 Using DeviceInstaller for Disconnect with EOT to function properly. Ctrl D is only detected going from the serial port to the network. Inactivity Timeout Use this parameter to set an inactivity timeout. The unit drops the connection 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.
Configuration Using DeviceInstaller Match 2 Byte Sequence Used with Match Byte 1 and Match Byte 2 to indicate the end of a series of data to be sent as one group. The sequence must occur sequentially to indicate to the WiPort end of the data packet. Send Frame Only After the detection of the byte sequence, indicates whether to send the data frame or the entire buffer (i.e. include the trailing bytes). Select True to send only the data frame.
4: Configuration using Web-Manager This chapter describes how to configure the WiPort 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. Accessing WiPort using Web-Manager Note: Make note of the MAC address. It is needed to locate the WiPort using DeviceInstaller.
Configuration using Web-Manager Figure 4-1. Web-Manager The main menu is displayed in the left side of the Web-Manager window. Note: Alternatively, access the WiPort’s Web-Manager if it is connected to the network by entering its IP address in a web browser. Network Configuration The unit’s network values display upon selecting Network from the main menu. The following sections describe the configurable parameters within the Network configuration menu.
Configuration using Web-Manager Figure 4-2. Network Settings Automatic IP Address Configuration To automatically assign an IP address and its network configuration: 1. Click Network from the main menu. 2. Select Obtain IP address automatically. 3. Enter the following (as necessary): BOOTP Select Enable to permit the Bootstrap Protocol (BOOTP). The BOOTP server automatically assigns the IP address from a pool of addresses. DHCP Select Enable to permit Dynamic Host Configuration Protocol (DHCP).
Configuration using Web-Manager Static IP Address Configuration To manually assign an IP address and its network configuration: 1. Click Network from the main menu. 2. Select Use the following IP configuration. 3. Enter the following (as necessary): IP Address If DHCP is not used to assign IP addresses, enter it manually. The IP address must be set to a unique value in the network. Subnet Mask A subnet mask defines the number of bits taken from the IP address that are assigned for the host part.
Configuration using Web-Manager To configure the WiPort’s device server settings: 1. Click Server from the main menu. 2. Configure or modify the following fields: Server Configuration Telnet Password Enter the password required for Telnet access. Retype Password Re-enter the password required for Telnet access. Advanced ARP Cache Timeout When the unit communicates with another device on the network, it adds an entry into its ARP table.
Configuration using Web-Manager Figure 4-4. Hostlist Settings 2. Enter or modify the following fields from the Hostlist Settings window: Retry Settings Retry Counter Enter the value for the number of times the WiPort should attempt to retry connecting to the host list. Retry Timeout Enter the duration (in seconds) the WiPort 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-5. Channel Serial Settings 2. In the available fields, enter the following information: Channel 1 Disable Serial Port Available on Channel 1 settings only. When selected, disables communication through the serial port. Port Settings 26 Protocol Select the protocol type from the pull down menu for the selected channel. RS-422/485 4-wire and RS-485 2-wire options are available on the WiPort-485 only.
Configuration using Web-Manager Pack Control Enable Packing Select the checkbox to enable packing on the WiPort. 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 Connect Protocol Select TCP from the pull down menu. Protocol Figure 4-6. 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. Field is not available when a password is set for Telnet mode. Password If Password Required was set to Yes, enter the password for passive connections.
Configuration using Web-Manager Endpoint Configuration Local Port Enter the local port number. Auto increment local port number Select to auto-increment the local port number for new outgoing connections. The range of auto-incremented port numbers is 50,000 to 59,999 and loops back to the beginning when the maximum range is reached. Remote Port Enter the remote port number. Remote Host Enter the IP address of the remote device.
Configuration using Web-Manager Inactivity Timeout Use this parameter to set an inactivity timeout. The unit drops the connection 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. Connection Settings - UDP To configure a channel’s UDP settings: 1.
Configuration using Web-Manager Remote Port Enter the port number of the remote device. Remote Host Enter the IP address of the remote device. Change Address Table Field enabled when Datagram Type is set to FD. Enter values between 1-255 to identify units on the local network of device servers. Email Configuration The unit sends an Email to multiple recipients when a specific trigger event occurs.
Configuration using Web-Manager Recipients Recipient 1: Email Address Enter the email address designated to receive email notifications. Recipient 2: Email Address Enter an additional email address designated to receive email notifications. Trigger Configuration A trigger event occurs when the unit receives the specified trigger input as a result of a specified combination of conditions on the configurable pins. Set the configurable pins to Active, Inactive, or None.
Configuration using Web-Manager Channel Select the channel prompting the trigger. Data Size Select the data size prompting the trigger. Match Data Enter the data which, when appears in the communication stream, prompts a trigger. Note: All of the conditions must match for an email notification to be sent. Message Properties Message The subject line of the trigger event email to the specified recipient(s). Priority The priority level for the e-mail.
Configuration using Web-Manager Figure 4-10. WLAN Settings 2. Enter or modify the following fields: Network Interface Use the pull down menu to select a WLAN interface or an Ethernet interface. Network Name Enter the name of the network where the WiPort is located. Wireless Network Configuration Ad Hoc Network Creation Select the checkbox when using a client (such as a wireless card) to communicate with the WiPort instead of an Access Point.
Configuration using Web-Manager Encryption Key Field is enabled when WEP is selected as the Security type. Enter the Encryption Key in hexadecimal value Advanced Settings Data Rate WiPort permits the control of the transmission rate. Select the data rate (in Mbps) from the pull down menu. Radio Power Management Power management reduces the overall power consumption of the WiPort unit. Selecting Enable increases the response time.
Configuration using Web-Manager Direction Select whether the pin inputs or outputs. Configurable Pin Functions General Purpose I/O Monitors input via the 77F0 port or controls output by the 77F0 port. Modem Ctrl in, chan 1 Allows for control of the connection (and disconnection) of channel 1. Modem Ctrl out, chan 1 Indicates a connection is established on channel 1. Modem Ctrl in, chan 2 Allows for control of the connection (and disconnection) on channel 2.
5: Configuration via Serial Mode or Telnet Port Configure the unit so that it can communicate on a network with your serial device. As an alternative to DeviceInstaller and Web-Manager, the WiPort unit is configurable using a terminal program to access the serial port locally. Using this terminal program to respond to prompts is referred to as the Setup Mode. A Telnet connection may also be used to configure the unit over the network.
Configuration via Serial Mode or Telnet Port Figure 5-2. Setup Menu Options Change Setup: 0 Server 1 Channel 1 2 Channel 2 3 Email 4 WLAN 5 Expert 6 Security 7 Factory defaults 8 Exit without save 9 Save and exit Your choice ? 5. 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.
4 5 6 7 8 9 WLAN Expert Security Factory defaults Exit without save Save and exit Your choice ? 5. 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. To confirm a current value, press Enter (without inputted parameters). 6. When finished, save the new configurations (9 Save and exit). The unit reboots.
Configuration via Serial Mode or Telnet Port Table 5-1. Standard IP Network Netmasks Representing Host Bits Network Class Host Bits Netmask A 24 255.0.0.0 B 16 255.255.0.0 C 8 255.255.255.0 Change Telnet Configuration Password Setting the Telnet configuration password prevents unauthorized access to the setup menu via a Telnet connection to port 9999 or via web pages. The password must have 4 characters.
Figure 5-5. Serial and Telnet Port Parameters 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, 230400, 460800, or 921600. The current value is displayed in parentheses. Baudrate (9600) ? _ I/F (Interface) Mode The Interface (I/F) Mode is a bit-coded byte entered in hexadecimal notation.
Configuration via Serial Mode or Telnet Port (1) 2 stop bits are implemented by the software. This might influence performance. (2) On WP2004000-01 (WiPort-485) only. Note: If attempting to select an I/F Mode bit pertaining to RS-422/485 on a WiPort model WP2001000-01, a “WARNING: RS-422/485 I/F Modes not supported” message displays. RS-422/485 settings are available on the WP2004000-01 (WiPort-485). The following table demonstrates some common I/F Mode settings: Table 5-3.
Table 5-5. Reserved Port Numbers Port Numbers Reserved for 1 – 1024 Reserved 9999 Telnet setup 14000-14009 Reserved for Redirector 30704 Reserved (77F0h) 30718 Reserved (77FEh) Note: It is recommended to not use the reserved port numbers for this setting as incorrect operation may result. 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).
Configuration via Serial Mode or Telnet Port Connect Mode Option 7 6 5 4 3 2 1 0 Manual connection 0 1 0 0 Autostart 0 1 0 1 1 1 0 0 Hostlist d) 0 0 1 0 Datagram Type Directed UDP e) Modem Mode Full Verbose 1 0 1 1 0 Without Echo 0 0 1 1 0 Numeric modem result codes 1 0 1 1 1 a) Incoming Connection Never Accept Incoming Rejects all external connection attempts.
Manual Connection Attempts to connect when directed by a command string 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 can include a destination port number.
Configuration via Serial Mode or Telnet Port If this option is set to True, the device server scrolls through the host list until it connects to the first available device listed in the host list table. Once it connects, the unit stops further attempts. If this connection fails, the unit continues to scroll through the table until it is able to connect to the next available IP address in the host list. Hostlist supports a minimum of 1 and a maximum of 12 entries.
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 attempted connection. The time is stored as units of milliseconds in the range of 1-65535. The default is 250. c) Datagram Type Directed UDP When selecting this option, the prompt requests the Datagram type.
Configuration via Serial Mode or Telnet Port Message Meaning CONNECT A network connection has been established. NO CARRIER A network connection has been closed. RING n.n.n.n. A remote device, having IP address n.n.n.n, is connecting to this device. 1-Character 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.
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.x) and the remote port number defined within the unit.
Configuration via Serial Mode or Telnet Port DisConnMode Disconnect Mode (DisConnMode) determines the conditions under which the unit will cause a network connection to terminate. The current value is displayed in parentheses. DisConnMode ( 0) ? _ In DisConnMode, modem_control_in either drops the connection or is ignored. The following table displays the available input options: Table 5-10.
Function 7 6 5 4 3 2 1 0 to the device Clear when the network connection to or from the device is disconnected 1 Output Buffer (Network to Serial) Clear with a connection that is 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 1 Alternate Packing Algorithm (Pack Control) Enable 1 Pack Control The packing algorithm defines how and when packets are sent to th
Configuration via Serial Mode or Telnet Port 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.
Email Configuration Note: Change these settings via Telnet or serial connections only, not on the Web-Manager. These settings are also configurable through DeviceInstaller. 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 (PIO) when selected as user I/O functions. Optionally, use a two-byte serial string to initiate a trigger.
Configuration via Serial Mode or Telnet Port Unit Name Enter the username used by the WiPort to send Email messages. The current value is displayed in parentheses. Unit name () ? _ Domain Name Enter the Email server’s domain name. The current value is displayed in parentheses. Domain name () ? _ Recipient 1 Enter the full Email address of the trigger email recipient. The current value is displayed in parentheses. Recipient 1 () ? _ Recipient 2 Enter the full Email address of the trigger email recipient.
The Re-notification interval indicates the time interval in which a new Email message is sent to the recipient(s) when a single trigger event remains active. Trigger 2 Refer to Trigger 1 for details on completing these fields. Note: Each trigger is independent of the others. Each condition within an individual trigger must be met before the unit will send the Email. Trigger 3 Refer to Trigger 1 for details on completing these fields. Note: Each trigger is independent of the others.
Configuration via Serial Mode or Telnet Port Security Displays when WLAN is enabled. As an additional security measure, enable WEP on the WiPort. The current value is displayed in parentheses. By default, WEP is disabled on WiPort. Security 0=none, 1=WEP (0) ? _ Data Rate Displays when WLAN is enabled. WiPort permits the control of the transmission rate. The default is a data rate up to 11Mbps. The current value is displayed in parentheses. Data rate, Only : 0=1, 1=2, 2=5.5, 3=11 Mbps or Up to: 4=2, 5=5.
Enable High Performance (N) ? _ 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 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 via the web pages and the serial port of the unit. Disable Telnet Setup (N) ? _ Disable TFTP Firmware Upgrade This setting defaults to the N (No) option. The Y (Yes) option disables TFTP for network firmware upgrades.
Enable Enhanced Password (Y) ? _ The Y (Yes) option allows an extended security password of 16-characters for protecting Telnet access. Disable Port 77F0 (Hex) Port 77F0 is a setting that allows a custom application to query or set the eleven WiPort configurable pins when they are functioning as general purpose I/O (GPIO). Disable this capability, if desired, for security purposes. Disable Port 77F0h ? _ The default setting, the N (No) option, enables GPIO control.
Configuration via Serial Mode or Telnet Port Hostlist Retry Timeout 250 (msec) Send Character 0x0D (CR) All other parameters 0 WLAN Settings Enable WLAN (Y) Yes Find Network Name LTRX_IBSS Enable Ad Hoc Network Creation (Y) Yes Name LTRX_IBSS Country (0) United States Channel 11 Security (0) None Data Rate 11Mbps Expert Settings TCP keepalive 45 (seconds) ARP cache timeout 600 (seconds) High CPU performance mode Disabled Disable Monitor Mode (N) No HTTP port number 80 SMTP p
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: WiPort™ User Guide 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 WiPort has eleven pins configurable for General Purpose I/O (GPIO). Note: In addition, configure these pins for serial port control lines, such as modem control in, DCD, and diagnostic outputs to LED, using DeviceInstaller. Use these GPIO pins to control devices such as relays, servers, lights, monitor switches, sensors, and even processes such as data transfer.
Configurable Pins The parameters are four bytes long and represent GPIOs 0-31, with GPIO0 in bit 0 of the first byte (Little Endian). Parameter bits for configurable pins not configured as GPIOs are undefined for Get commands and ignored on Set commands. Every command consists of nine bytes: one command type of one byte and two parameters of four bytes each.
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). PC -> WiPort: 1Bh, 01h, 00h, 02h, 00h, 01h, 00h, 00h, 00h WiPort -> PC: 1Bh, 03h, 00h, 00h, 00h Command details: 1Bh = command 1Bh 01h, 00h, 00h, 00h = the mask that determines which GPIOs will be changed. Bit 0 and 9 are 1 → GPIO0 and GPIO9 will be changed. bit 1 is 0 → GPIO1 will remain the same. 01h, 00h, 00h, 00h = the new states bit 0 is 1 → GPIO0 will become 1.
7: Monitor Mode Monitor Mode is a command-line interface used for diagnostic purposes. There are two ways to enter Monitor Mode: locally via 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 38). 2. Instead of typing three x keys, however: a) Type zzz to enter Monitor Mode with network connections.
Monitor Mode Command Command Name Function 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 Network Connection Shows the unit’s current IP address. 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,...
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 and *.FWX): via DeviceInstaller (the preferred way), via TFTP, or via the serial port.
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 wpt540.rom W1 tftp –i 192.168.1.111 put H2_FW_200.fwx FWX1 tftp –i 192.168.1.111 put wpt_wm110.
9: Troubleshooting This chapter discusses how you can diagnose and fix errors quickly without having to contact a dealer or Lantronix. The WiPort’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 be displayed. When troubleshooting, always ensure that the physical connections (power cable, network cable, and serial cable) are secure.
General DeviceInstaller Settings 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 You did not choose the correct subnet mask. The device server is not communicating with the serial device it is attached to. The most likely reason is the wrong serial settings were chosen. The serial settings for the serial 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 bit, no flow control.
General DeviceInstaller Settings 74 Problem/Message Reason Solution When connecting to the WebManager within the device server, the No Connection With The Device Server message displays. Your computer is not able to connect to port 30718 (77FEh) on the device server. Make sure that port 30718 (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 the device server.
Troubleshooting 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 may: To check our online knowledge base or send a question to Technical Support, go to http://www.lantronix.com/support. Email us at support@lantronix.com. Call us at: (800) 422-7044 Domestic (949) 453-7198 International (949) 450-7226 Fax Our phone lines are open from 6:00AM - 5:30 PM Pacific Time Monday through Friday excluding holidays.