Mandriva Expert
The place where your Mandriva Linux system finds support

WHERE IS THE INIT SCRIPT LOCATED IN MANDRAKE 8.2

+/- details
User aswadh
Incident Number 37814
Date 2002/11/05 04:19
Status Incident closed
Paid Yes

Product 8.2
Architecture x86_32
Scope Installation

Products owned

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
aswadh : 05/11/02 04:19 AM : Incident created
-   I installed the drivers for a linmodem on my mandrake 8.2 box.

The FAQs had the following instructions:

******

The driver consists of two parts:
pctel.o
ptserial.o

You insert these drivers with the command
insmod pctel
insmod ptserial

You have to make sure, that these two commands are run every time you
reboot your machine, by adding these two commands to an init script,
according to your distribution.

If you want to enable autoloading of the modules,
the following lines in /etc/modules.conf would suffice:

# for pctel modem
alias char-major-62 ptserial
below ptserial pctel
# country code for pctel modem
options ptserial country_code=13

Make sure, you run "depmod -a" after you changed your /etc/modules.conf.

Then starting ppp would autoload the modules,
or "modprobe ptserial" will insert them.

******

QUESTION:

DO this mean I have to do Both or One of the following?

1. ADD the commands "insmod pctel" & "insmod ptserial" in the init
script.

2. ADD the lines as suggested above in the /etc/modules.conf


Where can I find the init script in Mandrake 8.2?

What is the reason for running "depmod -a" after you changed your /etc/modules.conf ?

As always, I will appreciate your help.

Aswad..

 
Linegod_7611 : 05/11/02 05:02 AM : Reply received
-   It means do one, and the one you should go with is add the lines below to
'/etc/modules.conf':

# for pctel modem
alias char-major-62 ptserial
below ptserial pctel
# country code for pctel modem
options ptserial country_code=13

Running 'depmod -a' rebuilds the modules list.

------
Note: If this answer resolves your problem, please remember to close this incident.

 
aswadh : 05/11/02 03:32 PM : More info provided
-   Could I add "modprobe ptserial" to /etc/modules.conf. or is this not necessary if you are using the the Internet Dialler in KDE.

Thanks.

 
Linux-phased : 05/11/02 06:34 PM : Reply received
-   If you want to load modules via modprobe you have to put the line(modprobe...)
at the end of following file:

/etc/rc.d/rc.modules

 
aswadh : 07/11/02 12:04 AM : Incident closed
-   Very Prompt Responses!!



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers