个人工具

“UbuntuHelp:DialupModemHowto/Lucent”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第5行: 第5行:
  
 
== Modems supported by the Lucent driver ==
 
== 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.
+
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.
(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 <code><nowiki>linux-restricted-modules-ARCH</nowiki></code>, where ARCH is the last part of the <code><nowiki>$ uname -r</nowiki></code> output, i.e. your kernel flavor. If it is not installed yet, install it there.)
+
 
 +
== From Feisty Fawn 7.04 onwards ==
 +
From Feisty Fawn (and possibly previously) the generic restricted modules package does not include the ltmodem drivers, you will need to install the linux-386 package and then follow the instructions in the Pre Feisty Fawn section.
 +
<pre><nowiki># sudo aptitude install linux-386
 +
# sudo reboot</nowiki></pre>
 +
 
 +
== Pre Feisty Fawn 7.04 ==
 +
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 <code><nowiki>linux-restricted-modules-ARCH</nowiki></code>, where ARCH is the last part of the <code><nowiki>$ uname -r</nowiki></code> output, i.e. your kernel flavor. If it is not installed yet, install it there.
  
 
=== Setup steps for ltmodem ===
 
=== Setup steps for ltmodem ===
第28行: 第35行:
 
This should have created the device <code><nowiki>/dev/modem</nowiki></code> and you can now go on to configure your dialup connection.
 
This should have created the device <code><nowiki>/dev/modem</nowiki></code> and you can now go on to configure your dialup connection.
  
* No, I get an error about "FATAL: module not found" for this step :(
+
* No, I get an error about "FATAL: module not found" for this step - then follow the Feisty Fawn instructions :)
  
'''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 <code><nowiki>/boot/grub/menu.lst</nowiki></code> as follows (<code><nowiki>pci=routeirq</nowiki></code> is new):
+
 
 +
* '''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 <code><nowiki>/boot/grub/menu.lst</nowiki></code> as follows (<code><nowiki>pci=routeirq</nowiki></code> is new):
 
<pre><nowiki>
 
<pre><nowiki>
 
## ## Start Default Options ##
 
## ## Start Default Options ##
第42行: 第50行:
 
Do not forget to update grub: <code><nowiki>$ sudo update-grub</nowiki></code>
 
Do not forget to update grub: <code><nowiki>$ sudo update-grub</nowiki></code>
  
=== Martian, an alternive to ltmodem ===
+
 
 +
* '''For kppp users:''' if kppp return an error regarding the impossibility to create a lock file, it should be necessary to edit the  file ''/etc/ppp/options'' commenting out the ''noauth'' line.
 +
 
 +
== Martian, an alternive to ltmodem ==
  
 
On 6.06.1, It's possible that as part of trying to load the <code><nowiki>ltserial</nowiki></code> module, you'll
 
On 6.06.1, It's possible that as part of trying to load the <code><nowiki>ltserial</nowiki></code> module, you'll

2007年11月22日 (四) 12:21的版本



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.

From Feisty Fawn 7.04 onwards

From Feisty Fawn (and possibly previously) the generic restricted modules package does not include the ltmodem drivers, you will need to install the linux-386 package and then follow the instructions in the Pre Feisty Fawn section.

# sudo aptitude install linux-386
# sudo reboot

Pre Feisty Fawn 7.04

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 - then follow the Feisty Fawn instructions :)


  • 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):
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda1 ro pci=routeirq

Do not forget to update grub: $ sudo update-grub


  • For kppp users: if kppp return an error regarding the impossibility to create a lock file, it should be necessary to edit the file /etc/ppp/options commenting out the noauth line.

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.