HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)
This guide covers how to install the Lucent winmodem driver under Dapper. I realize that the Lucent modules are included with Dapper, so downloading and compiling the driver is not necessary, but I feel that users should know how to compile them just in case. For example, in Breezy the modules were listed, but not included so users had no other choice but to learn how to compile them. Eventually this guide will include alternative instructions to use the precompiled modules that are included with Dapper.
Any and all comments are welcome! I want to improve this guide to make it as simple as possible for newbies and also make sure everything in it is accurate.
This guide assumes you know:
- how to use a Terminal
- how to use the "sudo" command
- how to use some basic commands such as "cp", "mv", "cd", "ls"...
- how to use gedit
- what a file archive is like zip, gz, bz2 etc...
1. DOWNLOAD THE DRIVER
a. Create a temporary directory called "lucent" (we will delete this directory after we are done)
Code:
mkdir ~/lucent
b. Download the file ltmodem-2.6-alk-8.tar.bz2 into your ~/lucent directory
(NOTE: the ~ character in ~/lucent refers to your "home" directory...for example, if you login to Ubuntu as the user "neo", then ~/lucent would refer to the directory /home/neo/lucent)
c. Extract the contents of the archive file
Code:
cd ~/lucent tar jxf ltmodem-2.6-alk-8.tar.bz2
2. COMPILE THE DRIVER
a. Insert your Ubuntu 6.06 CD into the drive and click on the "Start package manager" button when prompted
b. After Synaptic Package Manager has fully opened, close it
c. Install the stuff you need to compile the driver
Code:
sudo apt-get install build-essential linux-headers-`uname -r` wvdial
(NOTE: The expression `uname -r` in the above is surrounded by angled single quotes, not straight single quotes. On most keyboards, you can type an angled single quote by pressing the key above the TAB key)
d. Compile the driver
Code:
cd ~/lucent/ltmodem-2.6-alk-8 make
If your login name is neo, you may see something like this:
Code:
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/neo/lucent/ltmodem-2.6-alk-8 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.15-23-386' CC [M] /home/neo/lucent/ltmodem-2.6-alk-8/lt_modem.o CC [M] /home/neo/lucent/ltmodem-2.6-alk-8/serial.o LD [M] /home/neo/lucent/ltmodem-2.6-alk-8/ltmodem.o LD [M] /home/neo/lucent/ltmodem-2.6-alk-8/ltserial.o Building modules, stage 2. MODPOST Warning: could not find /home/neo/lucent/ltmodem-2.6-alk-8/.ltmdmobj.o.cmd for /home/neo/lucent/ltmodem-2.6-alk-8/ltmdmobj.o CC /home/neo/lucent/ltmodem-2.6-alk-8/ltmodem.mod.o LD [M] /home/neo/lucent/ltmodem-2.6-alk-8/ltmodem.ko CC /home/neo/lucent/ltmodem-2.6-alk-8/ltserial.mod.o LD [M] /home/neo/lucent/ltmodem-2.6-alk-8/ltserial.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-23-386'
Compiling the driver created a bunch of files. However, there are only two files that we need; ltmodem.ko and ltserial.ko. These two files are the “kernel object