Use the set modem command to
Assign modem test and initialization scripts to ports
Display the modem table
Clear the association between ports and modem test and initialization scripts
Normal users can use the set modem command to display the scripts associated with the port they are using. Administrator (root) privileges are required to use the command to display information on other ports and to configure an association between a port and test and initialization scripts.
See the set script command for information on creating scripts.
Enter the set modem command as shown below to configure an association between a port and modem test and initialization scripts.
set modem [init=script] [range=range] [test=script]
Enter the set modem command as shown below to display modem table entries.
set modem [range=range]
Enter the set modem command as shown below to clear an association between a port and modem test and initialization scripts.
set modem [init=no] [test=no]
|
Command Field |
Description |
|
init |
Specifies one of the following:
|
|
range |
Specifies the range of ports to which this command applies. |
|
test |
Specifies one of the following:
|
In this example, the set modem command displays the names of scripts associated with the user’s port.
set modem
In this example, the set modem command displays the names of scripts associated with a range of ports.
set modem range=1-16
In this example the set modem command configures an association between a port and test and initialization scripts.
set modem test=test1 range=2 init=init1
In this example, the set modem command clears an association between a port and test and initialization scripts.
set modem range=2 test=no init=no