Lantronix Hub manual Using the MSS, Incoming Connections, Socket Connections

Page 56

5: Using the MSS

This chapter explains how to use the MSS once it is running. Incoming Connections (host-initiated connections) includes socket connections, using host applications, and using the code examples included on the MSS distribution CD-ROM. Interactive Connections includes manipulating sessions, making outgoing connections, and viewing device server and network information with the help of the Show commands. In addition, this chapter explains:

‹Setting up two MSS units to emulate a direct serial connection over the LAN (see Serial Tunnel).

‹Using the MSS as a data pipe between a serial device and multiple hosts on the network (see Multihost Mode).

‹Making the MSS look like a modem so that it can be used with existing communications software (see Modem Emulation Mode).

‹Using the Lantronix COM Port Redirector software to redirect PC COM ports (see COM Port Redirector).

Incoming Connections

Socket Connections

Each node on a network has a node address, and each node address can allow connections on one or more sockets. Sometimes these sockets are referred to as ports. TCP/IP connections can be made directly to the MSS serial port using sockets.

There are two categories of sockets. Well-known sockets are those that have been defined in RFCs (Requests for Comments); for example, port 23 is used for Telnet connections. There are also custom sockets that users and developers define for their specific needs.

Note: If the serial port is in use, the socket connection will be refused.

There are some important points to remember when making a socket connection.

‹Port access must be set to either Dynamic or Remote to allow network connection requests. Local access does not allow a port to receive connection requests from the network. To change the port's access type, use the Change Port Access command followed by either Dynamic or Remote.

‹The port must be idle. Use the Show Ports command to verify that the port is not in use. To ensure that the port will be idle, Telnet to the remote console port rather than attach a terminal to the serial port.

‹Only one serial port connection is allowed at a time, except in the case of Multihost Mode.

‹Timing between serial signals (such as DSR, RTS, and CD) is not preserved, and the state of such signals is not readable.

5-1

Image 56
Contents MSS User Guide Sales Offices Lantronix Corporate HeadquartersTechnical Support Disclaimer & Revisions Contents Configuration Using the MSS Compliance and Warranty Information MSS Family Features Introduction to the MSS FamilyProtocols Terms About The DocumentationMSS User Guide Introduction to the MSS Family Components InstallationMSS-VIA Installation MSS-VIA Rear Panel MSS-VIA LEDsInstallation Procedure Example Wired Network LayoutMSS User Guide Installation Pinging the MSS MSS-VIA Specifications Power power cube adaptorTemperature HumidityMSS4 Installation MSS4 ComponentsMSS4 LEDs MSS Connected to a Serial Device and NetworkMSS User Guide Installation MSS4 Specifications MSS100 Installation 10 MSS100 Front PanelMSS100 LEDs 12 MSS Network Layout13 MSS Connected to Serial Device and Ethernet MSS100 Specifications 14 Pinging the MSSGetting Started Privileged User StatusIP Address Configuration Using EZWebConUsing a Web Browser From the Action menu, select Assign IP AddressUsing ARP and Ping Entering ARP and Ping UnixUsing a DHCP, BOOTP, or Rarp Reply Using the Serial ConsoleIncoming Logins Login PasswordIncoming TCP/IP Logins Web Browser Login and ConfigurationSerial Port Logins EZWebCon Login and ConfigurationRlogin TelnetIncoming LAT Logins Changing the Login PasswordRemote Console Logins Outbound Connections LogoutConfiguration Rebooting the MSSNormal Reboot OverviewTCP/IP Configuration Protocol ConfigurationFactory Defaults Specifying a Gateway for MSS-VIA and MSS4 Name ServerIP Security Supported MibsIPX NetWare Configuration Configuring SnmpSnmp Trap Support Routing and EncapsulationInternal Network Number LoadhostLAT Configuration Service GroupsCircuit Timer Server IdentificationRS-485 Configuration Two-Wire ModeFour-Wire Mode 22 Enabling Two-Wire RS-485 Mode for MSS4TXDrive TerminationAutostart Serial Port ConfigurationAccess Mode 36 Configuring an Autostart Character for MSS-VIA and MSS4 Serial DataBaud Rate Character Size, Parity, and Stop BitsModems and Modem Signaling Flow ControlDSRLogout Signal CheckingModem Control Logouts DTRWaitDedicated Host ConfigurationPreferred Host Enabling 802.11 Networking RegionExtended Service Set ID Essid MAC Address Channel Network Mode Setting the WEP Key and Index Number Encrypted Traffic Formatting an ATA Flash CardModem Cards Incoming Calls Outgoing CallsSocket Connections Using the MSSIncoming Connections TCP/IP Socket Connections Interactive ConnectionsOutbound Connections Session Control Break Key and Local SwitchBackward, Forward, and Switches Status Displays Disconnect and ResumeSession Limits ShowSerial Tunnel TCP Configuration UDP ConfigurationMultihost Mode Enabling Multihost ModeRemoving Hosts Modem Emulation ModeAdding Hosts Modem Mode Commands 17. Enabling Modem Mode for MSS100COM Port Redirector Sequential Hostlist ModeWiring Requirements Power-up Problems and Error Messages TroubleshootingPower-up Troubleshooting Dhcp Troubleshooting Bootp TroubleshootingDhcp Troubleshooting Bootp TroubleshootingRarp Troubleshooting Tftp TroubleshootingModem Configuration Checklist Rarp TroubleshootingInit Entering Commands at the Boot PromptChange Bootp Enabled, Disabled Change Dhcp Enabled, Disabled Change HardwareChange Ipaddress ipaddress Change Loadhost ipaddressTechnical Support Technical Support Europe, Middle East, and AfricaEthernet Connector MSS VIA ConnectorsSerial Connectors PinoutsRS-485 DB9 Connectors MSS4 ConnectorsRS-232 DB9 Connector RS-232 DB9 Connectors MSS100 ConnectorsDB25 Connector DTR Data Terminal Ready Modem WiringDSR Data Signal Ready versus CD Carrier Detect Updating Software Obtaining SoftwareReloading Software Via the Web Via FTPFTP NetWare Troubleshooting Flash ROM UpdatesFlash ROM Troubleshooting MSS User Guide Updating Software Compliance and Warranty Information Compliance InformationWarranty