个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/DialupModemHowto/Lucent}}
 
{{From|https://help.ubuntu.com/community/DialupModemHowto/Lucent}}
 
{{Languages|UbuntuHelp:DialupModemHowto/Lucent}}
 
{{Languages|UbuntuHelp:DialupModemHowto/Lucent}}
 
 
 
 
== 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.
 
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 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.
 
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
 
<pre><nowiki># sudo aptitude install linux-386
 
# sudo reboot</nowiki></pre>
 
# sudo reboot</nowiki></pre>
 
 
== Pre Feisty Fawn 7.04 ==
 
== 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.
 
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 ===
 
 
* In a terminal type
 
* In a terminal type
 
<pre><nowiki>
 
<pre><nowiki>
第32行: 第25行:
 
$ sudo modprobe ltmodem
 
$ sudo modprobe ltmodem
 
</nowiki></pre>
 
</nowiki></pre>
 
 
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 - then follow the Feisty Fawn instructions :)
 
* 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>
第49行: 第38行:
 
</nowiki></pre>
 
</nowiki></pre>
 
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>
 
 
 
* '''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.
 
* '''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 ==
 
== 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
 
get the error: "FATAL: Error inserting ltserial (...): Invalid argument".
 
get the error: "FATAL: Error inserting ltserial (...): Invalid argument".
 
 
In this case, Installing the [http://martian.barrelsoutofbond.org/ Martian driver] may be a solution to get
 
In this case, Installing the [http://martian.barrelsoutofbond.org/ Martian driver] may be a solution to get
 
your Lucent winmodem to work.  First, you'll need to follow the instructions above to install <code><nowiki>build-essential</nowiki></code>
 
your Lucent winmodem to work.  First, you'll need to follow the instructions above to install <code><nowiki>build-essential</nowiki></code>
 
and your kernel headers packages, to prepare to compile the driver.
 
and your kernel headers packages, to prepare to compile the driver.
 
 
Download the most recent version with "full" in the name, from here:
 
Download the most recent version with "full" in the name, from here:
 
http://www.barrelsoutofbond.org/downloads/martian/
 
http://www.barrelsoutofbond.org/downloads/martian/
 
 
Instructions for installing the file software are in the "INSTALL" file.
 
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
 
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.
 
to be able to use the modem after you boot up.
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo martian_helper --daemon
 
sudo martian_helper --daemon
 
</nowiki></pre>
 
</nowiki></pre>
 
 
If your software expects the modem to be located at <code><nowiki>/dev/modem</nowiki></code>, you
 
If your software expects the modem to be located at <code><nowiki>/dev/modem</nowiki></code>, you
 
may also need to run this command:
 
may also need to run this command:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo ln -s /dev/ttySM0 /dev/modem
 
sudo ln -s /dev/ttySM0 /dev/modem
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Hopefully "Martian" will become an offical Ubuntu package to make this whole
 
Hopefully "Martian" will become an offical Ubuntu package to make this whole
 
process easier.
 
process easier.
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 16:44的版本

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.