### Using dm_admin

Use the following examples in this section to perform the following tasks:

General Tasks

- Get dm_admin help. See dm_admin Help.
- Query host adapter status. See Example 3. Query Host Adapter Status.

Modem-specific Tasks (valid only for Acceleport RAS adapters)

- Configure modem nationality. See Example 1. Modem Nationality Configuration.
- Query modem information. See Example 2. Query Modem Info.
- Force a modem hangup. See Example 4. Force Modem Hangup.

#### dm_admin Help

dm_admin is fully documented in its man page; a brief description of all command line options may be obtained by entering

`dm_admin --help`

at the command line.

#### Command Line Examples

Example 1. Modem Nationality Configuration

`dm_admin -b0 -CUS`

> `-b0` | Board Number = 0
> `-CUS` | Modem Nationality = United States

Example 2. Query Modem Info

`dm_admin -b0 -p1 -c1 -E`

> `-b0` | Board Number = 0
> `-p1` | Port = 1
> `-c1` | Channel = 1
> `-E` | Query

Example 3. Query Host Adapter Status

`dm_admin -b0 -q`

> `-b0` | Board Number = 0
> `-q` | Query

Example 4. Force Modem Hangup

`dm_admin -b0 -p3 -c1 -h`

> `-b0` | Board Number = 0
> `-p3` | Port = 3
> `-c1` | Channel Number = 1
> `-h` | Force Modem Hangup

#### More Information

For more comprehensive information about the device driver and associated utilities, see the man pages for dm_admin.