[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Modifying USB Modem Initialization Commands

Note: These instructions use Hayes-compatible modem commands to configure the modem. If your modem is not Hayes-compatible, see the documentation for your modem and enter equivalent modem commands.

You can use the J-Web or CLI configuration editor to override the value of an initialization command configured on the USB modem or configure additional commands for initializing USB modems.

Note: If you modify modem initialization commands when a call is in progress, the new initialization sequence is applied on the modem only when the call ends.

In this example, you override the value of the S0=0 command in the initialization sequence configured on the modem and add the L2 command.

To modify the initialization commands on a USB modem:

  1. Navigate to the top of the interfaces configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 59.
  3. If you are finished configuring the device, commit the configuration.
  4. To verify that the initialization commands are configured correctly, see Verifying the USB Modem Configuration.

Table 59: Modifying USB Modem Initialization Commands

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Interfaces level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Interfaces, click Configure or Edit.

From the [edit] hierarchy level, enter

edit interfaces umd0

Configure the modem AT commands to initialize the USB modem. For example:

  • The command S0=2 configures the modem to automatically answer calls on the second ring.
  • The command L2 configures medium speaker volume on the modem.

You can insert spaces between commands.

When you configure modem commands in the CLI configuration editor, you must follow these conventions:

  • Use the newline character \n to indicate the end of a command sequence.
  • Enclose the command string in double quotation marks.
    1. Next to Modem options, click Configure.
    2. In the Init command string box, type AT S0=2 L2.
    3. Click OK.

    From the [edit interfaces umd0] hierarchy, enter

    set modem-options init-command-string "AT S0=2 L2 \n"


    [ Contents] [ Prev] [ Next] [ Index] [ Report an Error]