Runtime, Loading the acp device driver – Hayes Microcomputer Products Mwave User Manual

Page 6

Advertising
background image

Country information (including access codes) are listed in the

mwavem.conf

file. For example, for France

the following section is present:

[Telephony\Country List\33]

CountryCode=00000021

Name=France

SameAreaRule=0FG

LongDistanceRule=0FG

InternationsalRule=00EFG

To set France to be your configured country in the [WORLDTRADE] section of

mwavem.conf

,

set Country=33

2.4. Runtime

An initialization script has been provided which may be used to to start, stop, or check the status of the ACP
Modem driver and application. It has been successfully run on the Debian, Slackware, SuSE, and Red Hat
distributions and should run on any of their derivitives. If you are using the runtime script, it will load the
mwave device driver module, configure the serial port, and start the mwave manager for you. All of the
options which can be passed to the device driver module, along with some options for the script itself, can be
configured by uncommenting and editing the appropriate variables at the beginning of the script.

The mwaved startup script can be found in the

src/mwavem

directory of the source distribution. If you are

running the Red Hat distribution, you can copy the script to your

/etc/rc.d/init.d

directory and issue

the ntsysv command in order to enable it at boot time. If not using Red Hat, see the documentation for your
distribution for information on how to set this up to run at boot time.

It is recommended that you use the provided mwaved script. If you are not using the script, however, the
following sections will describe how to manually start the device driver and application.

2.4.1. Loading the ACP device driver

To load the mwave device driver use

insmod mwave

or

modprobe mwave

The following arguments may be supplied with the insmod command:

NOTE

Linux ACP Modem (Mwave) mini−HOWTO

2.4. Runtime

4

Advertising