个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
关于Intel536EP驱动的Modem支持
第8行: 第8行:
  
 
== 关于Intel536EP驱动的Modem支持  ==
 
== 关于Intel536EP驱动的Modem支持  ==
This page describes how to install the driver for the Intel 536EP
 
internal modem on Ubuntu for i386 systems. Some of these are sold
 
as Cnet modems and have Ambient chips on board.
 
 
 
本页描述了如何在基于i386的Ubuntu系统上安装Intel 536EP modem 的驱动。其中的一些是被当做Cnet modem卖出,并且在板子上有Ambient 的芯片。
 
本页描述了如何在基于i386的Ubuntu系统上安装Intel 536EP modem 的驱动。其中的一些是被当做Cnet modem卖出,并且在板子上有Ambient 的芯片。
 
Note that according to the tel-Readme.txt, the driver works only for 32 bits systems.
 
The process below
 
is quick easy and works quite well.
 
You can tell if you have this type of modem by running this command in a Linux shell/terminal:
 
  
 
注意根据tel-Readme.txt的描述,这个驱动只工作在32位的系统上。下面的安装过程很简单并且能工作的很好。你可以在Linux的shell/终端里输入下面的命令来确定你是否有这个型号的modem。
 
注意根据tel-Readme.txt的描述,这个驱动只工作在32位的系统上。下面的安装过程很简单并且能工作的很好。你可以在Linux的shell/终端里输入下面的命令来确定你是否有这个型号的modem。
第24行: 第15行:
 
lspci | grep 536EP
 
lspci | grep 536EP
 
</nowiki></pre>
 
</nowiki></pre>
If you receive no output from that command, then you do not have an Intel 536ep modem. If you do have the modem, you should have received output similar to this:
 
 
 
如果这条命令并没有任何输出,那么你没有Intel 536ep modem。如有你有这个modem,你能得到类似下面的输出:
 
如果这条命令并没有任何输出,那么你没有Intel 536ep modem。如有你有这个modem,你能得到类似下面的输出:
 
<pre><nowiki>
 
<pre><nowiki>
 
01:0b.0 Communication controller: Intel Corporation 536EP Data Fax Modem
 
01:0b.0 Communication controller: Intel Corporation 536EP Data Fax Modem
 
</nowiki></pre>
 
</nowiki></pre>
'''Update: '''
 
'''Most people (NEW USERS) can skip compiling process and download the driver already prepackaged (deb file) from the following location: <<BR>>
 
*[http://groups.google.com/group/ubuntu-modems/web/modem-driver-downloads-for-536ep]'''
 
  
 
'''更新: '''
 
'''更新: '''
 
'''大部分人(新用户)可以跳过编译的步骤并从下面的地址下载已打包好的的驱动(deb 文件): <<BR>>
 
'''大部分人(新用户)可以跳过编译的步骤并从下面的地址下载已打包好的的驱动(deb 文件): <<BR>>
 
*[http://groups.google.com/group/ubuntu-modems/web/modem-driver-downloads-for-536ep]'''
 
*[http://groups.google.com/group/ubuntu-modems/web/modem-driver-downloads-for-536ep]'''
 
''As of this writing, compilation and usage has been tested on 5.10 through 9.04. There is a minor complication on 5.10, discussed below. (Only compilation has been tested on 5.04 and nothing at all tested on 4.10.)''
 
  
 
''到写这篇文章的时候,编译和使用这个驱动已经在5.10到9.04上测试过。在5.10上有一个较小的编译,下面会讨论(在5.04只测试了编译,在4.10上没有测试)''
 
''到写这篇文章的时候,编译和使用这个驱动已经在5.10到9.04上测试过。在5.10上有一个较小的编译,下面会讨论(在5.04只测试了编译,在4.10上没有测试)''
  
 
=== 安装需要的Ubuntu补丁 ===
 
=== 安装需要的Ubuntu补丁 ===
Just a note to keep the link to the web page for Intel 536EP and 537EP on the web site of Philippe Vouters (who seems to update the driver for new kernel release):
+
注意保持Intel 536EP 和 537EP在Philippe Vouters上的链接(这里为新的内核更新驱动)http://vouters.dyndns.org:8080/Intel/
 
+
注意保持Intel 536EP 和 537EP在Philippe Vouters上的链接(这里为新的内核更新驱动)
+
 
+
http://vouters.dyndns.org:8080/Intel/
+
 
Ubuntu 5.04 (Hoary Hedgehog)
 
Ubuntu 5.04 (Hoary Hedgehog)
Make sure you have followed the section entitled ''If compiling from source'' in [[UbuntuHelp:DialupModemHowto/FromSource|here]].
+
保证你已经读过标题为 ''If compiling from source'' 的章节 [[UbuntuHelp:DialupModemHowto/FromSource|here]].
  
 
Ubuntu 5.10 (Breezy Badger)
 
Ubuntu 5.10 (Breezy Badger)
Make sure you have followed the sections entitled ''If compiling from source'' and ''Installing GCC 3.4'' in [[UbuntuHelp:DialupModemHowto/FromSource|here]].
+
保证你已经读过标题为 ''If compiling from source'' ''Installing GCC 3.4'' 的章节  [[UbuntuHelp:DialupModemHowto/FromSource|here]].
 
Ubuntu 6.06 (Dapper Drake)
 
Ubuntu 6.06 (Dapper Drake)
It's not clear if you need GCC 3.4; it will probably work with the 'normal' gcc you get when following the ''Compiling the driver'' section below.
+
不是很确定你是否需要 GCC 3.4; 如果你用“正常的”gcc按照下面“编译驱动”的部分来做,它可能会有效。
 
Ubuntu 6.10 (Edgy Eft) and 7.04 (Feisty Fawn)
 
Ubuntu 6.10 (Edgy Eft) and 7.04 (Feisty Fawn)
No extra packages are required.
+
不需要额外的补丁
=== Get the driver itself ===
+
=== 获得驱动 ===
Download the drivers for the modem.
+
下载modem的驱动
For Ubuntu 5.04, 5.10 and 6.06, use this link:
+
如果是Ubuntu 5.04, 5.10 and 6.06, 用这个链接:
 
http://downloadfinder.intel.com/scripts-df-external/Detail_Desc.aspx?agr=Y&ProductID=977&DwnldID=9266&strOSs=39&OSFullName=Linux*&lang=eng
 
http://downloadfinder.intel.com/scripts-df-external/Detail_Desc.aspx?agr=Y&ProductID=977&DwnldID=9266&strOSs=39&OSFullName=Linux*&lang=eng
For 6.10, use this instead:
+
如果是6.10, 用这个链接:
 
http://linmodems.technion.ac.il/packages/Intel/Philippe.Vouters/intel-536EP-2.56.76.0_21_09_2006.tgz
 
http://linmodems.technion.ac.il/packages/Intel/Philippe.Vouters/intel-536EP-2.56.76.0_21_09_2006.tgz
For 7.04, try this:
+
如果是7.04, 用这个链接:
 
http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/intel-536EP-2.56.76.0_23_02_2007.tgz
 
http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/intel-536EP-2.56.76.0_23_02_2007.tgz
or this:
+
或者是:
 
http://www.mrgtech.ca/intel_536ep_feisty.tar.gz
 
http://www.mrgtech.ca/intel_536ep_feisty.tar.gz
As of today, March 11 2009, the latest driver is:
+
到今天为止, 2009/03/11, 最新的驱动:
 
http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/intel-536EP-2.56.76.0_2009_02_08.tar.bz2
 
http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/intel-536EP-2.56.76.0_2009_02_08.tar.bz2
Make sure you know where you've saved this file, which is named `Intel-536EP-4.71.tgz` or `intel-536EP-2.56.76.0_21_09_2006.tgz` or `intel-536EP-2.56.76.0_23_02_2007.tgz`or  
+
确保你知道你把文件保存在何处, 文件名是 `Intel-536EP-4.71.tgz` `intel-536EP-2.56.76.0_21_09_2006.tgz` or `intel-536EP-2.56.76.0_23_02_2007.tgz`or  
`intel-536EP-2.56.76.0_2009_02_08.tar.bz2`; for the purposes of this document it will be assumed that it is in your home directory (which is /home/<username>, where <username> is your username).
+
`intel-536EP-2.56.76.0_2009_02_08.tar.bz2`; 在这篇文档中假定文件在你的home目录(目录为/home/<username>, <username>是你的用户名).
=== Compiling the driver .tgz ===
+
=== 编译驱动 .tgz ===
First we need to uncompress the downloaded file. Start a terminal window and run the following command:
+
首先我们需要解压缩下载的文件。打开一个终端运行下面的命令:
 
<pre><nowiki>
 
<pre><nowiki>
 
tar xzf Intel-536EP-4.71.tgz
 
tar xzf Intel-536EP-4.71.tgz

2009年6月18日 (四) 22:43的版本


关于Intel536EP驱动的Modem支持

本页描述了如何在基于i386的Ubuntu系统上安装Intel 536EP modem 的驱动。其中的一些是被当做Cnet modem卖出,并且在板子上有Ambient 的芯片。

注意根据tel-Readme.txt的描述,这个驱动只工作在32位的系统上。下面的安装过程很简单并且能工作的很好。你可以在Linux的shell/终端里输入下面的命令来确定你是否有这个型号的modem。

lspci | grep 536EP

如果这条命令并没有任何输出,那么你没有Intel 536ep modem。如有你有这个modem,你能得到类似下面的输出:

01:0b.0 Communication controller: Intel Corporation 536EP Data Fax Modem

更新: 大部分人(新用户)可以跳过编译的步骤并从下面的地址下载已打包好的的驱动(deb 文件): <
>

到写这篇文章的时候,编译和使用这个驱动已经在5.10到9.04上测试过。在5.10上有一个较小的编译,下面会讨论(在5.04只测试了编译,在4.10上没有测试)

安装需要的Ubuntu补丁

注意保持Intel 536EP 和 537EP在Philippe Vouters上的链接(这里为新的内核更新驱动)http://vouters.dyndns.org:8080/Intel/ Ubuntu 5.04 (Hoary Hedgehog) 保证你已经读过标题为 If compiling from source 的章节 here.

Ubuntu 5.10 (Breezy Badger) 保证你已经读过标题为 If compiling from sourceInstalling GCC 3.4 的章节 here. Ubuntu 6.06 (Dapper Drake) 不是很确定你是否需要 GCC 3.4; 如果你用“正常的”gcc按照下面“编译驱动”的部分来做,它可能会有效。 Ubuntu 6.10 (Edgy Eft) and 7.04 (Feisty Fawn) 不需要额外的补丁

获得驱动

下载modem的驱动 如果是Ubuntu 5.04, 5.10 and 6.06, 用这个链接: http://downloadfinder.intel.com/scripts-df-external/Detail_Desc.aspx?agr=Y&ProductID=977&DwnldID=9266&strOSs=39&OSFullName=Linux*&lang=eng 如果是6.10, 用这个链接: http://linmodems.technion.ac.il/packages/Intel/Philippe.Vouters/intel-536EP-2.56.76.0_21_09_2006.tgz 如果是7.04, 用这个链接: http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/intel-536EP-2.56.76.0_23_02_2007.tgz 或者是: http://www.mrgtech.ca/intel_536ep_feisty.tar.gz 到今天为止, 2009/03/11, 最新的驱动: http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/intel-536EP-2.56.76.0_2009_02_08.tar.bz2 确保你知道你把文件保存在何处, 文件名是 `Intel-536EP-4.71.tgz` 或 `intel-536EP-2.56.76.0_21_09_2006.tgz` or `intel-536EP-2.56.76.0_23_02_2007.tgz`or `intel-536EP-2.56.76.0_2009_02_08.tar.bz2`; 在这篇文档中假定文件在你的home目录(目录为/home/<username>, <username>是你的用户名).

编译驱动 .tgz

首先我们需要解压缩下载的文件。打开一个终端运行下面的命令:

tar xzf Intel-536EP-4.71.tgz

or (for 6.10)

tar xzf intel-536EP-2.56.76.0_21_09_2006.tgz

or

tar xzf <filename>

or

tar xjf <filename>
in the case of the more recent versions ending with .bz2

where <filename> is the name of the downloaded file. This assumes you saved the file downloaded from Intel in your home directory; otherwise, type `cd <directory-where-the-file-is>` before typing the `tar` command above. This will create a directory `Intel-536` with the source contained in it. Change to this directory by typing

cd Intel-536

or (for 6.10 and 7.04)

cd intel-536EP-2.56.76.0

Still in the terminal window, type the following:

make clean

This should produce output looking like this:

Try `uname --help' for more information.
cd coredrv; make clean
make[1]: Entering directory `/home/rory/Intel-536/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/rory/Intel-536/coredrv'
rm -f *.o *.ko

Now type

make 536

This will result in many lines of output being printed to the terminal window; you can ignore most of them. The final lines should look like this:

CC      /home/rory/Intel-536/coredrv/Intel536.mod.o
LD [M]  /home/rory/Intel-536/coredrv/Intel536.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
make[1]: Leaving directory `/home/rory/Intel-536/coredrv'

There should be an `Intel536.ko` file in the directory now; test this by typing `ls -l Intel536.ko`; the output should look like

-rw-r--r--  1 rory rory 1070520 2005-10-16 21:02 Intel536.ko

The file size should be similar, though probably not identical.

Installing the driver

There are two steps to installing the driver. The first is to copy the Intel536.ko file created above to an appropriate directory, and the second is to cause the driver to be loaded at boot time. Installing the Intel536.ko file Copy the file to the modules directory by this command:

sudo cp Intel536.ko /lib/modules/$(uname -r)/kernel/drivers/char

You may be prompted for a password; if so, enter your user password. Make your system aware of this module with `depmod`:

sudo depmod -a

Finally, load the driver with the `modprobe` command:

sudo modprobe Intel536

This command should not print a response; if it prints something like this:

FATAL: Module Intel536 not found.

you have made an error; most likely you have copied the file to the wrong place. If you see a different error message, there may be an error in the module, or your modem, or you may not have a Intel 536-based modem. Loading the driver at boot time To load the module at boot time, we need to add a line "Intel536" to the file /etc/modules. First make a backup of the file:

sudo cp /etc/modules /etc/modules.backup

Now run this to add the required line:

sudo sh -c "echo Intel536 >> /etc/modules"

Setting up the modem

The name of your modem device is `/dev/536ep0`. Kubuntu Users: To use KPPP you will need to create a symlink to /dev/536ep0 from /dev/modem. Udev rewrites everything in /dev on each reboot, thus erasing this symlink. So you have to create a rule for udev to recreate the symlink. You can add the needed rule by running this command:

sudo echo -e '# Intelmodem536ep\nKERNEL=="536ep0", SYMLINK=="modem"' >> /etc/udev/rules.d/10-local.rules
sudo ln -s /dev/536ep0 /dev/modem

After completing all of the above steps, you may need to reboot before you can access your modem.

Connecting

Dialing programs that will NOT work with this modem:

  • The Gnome Network program
  • pppconfig

Dialing programs that WILL work with this modem: (because they allow 'stupid mode')

  • wvdial
  • Gnome-ppp

Currently, the graphical program gnome-ppp is not included in the standard installation, but once you are connected with wvdial, you can easily install it with the Synaptic Package Manager.

  • KPPP

To setup wvdial, first make a backup of the current configuration file:

sudo mv /etc/wvdial.conf /etc/wvdial.conf.bak
sudo touch /etc/wvdial.conf

Next open the file /etc/wvdial.conf as root with an editor. (You can use the command sudo gedit /etc/wvdial.conf ) Copy the text below into that file. Modify the text so that your Dialup Phone#, Username, and Password are correct for your service. When finished, save and exit the file.

[Dialer Defaults]
Modem = /dev/536ep0
Baud = 115200
Init = ATZ
New PPPD = yes
Stupid Mode = 1
Auto Reconnect = off
#Carrier Check = no
Dial Attempts = 1

# MODIFY THE FOLLOWING 3 SECTIONS FOR YOUR CONNECTION
Phone = 1234567
Username = ExampleName
Password = ExamplePassword

You should be able to start your connection by typing into a shell/terminal:

wvdial

Go|back to the main wiki