DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Adding and configuring modems

Changing modem settings from the command line

Modem settings are changed from the command line using mdmcfg(1M). Each call that results in a change to the configuration forces both files in /etc/uucp/default to be updated (current configuration and dialer files). For example:

Setting an attribute value:

/etc/uucp/mdmcfg Courier_V.34_Data_Fax_Modem -p term/00m \
-s SpeakerVolume High

Getting an attribute value:

/etc/uucp/mdmcfg Courier_V.34_Data_Fax_Modem -p term/00m \
-g SpeakerVolume

Restoring an attribute's default value:

/etc/uucp/mdmcfg Courier_V.34_Data_Fax_Modem -p term/00m \
-d SpeakerVolume

Retrieve all valid values:

/etc/uucp/mdmcfg Courier_V.34_Data_Fax_Modem -p term/00m \
-v SpeakerVolume

Missing out the attribute name with -g, -d and -v works on all attributes.

Options -s, -g, -d and -v can all be chained together in one invocation of mdmcfg.

Some values are read only and hence cannot be set by the -s option.

For further information, see ``Modem settings''.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004