az
November 28th, 2004, 04:46 AM
**This is not completely finished yet. I am editing it regularly***
Many software modems work under linux. To check yours, download this
http://linmodems.technion.ac.il/packages/scanModem.gz
gunzip scanModem.gz
chmod +x scanModem
sudo ./scanModem
read the /scan/ModemData.txt file created.
With most winmodems, you will need to compile the driver (make a kernel module) You will need to get the source (or just your kernel's headers) and unpack it.
You will need to install the packages necessary for compiling stuff
sudo apt-get install build essential
sudo apt-get install linux-headers-2.6-386 kernel-kbuild-2.6-3
Since I am using the default 386 kernel, I got the 386 kernel-headers. When asked during the configuration of the source for the driver where the kernel-source is, I will tell it to use:
/usr/src/linux-headers-2.6.8.1-3-386
The difference between Ubuntu and debian is that Ubuntu names the packages linux-headers and not kernel-headers. The Linuxant debian package,for example, tells you to install the kernel-headers-3.6.8-1-386 package (which does not exist in Ubuntu - you must use linux-headers-2.6-386
CONEXANT MODEM
The Conexant drivers are sold by a company. Find them on the net. Try to get them to work. Ask them questions. It is detailed in the forums how to get their driver to work with Ubuntu. I bought a Lucent winmodem on ebay for less than half the price of their driver. That is neither here nor there.
PCTEL MODEM
The pctel chipsets work with the 2.4 linux kernel, but not the newer 2.6 (Ubuntu) kernel. Pctel sold themselves to conexant and probably will not release any new drivers for linux.
When I have the time, I'll install a debian 2.4 kernel on an Ubuntu system to see how things go. Maybe this would be a viable alternative for you...
Motorola also is lacking in new drivers for linux. Perhaps in the future they will release a 2.6 kernel driver.
Please send them an email asking for current linux drivers. Ask for generic drivers which can be used in every linux distribution:
softmodem@motorola.com (Send them a message, seriously. They will never release drivers unless asked...)
Lucent has wonderful drivers available.
Here are some prebuilt modules for the default Warty kernel.
(2.6 kernel drivers seem broken at the moment... Send me a private message if they *do* work for you. I am emailing the maintainers)
http://www.vif.com/users/mzajac/ltmodem-2.6.8.1-3-386_8.31a8_i386.deb
dpkg -i ltmodem*.deb
souce:
http://www.sfu.ca/~cth/ltmodem/ltmodem-8.31a10.tar.gz
http://www.heby.de/ltmodem
tar xvzf ltmodem*
cd ltmodem*
./build_deb
Then, install the debian package,.
Smartlink
Put these two packages on a floppy:
http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sl-modem/sl-modem-daemon_2.9.9-1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sl-modem/sl-modem-source_2.9.9-1_i386.deb
Try the two sl-modem packages (daemon and source) first. By default, it will try to use the GPL alsa driver (already in the Ubuntu kernel) for the intel chipset since the smartlink modules are not compiled yet.)
sudo dpkg -i sl-modem*.deb
It will complain about missing dependancies. (build-essential and so forth)
You then do:
sudo apt-get -f install
and eveything else needed is found on your cd. (build-essential...)
Try to connect to the net.
You may need to edit /etc/default/sl-modem-daemon to specify the device if 'auto' fails.
SLMODEMD_DEVICE=hw:0 #(or hw:1depends on your soundcard, I guess)
If it still don't work, download and install the modules (or make them youself...)
http://www.vif.com/users/mzajac/sl-modem-modules-2.6.8.1-3-386_2.9.9-1_i386.deb
Then reconfigure sl-modem-daemon to use the slarm modules instead of the snd_intel8x0m module...
sudo dpkg-reconfigure sl-modem-daemon
To make the modules yourself, unpack the sl-modem.tar.bz2 in /usr/src
tar xvjf sl-modem*
cd /usr/src/modules/sl-modem/debian
edit control.modules.in
Depends: linux-image-_KVERS_
This is because Ubuntu uses different package names for the kernel-headers.
Then do:
cd ..
debian/rules kdist KVERS=$(uname -r) KSRC=/usr/src/linux-headers-$(uname -r)
then install the modules by installing the package you just made:
dpkg -i sl-modem-modules*
***To be completed....
Intel
If the sl-modem driver did not work for your intel chipset, there are Intel drivers available.
Many software modems work under linux. To check yours, download this
http://linmodems.technion.ac.il/packages/scanModem.gz
gunzip scanModem.gz
chmod +x scanModem
sudo ./scanModem
read the /scan/ModemData.txt file created.
With most winmodems, you will need to compile the driver (make a kernel module) You will need to get the source (or just your kernel's headers) and unpack it.
You will need to install the packages necessary for compiling stuff
sudo apt-get install build essential
sudo apt-get install linux-headers-2.6-386 kernel-kbuild-2.6-3
Since I am using the default 386 kernel, I got the 386 kernel-headers. When asked during the configuration of the source for the driver where the kernel-source is, I will tell it to use:
/usr/src/linux-headers-2.6.8.1-3-386
The difference between Ubuntu and debian is that Ubuntu names the packages linux-headers and not kernel-headers. The Linuxant debian package,for example, tells you to install the kernel-headers-3.6.8-1-386 package (which does not exist in Ubuntu - you must use linux-headers-2.6-386
CONEXANT MODEM
The Conexant drivers are sold by a company. Find them on the net. Try to get them to work. Ask them questions. It is detailed in the forums how to get their driver to work with Ubuntu. I bought a Lucent winmodem on ebay for less than half the price of their driver. That is neither here nor there.
PCTEL MODEM
The pctel chipsets work with the 2.4 linux kernel, but not the newer 2.6 (Ubuntu) kernel. Pctel sold themselves to conexant and probably will not release any new drivers for linux.
When I have the time, I'll install a debian 2.4 kernel on an Ubuntu system to see how things go. Maybe this would be a viable alternative for you...
Motorola also is lacking in new drivers for linux. Perhaps in the future they will release a 2.6 kernel driver.
Please send them an email asking for current linux drivers. Ask for generic drivers which can be used in every linux distribution:
softmodem@motorola.com (Send them a message, seriously. They will never release drivers unless asked...)
Lucent has wonderful drivers available.
Here are some prebuilt modules for the default Warty kernel.
(2.6 kernel drivers seem broken at the moment... Send me a private message if they *do* work for you. I am emailing the maintainers)
http://www.vif.com/users/mzajac/ltmodem-2.6.8.1-3-386_8.31a8_i386.deb
dpkg -i ltmodem*.deb
souce:
http://www.sfu.ca/~cth/ltmodem/ltmodem-8.31a10.tar.gz
http://www.heby.de/ltmodem
tar xvzf ltmodem*
cd ltmodem*
./build_deb
Then, install the debian package,.
Smartlink
Put these two packages on a floppy:
http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sl-modem/sl-modem-daemon_2.9.9-1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sl-modem/sl-modem-source_2.9.9-1_i386.deb
Try the two sl-modem packages (daemon and source) first. By default, it will try to use the GPL alsa driver (already in the Ubuntu kernel) for the intel chipset since the smartlink modules are not compiled yet.)
sudo dpkg -i sl-modem*.deb
It will complain about missing dependancies. (build-essential and so forth)
You then do:
sudo apt-get -f install
and eveything else needed is found on your cd. (build-essential...)
Try to connect to the net.
You may need to edit /etc/default/sl-modem-daemon to specify the device if 'auto' fails.
SLMODEMD_DEVICE=hw:0 #(or hw:1depends on your soundcard, I guess)
If it still don't work, download and install the modules (or make them youself...)
http://www.vif.com/users/mzajac/sl-modem-modules-2.6.8.1-3-386_2.9.9-1_i386.deb
Then reconfigure sl-modem-daemon to use the slarm modules instead of the snd_intel8x0m module...
sudo dpkg-reconfigure sl-modem-daemon
To make the modules yourself, unpack the sl-modem.tar.bz2 in /usr/src
tar xvjf sl-modem*
cd /usr/src/modules/sl-modem/debian
edit control.modules.in
Depends: linux-image-_KVERS_
This is because Ubuntu uses different package names for the kernel-headers.
Then do:
cd ..
debian/rules kdist KVERS=$(uname -r) KSRC=/usr/src/linux-headers-$(uname -r)
then install the modules by installing the package you just made:
dpkg -i sl-modem-modules*
***To be completed....
Intel
If the sl-modem driver did not work for your intel chipset, there are Intel drivers available.