个人工具

UbuntuHelp:DialupModemHowto/Lucent

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月13日 (日) 13:53的版本 (New page: {{From|https://help.ubuntu.com/community/DialupModemHowto/Lucent}} {{Languages|php5}} #pragma keywords smartlink modem winmodem linmodem networking scanmodem sl-modem intel linuxant conexa...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索
  1. pragma keywords smartlink modem winmodem linmodem networking scanmodem sl-modem intel linuxant conexant hsf hcf wvdial ppp


Modems supported by the Lucent driver

This section is for you if the output of scanModem tells you something like: 'The modem has a supported Lucent/Agere DSP (digital signal processing) chipset.'. You will be able to use a driver from the "restricted-modules" package, which should be installed by default.

(To check that the necessary package is installed, use your package manager, e.g. Synaptic or Adept. You need to look for a package, which is called linux-restricted-modules-ARCH, where ARCH is the last part of the $ uname -r output, i.e. your kernel flavor. If it is not installed yet, install it there.)

Setup steps for ltmodem

  • In a terminal type
  $ sudo sh -c "echo ltserial >> /etc/modules"
  $ sudo sh -c "echo ltmodem >> /etc/modules"
to add them to the module autoloading list.
  • Since udev rewrites /dev on each boot, and some dialup programs rely on the existence of /dev/modem, you need to have a symlink created on boot (from /dev/ttyLTM0 to /dev/modem). To do this, create the file /etc/udev/rules.d/10-local.rules, and put these lines in it:
  #ltmodem
  KERNEL="ttyLTM0", SYMLINK="modem"
  • Now load the drivers for the first time:
  $ sudo modprobe ltserial
  $ sudo modprobe ltmodem
This should have created the device /dev/modem and you can now go on to configure your dialup connection.
  • No, I get an error about "FATAL: module not found" for this step :(
Note for "5.04 Hoary" users: Ubuntu 5.04 Hoary was shipped with kernel 2.6.10, which has some problems with these modules. To fix, change the grub boot commands /boot/grub/menu.lst as follows (pci=routeirq is new):
              # kopt=root=/dev/hda1 ro pci=routeirq
Do not forget to update grub: $ sudo update-grub

Martian, an alternive to ltmodem

On 6.06.1, It's possible that as part of trying to load the ltserial module, you'll get the error: "FATAL: Error inserting ltserial (...): Invalid argument".

In this case, Installing the Martian driver may be a solution to get your Lucent winmodem to work. First, you'll need to follow the instructions above to install build-essential and your kernel headers packages, to prepare to compile the driver.

Download the most recent version with "full" in the name, from here: http://www.barrelsoutofbond.org/downloads/martian/

Instructions for installing the file software are in the "INSTALL" file. Until someone makes an "init" script for it, There is an additional step needed to be able to use the modem after you boot up.

   sudo martian_helper --daemon

If your software expects the modem to be located at /dev/modem, you may also need to run this command:

   sudo ln -s /dev/ttySM0 /dev/modem

Hopefully "Martian" will become an offical Ubuntu package to make this whole process easier.