Friday, August 3, 2007

Modem Driver Installation for Red Hat 9 Linux

I am writing this because many people have asked me about this and it was not possible to explain in detail about the driver installation to each one individually.

Modem: Smart Link Soft Modem

CPU: Intel Pentium II, Celeron. AMD K6, Cyrix 400MHz or higher.

Memory: 64MB (may work also with 32MB).

OS: Linux 2.4 series.

I am assuming that you have installed Red Hat 9 completely including the source files, available on the Red Hat 9 CDs itself. You can check for the source files by navigating to /usr/src/. If you can see linux-2.4 directory then the source files are installed else you have to install them from the Red Hat 9 CD through the Add/Remove Programs.

Installation:

First login as root.

1. Unpack tar.gz package file:

# gzip -dc slmdm-2.X.X.tar.gz | tar xf -

2. 'cd' to package directory:

# cd slmdm-2.X.X

3. Review and edit (if need) 'Makefile'.

Note: Probably you will want to correct in Makefile path to your

local Linux kernel header files:

KERNEL_INCLUDES=/path/to/linux/include

Note: For me it was KERNEL_INCLUDES:= /usr/src/linux-2.4/include

Another way is to pass command line the parameter while

running 'make':

# make KERNEL_INCLUDES=/path/to/linux/include ...

4. Run 'make' command to compile package:

# make

5. Install.

For us ie. PCI Modem type the following command

# make install-amr

OR

# make install-usb

if you are going to use USB modem.

Now the modem driver installation is over. Next is how to connect to the Internet.

Connecting to the Internet:

Click on the Red Hat logo on the task bar which resembles the start. Next go to “Internet” and find an application called as “Kppp” (It might be in “More Internet Tools”). Kppp is a GUI software for ppp. It will provide you with a wizard for making the connection. Create a new connection, enter the phone number, username and password, and select modem as /dev/modem. Keeping remaining options default is a good idea.

Now you are all set to connect to the Internet. Enjoy !!!

1 comment:

Anonymous said...

Thanks man !!! it worked for me.