Linux-Misc Digest #746, Volume #27               Sun, 29 Apr 01 16:13:02 EDT

Contents:
  please help me with modem driver question ("ff")

----------------------------------------------------------------------------

From: "ff" <[EMAIL PROTECTED]>
Subject: please help me with modem driver question
Date: Sun, 29 Apr 2001 12:18:34 -0700

i downloaded the driver for my winmodem (i know
they suck, but my comp was a gift) at amptron.com
under the motherboard section (everything but my
nic is onboard unforunatly). i read the install
readme and i am new to rh7 and know how to do no
nothing at the command prompt but cd to a
directory. below i pasted part of the file. if you
could tell my exactly what to type at the command
line i would appriceate it. fyi: i know i need to
be in root...which i will be, and i believe that
at the shell i start at /root (/ ????). here it
is.......

INSTALLING THE DRIVER:

Step 1: Decompress the archive file and/or copy
the modem driver source code to the ( / ) root
directory on your system. Make sure that the files
listed above are in the correct folders. The
'Makefile' and 'ptmodule.c' files should be in the
/src/module directory on your harddrive. The files
'dsp.a', 'control.a', 'hal.a', 'pctel.o' and
'ptseral.a' should all be in the /lib/ directory
on your harddrive.

Step 2: At the Linux command prompt or in a Linux
terminal window, change to the /src/module
directory using the 'cd /src/module' command and
use the 'make' command to rebuild the driver file
and create the /lib/pctel.o file. If you receive
an error message during this step then you are
most likely missing some necessary software
packages. Make sure that all of the kernel source
code is installed and that gcc and all of its
dependents are installed.  If no errors are
reported it's safe to continue to step 3.

Step 3: Change to the /lib/ directory with the
command 'cd /lib/' and use the command 'insmod
pctel.o' to install the modem driver. This driver
uses the major number 62 and the minor number 79
which maps to serial port 16 (/dev/ttyS15).

Step 4: Create a character device node for the
modem driver by using the 'mknod /dev/ttyS15 c 62
79' command. Remember, when typing Linux commands
pay close attention to your capitalization. Linux
is a case sensitive operating system and
incorrectly capitalizing a command will return an
error message.

Step 5: Use the command 'chgrp uucp /dev/ttyS15'
to change the group ownership for the modem.

Step 6: Use the command 'chmod 666 /dev/ttyS15' to
grant users read/write access to the modem.
Without this on the superuser (root) will be able
to use the modem.

Step 7: Use the command 'ln -s /dev/ttyS15
/dev/modem' to create a symbolic link to the modem
named modem. If you choose not to create a
symbolic link named modem, them some
communications programs will be unable to access
the modem.

Step 8: Use the command 'cp /lib/pctel.o
/lib/modules/2.2.14-15mdk/net' to copy the pctel.o
file to the /lib/modules/2.2.14-15mdk/net
subdirectory. On your system the 2.2.14-15mdk may
be slightly different dependig on which Linux
kernel you are using. If you are using a kernel
other than 2.2.14-15mdk, replace the
'2.2.14-15mdk' with the kernel version you are using.

Step 9: Use a program such as kppp to test the
modem. If everything is working you will need to
edit the /etc/rc.sysinit file and add the
following command to the end of the file to load
the modem driver every time the system starts.

              #Load the modem driver pctel.o
              modprobe pctel.o -a

thank you all soo much

farrell farahbod




------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to