5.2. Installing the pctel-0.9.6 driver
Make sure that you have kernel 2.4.0 or greater by the command
bash$ uname -r
Unpack the downloaded files with the commands
bash$ tar -xzvf pctel-0.9.6.tar.gz
Now you will have a pctel-0.9.6 directory
cd into that with the command
bash$ cd pctel-0.9.6/
Now comes the complicated part.
To proceed further you will have to know what chip set your modem has.See section 9.4 for more information on this.
Once you have got the name of the chip set, just type one of the following commands (depending on the chip set)
If you have a PCT 789 chip set,
bash$ ./configure --with-hal=pct789
If you have a CM8738 chip set,
bash$ ./configure -with-hal=cm8738
If you have a chip set integrated with an i8** chip set based box,
bash$ ./configure --with-hal=i8xx
If you have a chip set integrated with an VIA 686a chip set based motherboard ,
bash$ ./configure --with-hal=via686a
The configure script will run and a number of messages will fly past. Check for any error messages that may fly past. When you have the prompt again, (and if you have not got any errors), compile the drivers with the command
bash$ make
Then if you do not get any error messages , install the drivers with the command
bash$ make install
(You will have to be logged in as root for performing the last step)
Then just load the drivers with the commands
bash$ insmod pctel
bash$ insmod ptserial
NOTE: These commands can be issued from any directory as the insmod program will automatically find the drivers pctel.o and ptserial.o in /lib/modules/`your kernel version`/misc/ )
NOTE: If you get a message that says configure: error: You must have linux kernel >= 2.4.0 installed, then please refer to section 8.1.1 for ways to solve this.
However, if you have an AMR modem, then you will have to use the 0.9.6 drivers.