Lantronix 900-653-R manual Response, Active Startup, Manual Connection Address Example

Page 46

8: Setup Mode: Channel Configuration

b) Response

Character Response

A single character is transmitted to the serial port when there is a change in connection state: C = connected, D = disconnected, N = host unreachable. The IP address of the host connecting to the CoBos device will be provided when you use verbose mode.

This option is overridden when the Active Start Modem Mode or Active Start Host List is in effect. Default setting is Nothing (quiet).

c) Active Startup

No Active Startup

Does not attempt to initiate a connection under any circumstance. Default setting.

 

 

With Any Character

Attempts to connect when any character is received from the serial port.

 

 

With active Modem

Attempts to connect when the Modem Control In input changes from not

Control in

asserted to asserted.

 

 

With a Specific Start

Attempts to connect when it receives a specific start character from the serial port.

Character

The default start character is carriage return.

 

 

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.3and 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 8-7 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.

 

 

 

xDirect User Guide

46

Image 46
Contents User Guide Contacts WarrantyCopyright & Trademark DisclaimerInstallation of xDirect Table of ContentsUsing this Guide Using DeviceInstallerConfiguration Using Web Manager Configuration Via Telnet or Serial Port Setup ModeSetup Mode Server Configuration Setup Mode Channel ConfigurationFirmware Upgrades Setup Mode Advanced SettingsMonitor Mode Appendix E Binary to Hexadecimal Conversions Appendix a Troubleshooting and Contact InfoAppendix B Connections and Pinouts Appendix F ComplianceList of Figures Serial Tunneling ExampleList of Tables Purpose and Audience Using this GuideChapter Summary Additional Documentation Document DescriptionIntroduction Key FeaturesApplications Introduction Configuration Methods Additional FeaturesProtocol Support Product Information Label Product LabelPackage Contents Installation of xDirectInstalling the xDirect Hardware Address Required InformationIP Address To install DeviceInstaller Using DeviceInstallerInstalling DeviceInstaller Assigning an IP AddressTo view the units current settings Accessing the xDirect Using DeviceInstallerViewing the Current Configuration XDirect Configuration in DeviceInstallerDevice Family Supports Configurable PinsComments TypeAssigning the IP Address Serial Port Login Next StepConfiguration Using Web Manager Accessing xDirect Using DeviceInstallerConfiguration Using Web Manager Automatic IP Address Configuration Network ConfigurationNetwork Mode To assign an IP address automaticallySelect Use the following IP configuration Static IP Address ConfigurationEthernet Configuration To assign an IP address manuallyServer Configuration To configure the xDirect device server settingsConfig Server Port Monitor Mode @ BootupCPU Performance Mode Timeout msRetry Timeout Host List ConfigurationTo configure the host list Retry CounterSerial Settings Channel 1 ConfigurationTo configure the channel’s serial settings Data Bits Enable PackingBaud Rate ParityTo configure a channel’s TCP settings Connection Settings TCPAccept Incoming Modem Escape Sequence Password RequiredModem Mode Pass ThroughConnection Settings UDP To configure a channel’s UDP settingsUse Broadcast Datagram TypeDevice Address Table Apply Settings Apply DefaultsTelnet Connection Configuration Via Telnet or Serial Port Setup ModeAccessing Setup Mode To establish a Telnet connectionPassword Press Enter for Setup Mode Two options through which to exit setup mode Exiting Setup ModeSerial Port Connection BootP/DHCP/AutoIP options Setup Mode Server ConfigurationServer Configuration Option IP AddressSet DNS Server IP Address Set Gateway IP AddressNetmask Number of Bits for Host Part Standard IP Network NetmasksChange Telnet Configuration Password Dhcp NameChannel 1 Option Setup Mode Channel ConfigurationBaudrate Common Interface Mode Settings Interface ModeInterface Mode Options FlowFlow Control Options Connect ModePort Number Reserved Port NumbersConnect Mode Option Connect Mode OptionsIncoming Connection Active Startup ResponseManual Connection Address Example Autostart Automatic Host List Option HostlistC0.0.0.0/0 ConnectionDatagram Type Modem ModeTo enable the hostlist Directed UDPModem Mode Messages Message MeaningModem Mode Function Command Send the Escape Sequence +++ in Modem Mode10 Modem Mode Commands Show IP Address after RingRemote IP Address Disconnect Mode DisConnModeAuto Increment Source Port Remote Port11 Disconnect Mode Options Flush Mode Buffer Flushing12 Flush Mode Options Trailing Characters Pack ControlPacking Interval Send CharactersSend Characters DisConnTime Inactivity TimeoutChannel Port Password Telnet Terminal TypeARP Cache Timeout In Seconds Setup Mode Advanced SettingsExpert Settings Option TCP Keepalive Time In SecondsSecurity Settings Option Disable Telnet Setup Disable SnmpSnmp Community Name Disable Web Server Disable Tftp Firmware UpdateDisable Port 77FE Hex Disable Web SetupDefault Settings Option Enable Enhanced PasswordSecurity Settings Defaults Channel 1 Configuration DefaultsExpert Settings Defaults Setup Mode Advanced SettingsObtaining Firmware Reloading Firmware Firmware UpgradesUsing Tftp Graphical User Interface Firmware FilesUsing Tftp Command Line Interface To recover firmwareFirmware Upgrades Entering Monitor Mode Using the Network Port Monitor ModeEntering Monitor Mode Using the Serial Port To enter Monitor Mode locallyCommand Command Name Function Monitor Mode CommandsMonitor Mode Commands G0, G1, ....,Ge, GfCommand Response Codes Response MeaningStatus LED Appendix a Troubleshooting and Contact InfoLEDs Table A-2 Status LEDSerial LEDs Problems and Error MessagesRJ45 Ethernet LED Using DeviceInstaller Serial Settings on page 29 or United States Technical SupportEurope, Middle East and Africa Appendix B Connections and Pinouts Serial Port PinoutsEthernet Connector Pinouts Table B-6 Ethernet RJ45 Connector Pin-OutsPower Jack Mini USB-B Table C-1 xDirect Technical Specifications Appendix C Technical SpecificationsCategory Description Appendix C Technical Specifications Appendix D Alternative Ways to Assign an IP Address AutoIPARP and Telnet To assign a temporary IP addressConversion Table Appendix E Binary to Hexadecimal ConversionsConverting Binary to Hexadecimal Scientific CalculatorAppendix E Binary to Hexadecimal Conversions Manufacturer’s Name & Address SafetyAppendix F Compliance Electromagnetic EmissionsAppendix F Compliance RoHS Notice