Switch to Russian
Following notes are applied to modems based on Lucent chipset only (Lucent was formerly Bell Labs, currently Agere). In my case this is a Genius GM56PCI-LA device. More details about LinModems and it's support under ALTLinux look here: http://wiki.atmsk.ru/?LinHardWare/Modem/WinModem.
Additionally, there are lot of RPM packages at ftp.atmsk.ru/pub/contrib, builded by Vitaly Lipatov for support Lucent WinModems under ALT Linux Master/Junior 2.2. But Vitaly told me that source RPM has been never exists, so we have no possibility to adopt his package to new kernel builds because new kernel build requires appropriate drivers build.
I hope that this page will be unnecessary in the nearest future, when LTModem support will be provided by ALT Linux «out-of-the-box».
So... There are TWO different packages published in the Web with the same name: ltmodem.
First is maintained by www.close.u-net.com and currently has version 0.9.9. It provides following features:
Second is maintained by www.heby.de/ltmodem and contains drivers for Linux kernel 2.4. Current version is 8.26a9. This is exactly what we need (nb: last version for 2.2 kernel is 6.00). I don't tried to create RPM from this stuff because provided utilities for building and installing, in my humble opinion, are...
Instead of ready-to-install RPM package, here are two things for getting up all stuff manually: (a) patch applied to ltmodem sources, and (b) instruction for installing step-by-step. If you want to get RPM, you can use build_rpm script that is included to sources and builds something applicable for installing under RedHat.
There are lot of rpm/deb-packages for various Linux'es on maintainer site, but no one for ALTLinux, and it seems unlikely that kernel modules compiled for kernel build X may be running under kernel build Y without recompilation. So my choice is manual building from sources.
If you don't want to copy multiple lines from browser to xterm, download this script that executes steps 1,2,3,4.
Step 1. Install compiler, libraries, utilities.
This means that (a) you have 2.4 kernel (kernel 2.2 requires kernel22-headers package) and (b) GCC version that will be used for building modules is 3.2. Although the current GCC version that ALT uses for building kernel core is 2.96 which is not completely binary compatible with 3.x, this symbios caused no problem on my box. If you want to avoid any problem, even unreal, install gcc2.96 package.sudo apt-get install gcc3.2 glibc-devel kernel24-headers make patch
Step 2. Download and unpack driver sources.
Optionally, select a nearest FTP-server.mkdir ~/src && cd ~/src wget -c http://www.physcip.uni-stuttgart.de/heby/ltmodem/ltmodem-8.26a9.tar.gz tar xzf ltmodem-8.26a9.tar.gz cd ltmodem-8.26a9
Step 3. Apply my patch:
What does patch?wget http://ilya-evseev.narod.ru/posix/linmodem/ltmodem-8.26a9-alt1.patch patch < ltmodem-8.26a9-alt1.patch
Step 4. Compile, install, configure modules.
sudo ./scanmodem # is modem actually detected? ./build_module # compiling... press Enter many times ;-) sudo ./ltinst2 # install lt_modem.o and lt_serial.o to /lib/modules/`uname -r`/ltmodem sudo rm -f /dev/modem # prevent autoload error sudo ./autoload # create /dev/ttyLT0, edit /etc/modules.conf
Step 5. Final checking.
$ ls -l /lib/modules/`uname -r`/ltmodem -rw-r--r-- 1 root root 543712 Jan 9 13:58 lt_modem.o -rw-r--r-- 1 root root 28049 Jan 9 13:58 lt_serial.o
$ depmod -a; lsmod | grep lt_ lt_serial 20628 0 (autoclean) lt_modem 472475 0 (autoclean) [lt_serial]
$ grep lt_ /etc/modules.conf # lt_drivers: autoloading and insertion parameter usage alias char-major-62 lt_serial alias /dev/tts/LT0 lt_serial alias /dev/modem lt_serial
$ wvdialconf /tmp/wvdial_ltmodem.conf
Last changed at 01 July 2004 MSD 00:32
Have comments? Mail me.