Previous Page: Commands for Modem-Independent Ports  Next Page: Modem Switches

Modem Commands

The modem-independence feature in the Novell® Internet Access Server 4.1 remote access software initializes a port independently of the modem attached to it by emulating a generic modem. This feature supports a generic modem by emulating common commands from a small set of industry-standard modems. Table 1, Commands for Modem-Independent Ports lists the modem commands supported on modem-independent ports. This list is a subset of commands supported on most Hayes-compatible modems.


Entering Commands

You enter commands by entering the characters AT (attention), followed by a string of one or more command characters and ending with a carriage-return (CR) (that is, the Enter or Return key, ASCII 13). For example, to dial the number 555-1212 and go online, you would enter the command ATDT5551212, then press Enter or Return (DT is an instruction to dial using the tone method).


Using Numeric Parameters

Many modem command characters are followed by a numeric parameter, usually represented in Table 1, Commands for Modem-Independent Ports as n. Omitting the parameter is the same as setting n to zero.


Table 1. Commands for Modem-Independent Ports

Command Description

+++

Enter command mode while establishing a connection.

AT

Attention: begin the command line.

CR

The Enter or Return key; end the command line.

D

Go to originate mode, dial the number that follows, and attempt to go online.

En

n=0 Do not echo command character.

n=1 Echo command character.

Hn

n=0 Go on hook (hang up).

n=1 Go off hook.

In

n=0 Request modem ID number.

Qn

n=0 Return result codes.

n=1 Do not return result codes.

Sr=n

Store number n in register r to control an operating parameter.

Vn

n=0 Display result codes tersely (as numbers).

n=1 Display result codes verbosely (as words).

Xn

Enable model-dependent features based on result codes.

Z

Reset the modem to restore user default settings from nonvolatile RAM.

&F

Reset the modem to restore factory settings from ROM and switches.

&w

Save the modem setting.


Dialing and Using Dial Modifiers

The special command character D (dial) must be followed by a string of characters specifying at least one telephone number and optionally containing additional characters called dial modifiers.

For lines that require pulse dialing, precede the telephone number with a dial modifier that sets the modem accordingly. Use the character P (pulse) to do this. Table 2 lists all available dial modifiers.


Table 2. Dial Modifiers on Modem-Independent Ports

Command Modifier Description

0-9

A-D

# (number sign)

* (asterisk)

Regular phone numbers.

Alphanumeric, special characters, and digits in a phone number.

T

Use a tone dial.

P

Use a pulse dial.



  Previous Page: Commands for Modem-Independent Ports  Next Page: Modem Switches