Page 1 of 7 123 ... LastLast
Results 1 to 10 of 64

Thread: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

  1. #1
    Join Date
    Aug 2005
    Beans
    Hidden!

    HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    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” files for your modem—they are binary code for your modem driver.

    3. INSTALL THE DRIVER

    a. Uninstall the previous driver
    Code:
    sudo rmmod ltserial ltmodem
    sudo rm /lib/modules/`uname -r`/volatile/ltmodem.ko
    sudo rm /lib/modules/`uname -r`/volatile/ltserial.ko
    b. Tell Ubuntu where the modem is located
    Code:
    sudo mknod --mode=0660 /dev/ttyLTM0 c 62 64
    sudo ln -s /dev/ttyLTM0 /dev/modem
    c. Install the driver
    Code:
    sudo mkdir /lib/modules/`uname -r`/other
    sudo cp ~/lucent/ltmodem-2.6-alk-8/*.ko /lib/modules/`uname -r`/other
    sudo depmod -a
    sudo update-modules
    sudo modprobe -v ltserial
    The above modprobe command should output the following:
    Code:
    insmod /lib/modules/2.6.15-23-386/other/ltmodem.ko
    insmod /lib/modules/2.6.15-23-386/other/ltserial.ko
    d. Tell Ubuntu to remember the /dev/ttyLTM0 symbolic link
    Code:
    sudo gedit /etc/udev/rules.d/ltmodem.rules
    Enter in the following lines in the new file and save it
    Code:
    # ltmodem
    KERNEL="ttyLTM0", SYMLINK="modem"
    e. Delete the temporary directory
    Code:
    cd ~
    rm ~/lucent -r
    4. CONNECT TO THE INTERNET WITH WVDIAL

    Now that the modem driver has been installed, we can connect to the Internet. There are many ways of connecting to the Internet. This section explains how to connect with a program called wvdial.

    a. Configure wvdial to dial your modem
    Code:
    sudo wvdialconf /etc/wvdial.conf
    The wvdialconf command should output something like this:
    Code:
    Editing `/etc/wvdial.conf'.
    
    Scanning your serial ports for a modem.
    
    Modem Port Scan<*1>: Scanning ttyLTM0 first, /dev/modem is a link to it.
    ttyLTM0<*1>: ATQ0 V1 E1 -- OK
    ttyLTM0<*1>: ATQ0 V1 E1 Z -- OK
    ttyLTM0<*1>: ATQ0 V1 E1 S0=0 -- OK
    ttyLTM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
    ttyLTM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
    ttyLTM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    ttyLTM0<*1>: Modem Identifier: ATI -- LT V.92 Data+Fax Modem Version 8.30
    ttyLTM0<*1>: Speed 4800: AT -- OK
    ttyLTM0<*1>: Speed 9600: AT -- OK
    ttyLTM0<*1>: Speed 19200: AT -- OK
    ttyLTM0<*1>: Speed 38400: AT -- OK
    ttyLTM0<*1>: Speed 57600: AT -- OK
    ttyLTM0<*1>: Speed 115200: AT -- OK
    ttyLTM0<*1>: Max speed is 115200; that should be safe.
    ttyLTM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
    ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
    ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
    Modem Port Scan<*1>: S1   S2   S3   S4   S5   S6   S7   S8
    Modem Port Scan<*1>: S9   S10  S11  S12  S13  S14  S15  S16
    Modem Port Scan<*1>: S17  S18  S19  S20  S21  S22  S23  S24
    Modem Port Scan<*1>: S25  S26  S27  S28  S29  S30  S31  S32
    Modem Port Scan<*1>: S33  S34  S35  S36  S37  S38  S39  S40
    Modem Port Scan<*1>: S41  S42  S43  S44  S45  S46  S47
    
    Found a modem on /dev/ttyLTM0, using link /dev/modem in config.
    Modem configuration written to /etc/wvdial.conf.
    ttyLTM0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
    b. Configure wvdial to connect to your ISP

    The wvdialconf command created the file /etc/wvdial.conf. We need to edit this file and specify your ISP's phone number and your username and password. If your ISP phone number is 759-3651 and your username/password is sandra/morph then your /etc/wvdial.conf file should look something like this:
    Code:
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    ISDN = 0
    New PPPD = yes
    Phone = 7593651
    Modem = /dev/modem
    Username = sandra
    Password = morph
    Baud = 115200
    To edit the wvdial.conf file enter
    Code:
    sudo gedit /etc/wvdial.conf
    c. Dial out with wvdial

    Dial out by entering:
    Code:
    sudo wvdial
    You should see a bunch of text output and hear your modem dial. After it finishes dialing you should be connected to the Internet. Press CTRL-C to hang up.

    5. CONNECT TO THE INTERNET WITH GNOME NETWORKING

    Now that the modem driver has been installed, we can connect to the Internet. There are many ways of connecting to the Internet. This section explains how to connect with GNOME networking.

    a. Configure GNOME networking to dial your ISP

    - Goto System->Administration->Networking
    - On the Connections tab, select the "Modem connection" item
    - Click on the Properties button
    - On the Interface properties->General tab, click "Enable this connection" and enter your ISP phone number, and the username/password you connect to your ISP with
    - On the Modem tab, enter /dev/modem for the "Modem port"
    - Click OK to go back to the Network settings dialog

    b. Dial out with GNOME networking

    - Goto System->Administration->Networking
    - On the Connections tab, select the "Modem connection" item
    - Click on the Activate button

    You should hear your modem dial. After it finishes dialing you should be connected to the Internet. Press the Deactivate button to hang up.

    NOTE: Sometimes the Activate/Deactivate buttons in the Network settings dialog in GNOME don't properly reflect the state of your connection to the Internet. Sometimes, you may find you have to close the Network settings dialog and open it up again, and/or play around with the Activate/Deactivate buttons.

    6. USE THE NETWORK MONITOR APPLET

    The Network Monitor applet is useful for monitoring your dialup connection. The Network Monitor applet is kind of like the "modem lights" that appear in the system tray in Windows 2000/XP.

    a. Add the Network Monitor applet to a panel
    - Right-click on a panel and select "Add to Panel..."
    - Select the Network Montior applet and click on the Add button

    b. Configure the Network Monitor applet
    - Right-click on the applet and select "Properties"
    - In the Connection section, select ppp0 for the "Name"
    - Click on the Close button

    NOTE: If you don't see ppp0 in the drop-down for the "Name", then close the applet properties dialog, connect to the Internet and try again. As with the Network settings dialog, the Network Monitor applet sometimes doesn't properly reflect the state of your connection to the Internet. Sometimes, you may find you have to reconfigure the applet by selecting something other than ppp0, then selecting ppp0 again to get it to work properly.

    - version 1.0.0

  2. #2
    Join Date
    Jul 2005
    Location
    Waikerie, South Australia
    Beans
    217
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    I followed your guide and all went well until I tried to use wvdial. As soon as I use wvdial or Gnome PPP the system freezes and I have to restart to get anything working. Now the system will not even reboot, it freezes at "configuring network interfaces" and won't go any further. I am just going to try using the live cd to delete the wvdial configuration file and see if it will boot up after that. It did dial using Gnome networking but I didn't check the connection. Any ideas?

  3. #3
    Join Date
    Aug 2005
    Beans
    Hidden!

    Re: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    Quote Originally Posted by sawjew View Post
    I followed your guide and all went well until I tried to use wvdial. As soon as I use wvdial or Gnome PPP the system freezes and I have to restart to get anything working. Now the system will not even reboot, it freezes at "configuring network interfaces" and won't go any further. I am just going to try using the live cd to delete the wvdial configuration file and see if it will boot up after that. It did dial using Gnome networking but I didn't check the connection. Any ideas?
    Sorry for this very late reply!

    What is the output of wvdial before your system freezes? Also, what is the output of the command
    Code:
    lsmod | grep '^lt'

  4. #4
    Join Date
    Mar 2006
    Beans
    95
    Distro
    Ubuntu 6.06

    Re: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    Nice Howto. I don't know what it does, but it worked great for me. Now I just need the GNOME Networking app to remember my dial prefix.

  5. #5
    Join Date
    Jul 2005
    Location
    Waikerie, South Australia
    Beans
    217
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    Blastus,

    I managed to get it working alright by going back to the 386 kernel. It would not work with the 686 kernel but works fine with the 386 so I'll stick with that. Thanks for the Howto.

  6. #6
    Join Date
    Aug 2005
    Beans
    Hidden!

    Re: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    Quote Originally Posted by sawjew View Post
    Blastus,

    I managed to get it working alright by going back to the 386 kernel. It would not work with the 686 kernel but works fine with the 386 so I'll stick with that. Thanks for the Howto.
    This is a known issue. The lucent modules don't work with the 686 kernel. Bug #41991 ltmodem use hangs 686 kernel

    Great to hear it's working for you on the 386 kernel

  7. #7
    Join Date
    Jul 2006
    Beans
    Hidden!

    Re: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    I've just recently moved and high speed is not available here so i am confined to dialup. I have been trying for ages to get my Agere winmodem to work under dapper (near to the point of just going to buy an external dialup modem) I've followed your guide (Very informative, by the way) and got up to modprobe and got this error

    Code:
    FATAL: Error inserting ltserial
     (/lib/modules/2.6.15-23-386/other/ltserial.ko): No such device
    Can you help me with this?

  8. #8
    Join Date
    Mar 2006
    Beans
    95
    Distro
    Ubuntu 6.06

    Re: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    Quote Originally Posted by Gregy1727 View Post
    I've just recently moved and high speed is not available here so i am confined to dialup. I have been trying for ages to get my Agere winmodem to work under dapper (near to the point of just going to buy an external dialup modem) I've followed your guide (Very informative, by the way) and got up to modprobe and got this error

    Code:
    FATAL: Error inserting ltserial
     (/lib/modules/2.6.15-23-386/other/ltserial.ko): No such device
    Can you help me with this?
    What files are currently in /lib/modules/2.6.15-23-386/other currently?

  9. #9
    Join Date
    Jul 2006
    Beans
    Hidden!

    Re: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    Code:
    me@me-ubuntu:~$ ls /lib/modules/2.6.15-23-386/other/
    ltmodem.ko  ltserial.ko
    That's what's so confusing about it. I don't get what's going on and i'm at the end of my rope

    http://paste.ubuntu-nl.org/17779
    Last edited by Gregy1727; July 11th, 2006 at 08:18 PM.

  10. #10
    Join Date
    Aug 2005
    Beans
    Hidden!

    Re: HOWTO: Install PCI Lucent winmodem (ltmodem/ltserial)

    Quote Originally Posted by Gregy1727 View Post
    Code:
    me@me-ubuntu:~$ ls /lib/modules/2.6.15-23-386/other/
    ltmodem.ko  ltserial.ko
    That's what's so confusing about it. I don't get what's going on and i'm at the end of my rope

    http://paste.ubuntu-nl.org/17779
    I don't think your modem has a DSP (digital signal processor.) As far as I know the driver only works with modems that have a DSP. If your modem has a DSP you should see a line somewhere in the scanModem ModemData.txt file that says something like "The modem has a supported Lucent/Agere DSP (digital signal processing) chipset."

    Also your modem looks like is not being recognized. The scanModem ModemData.txt file should say something like "Communication controller: Agere Systems 56k WinModem (rev 01)" not "Communication controller: Agere Systems: Unknown device 0620"

    Does your modem say HSP (host signal processing) anywhere on it? If it does then it doesn't have a DSP.

    Here is the relevant output from my scanModem ModemData.txt file:
    Code:
    Class 0780: 11c1:0442   Communication controller: Agere Systems 56k WinModem (rev 01)
      SubSystem 141b:9300  Zoom Telephonics Inc: Unknown device 9300
    	Flags: bus master, medium devsel, latency 0, IRQ 185
     Checking for IRQ 185 sharing with modem.
    O-APIC-level  uhci_hcd:usb2, ltserial
    
      
                      -----PCI_IDs-------                    --CompilerVer- 
        Feature List:  Primary  Subsystem Distr  KernelVer   kernel default  CPU
     ./scanModem test 11c1:0442 141b:9300 debian_version 2.6.15-23-386  4.0.3 4.0.3    i686
     == Checking PCI IDs through modem chip suppliers ==
    	  
     The modem has a supported Lucent/Agere DSP (digital signal processing) Mars or Apollo DSP
     (digital signal processing) chipset with primary PCI_ID:  11c1:0442
     DSP=1

Page 1 of 7 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •