LRS Reference Manual


9 - Modems

9.1 - Introduction
9.2 - Modem Profiles
9.2.1 - Using a Profile
9.2.2 - Editing a Profile
9.2.2.1 - Examine the Profile
9.2.2.2 - If Necessary, Edit the Init String
9.2.2.3 - Edit Other Settings
9.2.2.4 - Enable Modem Control
9.2.2.5 - Initialize the Modem
9.2.3 - Profile Settings
9.2.3.1 - Answer
9.2.3.2 - Answer String
9.2.3.3 - Attention String
9.2.3.4 - Busy Response String
9.2.3.5 - Carrierwait
9.2.3.6 - Command Prefix String
9.2.3.7 - Compression
9.2.3.8 - Compression String
9.2.3.9 - Connect Response String
9.2.3.10 - Dial String
9.2.3.11 - Error Correction
9.2.3.12 - Error Correction String
9.2.3.13 - Error Response String
9.2.3.14 - Get Setup String
9.2.3.15 - Initialization String
9.2.3.16 - No Carrier Response String
9.2.3.17 - No Dialtone Response String
9.2.3.18 - OK Response String
9.2.3.19 - Reset & Reload String
9.2.3.20 - Ring String
9.2.3.21 - Save String
9.2.3.22 - Speaker
9.2.3.23 - Speaker String
9.2.3.24 - Statistics String
9.3 - How the LRS Interacts with the Modem
9.3.1 - Initialization
9.3.2 - Outgoing Calls
9.3.3 - Incoming Calls
9.3.4 - When a Port is Logged Out
9.3.5 - Compression
9.3.6 - Error Correction
9.3.7 - Security
9.3.8 - Autostart
9.3.9 - Dialback
9.4 - Wiring
9.5 - Examples
9.5.1 - Typical Modem Configuration
9.5.2 - Modem Configuration Using Generic Profile
9.5.3 - Editing Modem Strings
9.6 - Troubleshooting
9.7 - Quick Reference

9.1 Introduction

This chapter discusses how to configure your modem and the LRS to work together.


9.2 Modem Profiles

The LRS interacts with a modem by sending commands to and expecting responses from the modem. This communication consists of strings or of simple commands, such as "enable this feature."

In order to communicate appropriately with a modem (this varies from modem to modem) the LRS consults a compilation of appropriate commands and responses for that modem. This compilation is called a modem profile.

9.2.1 Using a Profile

Preconfigured profiles are available for a number of modems. Each profile contains all settings necessary to appropriately configure that type of modem. To display the list of profiles, use the Show Modem command.

A modem profile must be chosen from this list and copied to the port that the modem is attached to. Examine this list. If your modem is listed, copy it to the port using the Define Port Modem Type command.

Figure 9-1: Associating Modem Profile With a Port

Local>> DEFINE PORT 3 MODEM TYPE 5
All configurations in the modem profile will be applied to the specified port. The port's flow control will be changed to RTS/CTS, Autobaud will be disabled if it's enabled, and the port's baud rate will be changed to the highest rate the modem can support.

If your modem isn't in the list of profiles, use a modem profile that's similar to your modem type (for example, a modem from the same manufacturer). If there isn't a similar modem listed, use the Generic profile.

Be sure to verify the provisions mentioned in Security.

New modem profiles will be added to the list as they become available from users and our engineering staff. If your modem isn't included in the list of profiles, contact Lantronix to see if it will be added in a later version of the software.

To verify that the changes have been made, use the List Port Modem command:

Figure 9-2: Verifying Modem Configuration

Local>> LIST PORT 3 MODEM

9.2.2 Editing a Profile

If a profile isn't available for your modem, editing a profile for a similar modem is recommended (for example, a modem from the same manufacturer). However, if a similar modem profile isn't available, you can edit a preconfigured "generic" modem profile. This is explained in detail in Profile Settings.

Very few modems can use all commands in the generic modem profile. This is a starting point only.

Profiles can also be edited to "fine-tune" your modem's performance. For example, dialing performance can be increased by adjusting the DMTF (touch tone) duration and spacing.

To edit a modem profile, complete the following steps.

9.2.2.1 Examine the Profile

Display the modem profile by entering the List Port Modem command:

Figure 9-3: Displaying Modem Configuration

Local>> LIST PORT 3 MODEM
A series of settings will be displayed. For example, the Attention string may currently be set to at, and Error Correction may be enabled. Read through the configuration options discussed in Profile Settings and determine which options you'll need to enable or disable to meet your needs. Consult your modem's documentation for the appropriate strings.

9.2.2.2 If Necessary, Edit the Init String

The Init string configures your modem at initialization. This string should do the following:

Table 9-1: Commands in Initialization String

CommandExample String
(Not for all modems: consult your documentation for appropriate commands)
Set modem to factory defaults&f
Set modem to ignore any character that may force it to return
to command mode (for example, +++)
s2=128
Set carrier detect (DCD) to "follow carrier"&c1
Set modem to hang up phone and reload its configuration when DTR signal is dropped&d2
Set modem to return as many result codes as possible
(known as "all progress"). Result codes will be returned in
text (rather than numbers)
w2
Set modem to use hardware flow control&k3
Set modem to determine its serial speed from the Attention command (rather than using a constant serial speed).s20=0

If the Init string in your profile needs to be edited, use the Define Port Modem Init command:

Figure 9-4: Sending Initialization String

Local>> DEFINE PORT 3 MODEM INIT "&fs2=128&c1&d3w2"
Often, initialization commands are sent individually, prefaced by the modem's Command Prefix string (commonly "at"). In order for the LRS to correctly send the information to your modem, all commands must be sent in one string. Do not include the Command Prefix string in this string.

If you configure a modem profile that is not available on the list, please mail it to support@lantronix.com.

9.2.2.3 Edit Other Settings

All settings in a modem profile can be edited with the Define Port Modem commands. For example, to configure the Dial string, use the Define Port Modem Dial command.

Figure 9-5: Configuring a String

Local>> DEFINE PORT 3 MODEM DIAL "DT"

9.2.2.4 Enable Modem Control

In order for a port to control a modem, modem control must be enabled. Use the following command:

Figure 9-6: Enabling Modem Control

Local>> DEFINE PORT 3 MODEM CONTROL ENABLED

9.2.2.5 Initialize the Modem

Log out the port that the modem is connected to. The modem will be initialized, incorporating any changes that you've made to the modem's profile.

Figure 9-7: Initializing the Modem

Local>> LOGOUT PORT 2

9.2.3 Profile Settings

9.2.3.1 Answer

This setting configures whether or not the modem will automatically answer the telephone line. It can be enabled or disabled.

9.2.3.2 Answer String

This string causes the modem to answer upon ring or to never answer. Commonly set to "s0=1" or "s0=0".

9.2.3.3 Attention String

The attention string is sent to the modem each time the port is logged out or when the server first boots. The Modem must return the OK String. Otherwise it is assumed that the modem is disconnected or unavailable. Commonly set to "at".

9.2.3.4 Busy Response String

The modem should respond with this string if the remote telephone line is busy. Commonly set to "BUSY".

9.2.3.5 Carrierwait

This setting determines the amount of time (in seconds) that the modem will wait for a carrier. If a carrier isn't received within this period of time, the call will fail. By default, Carrierwait is set to 60 seconds.

9.2.3.6 Command Prefix String

This string is placed before all commands sent to the modem except for the Attention String. In the unlikely event that your modem doesn't use a common command prefix for all commands, this string should be left blank; include the appropriate command prefix in every string sent to the modem. Commonly set to "at".

9.2.3.7 Compression

This setting enables or disables the modem's compression of data.

See Compression for a complete description of compression.

9.2.3.8 Compression String

This string causes the modem to compress data or to let data pass uncompressed. Note that compression often causes higher latency on a line in return for higher throughput.

9.2.3.9 Connect Response String

The modem must respond with this string after it connects with a remote modem. The modem may respond with other strings as well, but they will be ignored. Commonly set to "CONNECT".

9.2.3.10 Dial String

This string is sent after the Command Prefix but before the telephone number to be dialed. Commonly touch tone dialing is activated with "dt" and pulse dialing is activated with "dp".

9.2.3.11 Error Correction

This setting enables or disables the modem's detection and correction of errors.

See Error Correction for a complete description of error correction.

9.2.3.12 Error Correction String

This string causes the modem to use error correction or to let data pass uncorrected. Note that correction often causes higher latency on a line in return for data integrity.

9.2.3.13 Error Response String

The modem should respond with this string when it detects an error. Commonly set to "ERROR".

9.2.3.14 Get Setup String

This string displays the modem's current configuration. The LRS uses this information to determine if the modem's configuration has changed. Commonly set to "&v".

When most modems receive the Get Setup string, they'll return one page that lists their configuration. The LRS will not function properly if more than one page of configuration information is sent (prompting the user to press a key to continue to the next page); if your modem is configured in this manner, the Get Setup string will need to be set to "". When Get Setup is set to "", the modem will not be queried for its configuration; instead, the LRS will write the modem's NVR each time the LRS is booted.

The AT&T Paradyne Compshere and AT&T Dataport pose this problem.

Use caution when configuring Get Setup in this manner. A modem's NVR can only be written a particular number of times; if the LRS is rebooted too often, setting Get Setup to "" could wear out the modem's NVR.

9.2.3.15 Initialization String

The Initialization (Init) string must be configured in a specific manner in order for your modem to work with the LRS. See If Necessary, Edit the Init String for instructions.

9.2.3.16 No Carrier Response String

The modem should respond with this string if the remote modem doesn't present a carrier. Commonly set to "NO CARRIER".

9.2.3.17 No Dialtone Response String

The modem should respond with this string if no dial tone is present and the modem cannot dial. Commonly set to "NO DIAL".

9.2.3.18 OK Response String

The modem must respond with this string after receiving the Attention String. Commonly set to "OK".

9.2.3.19 Reset & Reload String

This string resets the modem and retrieves its setup from nonvolatile memory (NVR). Commonly set to "Z".

9.2.3.20 Ring String

The LRS will expect this string when the modem is ringing. If set to "", any characters from an idle modem will be interpreted as a ring. Commonly set to "RING".

9.2.3.21 Save String

When the modem receives the Save string, it will save its configuration to nonvolatile memory (NVR). Commonly set to "&w".

9.2.3.22 Speaker

This setting enables or disables the modem's speaker.

9.2.3.23 Speaker String

This string turns the modem's speaker on or off. The speaker on switch may also set the speaker volume. Commonly set to "m1/1" and "m0".

9.2.3.24 Statistics String

This string is sent to the modem after each call to gather statistics on the call. The resulting information from the modem is sent to the server's logging system for later analysis.


9.3 How the LRS Interacts with the Modem

9.3.1 Initialization

When the LRS is booted, the DTR signal will be held low so that the modem will reset and will not answer incoming calls. All LRS ports with Modem Control enabled will be checked to see if a modem is connected and powered up. To determine this, the LRS will send the Attention string to the modem and wait for the OK string to be sent in response.

The modem will then be asked for its current configuration. The Init string will be sent followed by a request for the modem's configuration. If the current modem profile on that port does not match the configuration sent from the modem, it will be assumed that the modem's setup has changed. The Save string will be sent, and the setup contained in the profile will be saved in the modem's permanent memory (NVR).

The NVR on some modems will wear out with repeated use. This limitation is avoided by only writing the setup to the modem if it has changed.

The LRS will raise DTR so that the modem can answer incoming calls. The port will then wait to receive the Connect string from the modem or to begin an outgoing call.

9.3.2 Outgoing Calls

On outgoing calls, the LRS will send the Attention string until the modem responds with the OK string (up to three times). If the modem does not send the OK string, the attempt will fail and the modem will be reset. If the OK string is received, the LRS will send the Command Prefix, the Dial String and the telephone number to the modem.

To set the telephone number, refer to Assign A Telephone Number to the Port or Site.

If the modem responds with the Connect String, the call will succeed. If the modem responds with the No Carrier, Error, No Dial Tone or Busy strings, or if no response is received in 60 seconds, the call will immediately fail and the modem will be reset. (60 seconds is the default wait period; this can be configured using the Define Port Modem Carrierwait command).

9.3.3 Incoming Calls

The LRS will detect an incoming call when a port receives the Ring string. The port will then be in a "ringing" state; outgoing calls cannot be made on this port during this period.

When the modem asserts the DCD signal, the incoming call will be permitted.

If more than 60 seconds pass between ring signals or before the assertion of DCD, the LRS will assume that the caller hung up or that the connect failed. (60 seconds is the default wait period; this can be configured using the Define Port Modem Carrierwait command). The port will then be available for outgoing calls.

9.3.4 When a Port is Logged Out

Each time a port is logged out (for example, when a user hangs up), the LRS will send the Attention string to the modem. The OK string is expected in return; when this string is received, the LRS will send the Command Prefix string and the Reset string.

When the modem receives the Reset string, it will read its configuration from NVR. Any temporary configuration (for example, changes that an outbound modem user made) will be cleared at this point.

If a user made changes during an outbound call and saved them to the modem's NVR, the modem will be returned to this state.

9.3.5 Compression

The compression setting in a modem profile enables or disables data compression in the modem.

Data compression enables a modem to transfer a larger amount of data in the same amount of time. When compression is used, uncompressed data arrives on the modem's serial port and the modem compresses the data before sending it over the phone line. The advantage of compression is increased throughput. For example, a modem might compress data to 1/2 its original size, doubling the modem's throughput; twice the data could be sent in the same amount of time required to send uncompressed data.

The disadvantage of compression is increased latency. Latency is the delay before data transfer occurs, caused by the additional time the modem requires to compress the data before it is sent. In situations where the delay is annoying (for example, during interactive use over a long distance line), compression should not be used.

The "compressibility" of data depends on what is being compressed. Some data can be compressed to half its original size, while other data cannot be compressed at all. As the data to be sent changes, the modem's throughput will change.

Before enabling compression, flow control must be enabled. In addition, the modem's serial speed must be set higher than the line speed. This enables the LRS to keep the modem's internal data buffer filled with data to compress. As lower compression ratios decrease the effective line speed, the modem will flow control the LRS more often. When compression ratios and the effective line speed rise, the modem will flow control the LRS less often.

To configure flow control, see Flow Control.

To enable modem compression, use the following command:

Figure 9-8: Enabling Modem Compression

Local>> DEFINE PORT 2 MODEM COMPRESSION ENABLED
When modem compression is enabled on a port, the LRS will send a string to the modem to instruct it to enable modem compression. When compression should be disabled, a disable string may be sent. The default enable and disable strings vary, dependent upon the modem profile used. To display the default strings for a particular modem profile, use the List Modem command:

Figure 9-9: Displaying a Modem Profile's Strings

Local>> LIST MODEM 11
To modify these strings, use the Define Port Modem Compression command. The first string specified is the disable string; the second is the enable string.

Figure 9-10: Changing the Disable and Enable Strings

Local>> DEFINE PORT 2 MODEM COMPRESSION "s46=136" "q5"
The compression mode used varies from modem to modem, however, the most common mode is V.42bis. This is the recommended method of data compression.

V.42bis encoding offers an automatic 20% savings on all data sent, regardless of how compressible it is. Some text files can be compressed down to 1/4 or less of their original size. In addition, V.42bis will enable or disable compression according to whether or not it's required.

Other compression modes, such as MNP, may not give the same results as V.42bis. To obtain the best results, experiment with different modes of compression.

On many modems, error correction must be enabled in order to use data compression.

9.3.6 Error Correction

A modem profile's Error Correction setting enables or disables the modem's error correction mode.

Error correction modes enable modems to ensure data integrity in the presence of telephone line noise. These modes work by checking the data for errors at the receiving modem. If an error is detected, the receiving modem requests that the sending modem retransmit the data.

When errors are not detected, data flows through the modem at a normal rate. If an error occurs, requiring the sending modem to retransmit the data, new data will not be permitted through the connection. The sending modem must be able to flow control the LRS during the retransmission. Ensure that flow control is enabled on the LRS before enabling error correction.

To configure flow control, see Flow Control.

To enable error correction, use the following command:

Figure 9-11: Enabling Error Correction

Local>> DEFINE PORT 2 MODEM ERRORCORRECTION ENABLED
When error correction is enabled on a port, the LRS will send a string to the modem to instruct it to enable error correction. When error correction should be disabled, a disable string may be sent. The default enable and disable strings vary, dependent upon the modem profile used. To display the default strings for a particular modem profile, use the List Modem command:

Figure 9-12: Displaying a Modem Profile's Strings

Local>> LIST MODEM 11
To modify these strings, use the Define Port Modem Errorcorrection command. The first string specified is the disable string; the second is the enable string.

Figure 9-13: Changing the Disable and Enable Strings

Local>> DEFINE PORT 2 ERROR CORRECTION "&q5" "q0"

9.3.7 Security

If security measures aren't taken, unauthorized callers may be able to gain access regardless of the port's security measures. In order to prevent this, the following must be true:

These items should be carefully verified for each port that a modem is attached to, even if a preconfigured modem profile is used.

Dialback security, discussed below, can be used in conjunction with these techniques on modem ports for an additional layer of security.

The Ports and Security chapters cover security features in detail. The best tools for securing modem ports are username and password pairs, server passwords, and idle timeouts.

9.3.8 Autostart

A port with Autostart and modem control enabled will not run the specified mode (for example, PPP) until the modem asserts the DCD/DSR signal. This prevents the port from sending data to the local modem before a remote modem is connected.

For information on Autostart or the DCD/DSR signals, see Chapter 8 - Ports

9.3.9 Dialback

Dialback allows a system manager to set up a dialback list of authorized users for incoming modem connections. When a username matching one in the list is entered, the port will be logged out and the user will be called back at the predefined number.

For a complete discussion of dialback, see Dialback.


9.4 Wiring

The LRS must be wired to the DCD pin on your modem. If you're using an LRS2, connecting a DB25 cable from the LRS to the modem will automatically use the DCD pin. See the Pinouts appendix of the LRS2 Installation Guide for diagrams and instructions.

If you're using an LRS16, you'll need to wire the DB25 adapter from the LRS16 DSR/DCD pin to the DCD pin on the modem. See the Pinouts appendix of the LRS16 Installation Guide for complete wiring information.

For a description of the serial signals, see Serial Signals.


9.5 Examples

9.5.1 Typical Modem Configuration

Figure 9-14 lists the commands required for a typical modem setup. In this example, an LRS modem profile exists for this brand of modem. All modem strings in this profile are acceptable; no special configuration is required.

Figure 9-14: Typical Modem Configuration

Local>> LIST MODEM

Local>> DEFINE PORT 2 MODEM ENABLED

Local>> DEFINE PORT 2 MODEM TYPE 4

Local>> DEFINE PORT 2 MODEM SPEAKER DISABLED

Local>> LOGOUT PORT 2

9.5.2 Modem Configuration Using Generic Profile

In this example, a V.34 modem is attached to LRS port 2. A modem profile does not exist for this brand of modem; the generic modem profile must be used. This modem will support incoming and outgoing connections.

Port 2's speed must be set properly for the modem. To determine the appropriate port speed, examine the following table:

Table 9-2: Maximum Baud Rates

Modem Typical Maximum

Baud Rate

V.3219200
V.32bis57600
V.fast115200
V.34115200
To determine the maximum baud rate supported by the modem, the port speed must be set and tested. Modem handling must be disabled on the port; if it is enabled, the LRS will attempt to initialize the modem when the port is logged out.

Figure 9-15: Configuring Port Speed

Local>> DEFINE PORT 2 MODEM DISABLED

Local>> DEFINE PORT 2 SPEED 115200

The port speed is tested by logging into the port and sending an attention ("at") command. The modem should respond with "OK". If it does not send "OK", the port speed should be set to a lower baud rate (see Table 9-2 above).

Figure 9-16: Testing the Port Speed

Local>> SET PORT 2 LOCAL SWITCH ^\

Local>> CONNECT LOCAL PORT_2

Local protocol emulation V2.2

at

OK

 

Local>>

After the appropriate port speed is determined, the port must be configured using the generic modem profile. In addition, modem operation must be enabled.

To determine which profile number is the generic profile (the number will change as new profiles are added), the List Modem command is used:

Figure 9-17: Displaying Modem Profiles

Local>> LIST MODEM

1- Modem 1

2- Modem 2

3- Modem 3

4- Generic

Local>> DEFINE PORT 2 MODEM ENABLED

Local>> DEFINE PORT 2 MODEM TYPE 4

%Info: Port speed changed to 57600.

%Info: Port flow control changed to CTS.

The generic modem profile made a series of configurations to port 2. To determine port 2's current configuration, the List Port and List Port Modem commands are used.

Figure 9-18: Current Port Configuration

Local>> list port 2

Port 2 : Username: Physical Port 2 (Idle)

Char Size/Stop Bits: 8/1 Input Speed: 57600

Flow Ctrl: Cts/Rts Output Speed: 57600

Parity: None Modem Control: Disabled

 

Access: Local Local Switch: None

Backward: None Port Name: Port_2

Break Ctrl: Local Session Limit: 4

Forward: None Terminal Type: Soft()

Preferred Services:

(Telnet)

Characteristics: Broadcast Loss Notify Telnet Pad Verify

Port 2's speed is now 57600. This speed must be set to the appropriate speed (determined earlier by setting and testing the speed), 115200.

Figure 9-19: Configuring Port Speed

Local>> DEFINE PORT 2 SPEED 115200
Port 2 will be used for incoming and outgoing connections, therefore, the access must be set to Dynamic.

Figure 9-20: Configuring Local Switch and Port Access

Local>> DEFINE PORT 2 ACCESS DYNAMIC

Local>> LOGOUT PORT 2

The final command, Logout Port, ensures that the changes made will be in effect for the next login to port 2.

9.5.3 Editing Modem Strings

The current init string on port 2 is &fw1&c1&d2&k3s2=128. This string must be changed to work with a particular modem:

Figure 9-21: Changing Init String

Local>> DEFINE PORT 3 MODEM INIT "&fw1&c1&d2s2=128s38=0"


9.6 Troubleshooting

To help diagnose any difficulty with your modem setup, it is a good idea to do the following:

The following table lists some common problems that occur with modem configuration and proposes solutions for them.

Table 9-3: Modem Troubleshooting

ProblemPossible Cause(s)Remedy
The modem won't answer the phone.Modem isn't configured to
answer the phone.
Enable answering with the Define Port Modem Answer command.
 The DTR signal isn't attached. Verify the wiring. Ensure that the ground pins on the RJ45 ports are wired together.
 The LRS isn't asserting the DTR signal.Ensure that the Dtrwait characteristic is disabled on the LRS port used.
 The modem has hung.Cycle power on the modem.
The modem doesn't respond to the LRS' configuration
requests.
The modem's flow control isn't set properly, or the modem's autobaud isn't functioning properly.Reset the modem's NVR to the factory default state (the at&f string is commonly used). For
instructions, refer to your modem's documentation.
 The modem isn't wired correctly. Verify the wiring. Ensure that the ground pins on RJ45 ports are wired together.
The modem
answers, but can't log into the LRS.
The Access characteristic on the LRS port used is set to None or Remote.Set Access to Local or Dynamic.
 The modem's serial speed does not match the serial speed on the LRS port used.Ensure that the modem and LRS port have matching serial speeds.
 A network user is connected to the modem.Use the Show Ports command to verify that the LRS port is idle. If it is not idle, log out the port using the Logout Port command.
 The modem has hung.Cycle power on the modem.
 The LRS cannot detect the DCD signal.Verify the wiring. Ensure that the ground pins on the RJ45 ports are wired together.
All data is
corrupted.
The ground pins aren't wired correctly.Verify the wiring. Ensure that the ground pins on the RJ45 ports are wired together.
 The modem's serial speed does not match the serial speed on the LRS port used.Ensure that the modem and LRS port have matching serial speeds.
 Flow control isn't working
properly.
Ensure that the modem and LRS port are configured to use the same flow control method.
 The modem is set to the wrong baud rate.Cycle power on the modem.
The first few lines of data are transmitted properly, but the subsequent data is corrupted.Flow control isn't working
properly.
Ensure that the modem and LRS port are configured to use the same flow control method. Flow control is discussed in detail in Flow Control.
 The ground pins aren't wired correctly.Verify the wiring. On RJ45 ports, ensure that the ground pins are wired together.
When the port is logged out, the
modem doesn't hang up the phone line.
Modem Control isn't enabled on the LRS port used.Ensure that Modem Control is enabled. See Define Port Modem Control for details.
 The DTR signal isn't attached. Verify the wiring. Ensure that the ground pins on RJ45 ports are wired together.
 The modem isn't configured to reset when the DTR signal is dropped.Check the modem's configuration.
When the phone is hung up, the LRS doesn't log out the port.Modem Control isn't enabled on the LRS port used.Ensure that Modem Control is enabled. See Define Port Modem Control for details.
 The DCD signal isn't attached. Verify the wiring. Ensure that the ground pins on RJ45 ports are wired together.
 The modem isn't configured to deassert DCD upon loss of carrier.Check the modem's configuration.
The modem
answers, but won't connect to the
remote modem.
One or both modems are configured not to connect unless some feature is enabled (for example, error correction). Check the documentation for both modems; verify their configuration.
 The two modems cannot be
connected. (Some modems are incompatible with one another).
Replace one or both of the modems. Verify that the modem is using the correct and current
version of its software.


9.7 Quick Reference

Modem Profiles   
ToUse This CommandExample(s)What Example Does
Display the Available Modem ProfilesShow/Monitor/List ModemSHOW MODEMDisplays all LRS modem profiles.

See Modem Profiles for more information.

Copy a Modem Profile to a PortDefine Port Modem TypeDEFINE PORT 2 MODEM TYPE 5Copies modem profile 5 to port 2.

See Using a Profile for more information.

Enable Modem Operation on a PortDefine Port Modem EnabledDEFINE PORT 2 MODEM ENABLEDTells the LRS to treat port 2 as if there is a modem attached.
Make a Modem Profile Take Effect (Once Copied to a Port)LogoutLOGOUT PORT 2Port 2 will start using its defined profile.

See Using a Profile for more information.

Display a Port's Modem ConfigurationShow/Monitor/List ModemLIST PORT 2 MODEM

 

Displays the modem configuration for port 2.

See Examine the Profile for more information.

Modem Profiles, cont.   
ToUse This CommandExample(s)What Example Does
Edit a Modem Profile1. Display the port's modem configuration (see above).  
 2. Define Port Modem <string>DEFINE PORT 2 MODEM INIT "&f&c1s20=0"Configures port 2's initialization string.

Note: Initialization strings are different for each modem.

See Profile Settings for more information.

 3. Define Port Modem ControlDEFINE PORT 2 MODEM CONTROL ENABLEDEnables modem operation on port 2.

See Enable Modem Control for more information.

 4. Logout PortLOGOUT PORT 2Initializes the modem attached to port 2. Any changes made to the LRS modem configuration will be put into effect.

See Initialize the Modem for more information.

Compression   
ToUse This CommandExample(s)What Example Does
Enable/Disable the Modem's Data Compression

 

Define Port Modem CompressionDEFINE PORT 2 MODEM COMPRESSION ENABLEDThe LRS will configure the modem to use data compression by sending the appropriate string when the modem is configured.

See Compression for more information.

Edit the Strings Sent to the Modem to Enable/Disable CompressionDefine Port Modem CompressionDEFINE PORT 2 MODEM COMPRESSION "s46=136" "q5"

 

When modem compression is enabled on port 2, the LRS will send "s46=136" to the modem to disable compression and "q5" to enable compression.

See Compression for more information.

Error Correction   
ToUse This CommandExample(s)What Example Does
Enable the Modem's Error CorrectionDefine Port Modem ErrorcorrectionDEFINE PORT 2 MODEM ERRORCORRECTION ENABLEDThe LRS will configure the modem to use error correction by sending the appropriate string when the modem is configured.

See Error Correction for more information.

Edit the Strings Sent to the Modem to Enable/Disable Error CorrectionDefine Port Modem ErrorcorrectionDEFINE PORT 2 MODEM ERRORCORRECTION "&q5" "q0"When modem compression is enabled on port 2, the LRS will send "&q5" to the modem to disable error correction and "q0" to enable error correction.

See Error Correction for more information.

Security   
ToUse This CommandExample(s)What Example Does
Secure Modem PortsSee Chapter 11 - Security.  
Configure a List of Authorized Users for Incoming Modem ConnectionsSee Dialback.  
Wiring   
ToUse This CommandExample(s)What Example Does
Ensure that the LRS2 Uses the DCD Pin on the ModemNo wiring is necessary. Connecting a DB25 cable from the LRS2 to the modem will automatically use the DCD pin.  
Ensure that the LRS16 Uses the DCD Pin on the ModemSee the Pinouts appendix of the LRS16 Installation Guide.  
Flow Control Configuration   
ToUse This CommandExample(s)What Example Does
Set the Appropriate Line and Serial SpeedsSee Modem Configuration Using Generic Profile.  
Disable AutobaudSet/Define Port Autobaud.DEFINE PORT 2 AUTOBAUD DISABLEDDisables Autobaud on port 2.

See Flow Control for more information.

LRS Reference Manual - 4 MARCH 1996

Generated with Harlequin WebMaker