Lantronix 900-618 manual Manual Connection Address Example

Page 45

7: Setup Mode: Channel Configuration

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 may be a destination port number.

The IP address must be in standard decimal-dot notation and may be a partial address, representing the least significant 1, 2, or 3 bytes of the remote IP address. The period is required between each pair of IP address numbers.

If present, the port number must follow the IP address, must be presented as a decimal number in the range 1-65535, and must be preceded by a forward slash (ASCII 0x2F). The slash separates the IP address and the port number. If you omit the port number from a command string, the internally stored remote port number starts a connection.

If a partial IP address is presented in a command string, it is interpreted to be the least significant bytes of the IP address and uses the internally stored remote IP address to provide the most significant bytes of the IP address. If the IP address entered is 0.0.0.0/0, the device server enters Monitor Mode.

For example, if the remote IP address already 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.

If an IP address does not follow the first command string character (which is "C"), the subsequent character string is interpreted as the host name and domain to be used in DNS lookup. This character string can include a destination port number as well. The port number can be preceded by either a forward slash (/) or a colon ( : ).

Table 7-6. Manual Connection Address Example

Command String

Result if remote IP is 129.1.2.3 and remote port is

 

 

 

1234

 

C121.2.4.5/1

 

Complete override; connection is started with host 121.2.4.5,

 

 

port 1

 

 

 

 

C5

 

Connects to 129.1.2.5, port 1234

 

 

 

 

 

C28.10/12

 

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 and remote port specified when the firmware

 

 

 

starts.

 

Hostlist

 

If you enable this option, the device server scrolls through the

 

 

 

hostlist until it connects to a device listed in the hostlist table.

 

xPico User Guide

45

Image 45
Contents User Guide Technical Support Sales Offices Lantronix Corporate HeadquartersDisclaimer Table of Contents Configuration via Telnet or Serial Port Setup Mode Setup Mode Advanced Settings Gpio Interface List of Figures List of TablesUsing This Guide Purpose and AudienceChapter Summary XPico Integration Guide Additional DocumentationIntroduction CapabilitiesApplications Protocol Support Configuration MethodsAddresses and Port Numbers Hardware AddressProduct Information Label IP AddressPort Numbers Installing DeviceInstaller Using DeviceInstallerTo install DeviceInstaller Assigning an IP AddressTo view the units current settings Accessing the xPico Using DeviceInstallerSelect Assign a specific IP address and click Next NameGroup Dhcp Device NameComments Device FamilySupports Configurable Firmware UpgradeablePins Supports Http SetupAccessing Web-Manager Using DeviceInstaller Configuration Using Web ManagerWeb-Manager Login Window Network ConfigurationNetwork Mode To assign an IP address automaticallySelect Obtain IP address automatically Ethernet Configuration Static IP Address ConfigurationSelect Use the following IP configuration To assign an IP address manuallyAuto Negotiate To configure the xPico’s device server settingsHost List Configuration Server ConfigurationAdvanced Retry Settings Channel 1 and 2 ConfigurationTo configure the xPico’s host list Host InformationPort Settings Serial SettingsTo configure the channel’s serial settings ChannelFlush Input Buffer Serial to Network Pack ControlTo configure a channel’s TCP settings Connection Settings TCPFlush Output Buffer Network to Serial At Time of DisconnectTCP Connection Settings Connect Mode Active Connection Connect Mode Passive ConnectionEndpoint Configuration Connect ProtocolConnection Settings UDP Disconnect ModeTo configure a channel’s UDP settings Datagram Type Datagram ModeUse Broadcast Device Address TableConfigurable Pin Settings Configurable Pin FunctionsTo configure the xPico’s Configurable Pins Apply Defaults Apply SettingsSerial Channel 1 Status LED Serial Channel 2 Status LEDConfiguration via Telnet or Serial Port Setup Mode Accessing Setup ModeTelnet Connection To establish a Telnet connection Serial Port ConnectionTo exit setup mode Exiting Setup ModeServer Configuration Option Setup Mode Server ConfigurationBootP/DHCP/AutoIP Options IP AddressSet Gateway IP Address Change Telnet/Web-Manager PasswordNetmask Number of Bits for Host Part Set DNS Server IP AddressDhcp Name Setup Mode Channel Configuration Channel 1 Option 1 or Channel 2 OptionBaudrate Interface Mode Options Interface ModeRS232 Interface Mode Settings Flow Port Number Connect Mode Flow Control Options Reserved Port NumbersIncoming Connection Connect Mode OptionsIncoming Connection ResponseActive Startup ResponseManual Connection Address Example Manual ConnectionHostlist Option To enable the hostlistModem Mode Datagram TypeDirected UDP Numeric Response Modem Mode CommandsSend the Escape Sequence +++ in Modem Mode Show IP addr after RingAuto Increment Source Port Remote IP Address Disconnect Mode OptionsPack Control Flush Mode Buffer FlushingPacking Interval Trailing CharactersSend Characters Channel Port Password DisConnTime Inactivity TimeoutSend Characters Telnet Terminal TypeSetup Mode Advanced Settings Expert Settings OptionTCP Keepalive time in seconds Disable Monitor Mode at bootup ARP Cache timeout in secondsCPU Performance Http Port NumberTCP Re-Transmission Timeout Security Settings OptionEnable alternate MAC Ethernet Connection TypeDisable Snmp Disable Telnet SetupSnmp Community Name Disable Port 77FE Hex Disable Tftp Firmware UpgradeDisable Web Server Disable Web SetupTo configure AES encryption on the xPico Enable EncryptionEnable Enhanced Password Default Settings OptionDisable Port 77F0 Hex Channel 1 and Channel 2 Configuration DefaultsSecurity Settings Defaults Expert Settings DefaultsHostlist retry timeout Start character for serial channelConfigurable Pins FeaturesGpio Interface Byte 0 Command Types CommandsControl Protocol GuidelinesCommand 11h, Get Directions Command 10h, Get FunctionsCommand 12h, Get Active Levels Command 13h, Get Current StatesCommand 1Ah, Set Active Levels Command 19h, Set DirectionsCommand 1Bh, Set States Command detailsResponse details Using Tftp Graphical User Interface Firmware UpgradesObtaining Firmware Reloading Firmware To download new firmware from a computerTftp Window Using Tftp Command Line InterfaceTo recover firmware Entering Monitor Mode Using the Serial Port Monitor ModeEntering Monitor Mode Using the Network Port Monitor Mode CommandsG0, G1, ....,Ge, Gf Monitor Mode CommandsS0, S1,...,Se, Sf ExampleResponse Meaning Command Response CodesProblems and Error Messages TroubleshootingLock on Caps Lock is not onTroubleshooting Technical Support Technical Support USTechnical Support Europe, Middle East, and Africa Converting Binary to Hexadecimal Binary to Hexadecimal ConversionsConversion Table Scientific CalculatorBinary to Hexadecimal Conversions RoHS Notice Compliance