特殊:Badtitle/NS100:DialupModemHowto/Intel536EP:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第14行: | 第14行: | ||
5.10. There is a minor complication on 5.10, discussed below. | 5.10. There is a minor complication on 5.10, discussed below. | ||
As of this writing, compilation and usage has been tested on 5.10, | |||
**06 and 6.10; only compilation has been tested on 5.04 and nothing | |||
at all tested on 4.10. If anyone else succeeds (or fails), please | |||
update this page. | |||
There are 4 steps in this howto: | There are 4 steps in this howto: | ||
* Install required Ubuntu packages | |||
* Download required files | |||
* Compile the driver | |||
* Install the driver | |||
=== Install required Ubuntu packages === | === Install required Ubuntu packages === | ||
''Ubuntu 5.04 (Hoary Hedgehog)'' | |||
Make sure you have followed the section of this document entitled ''If | Make sure you have followed the section of this document entitled ''If | ||
compiling from source''. | compiling from source''. | ||
''Ubuntu 5.10 (Breezy Badger)'' | |||
Make sure you have additionally followed the section entitled | Make sure you have additionally followed the section entitled | ||
''Installing GCC 3.4''. | ''Installing GCC 3.4''. | ||
''Ubuntu 6.06 (Dapper Drake)'' | |||
''Ubuntu 6.10 (Edgy Eft)'' | |||
It's not clear if you need GCC 3.4 for these; it will probably work | It's not clear if you need GCC 3.4 for these; it will probably work | ||
第48行: | 第48行: | ||
=== Get the driver itself === | === Get the driver itself === | ||
Download the drivers for the modem. | |||
For Ubuntu 5.04, 5.10 and 6.06, use this link: | |||
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: | |||
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: | |||
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 | ||
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`; 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). | |||
=== Compiling the driver === | === Compiling the driver === | ||
First we need to uncompress the downloaded file. Start a terminal | |||
window and run the following command: | |||
<pre><nowiki> | |||
tar xzf Intel-536EP-4.71.tgz | |||
</nowiki></pre> | |||
or (for 6.10) | |||
<pre><nowiki> | |||
tar xzf intel-536EP-2.56.76.0_21_09_2006.tgz | |||
</nowiki></pre> | |||
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 | |||
<pre><nowiki> | |||
cd Intel-536 | |||
</nowiki></pre> | |||
or (for 6.10) | |||
<pre><nowiki> | |||
cd intel-536EP-2.56.76.0 | |||
</nowiki></pre> | |||
Still in the terminal window, type the following: | |||
<pre><nowiki> | |||
make clean | |||
</nowiki></pre> | |||
This should produce output looking like this: | |||
<pre><nowiki> | |||
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 | |||
</nowiki></pre> | |||
Now type | |||
<pre><nowiki> | |||
make 536 | |||
</nowiki></pre> | |||
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: | |||
<pre><nowiki> | |||
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' | |||
</nowiki></pre> | |||
There should be an `Intel536.ko` file in the directory now; test this | |||
by typing `ls -l Intel536.ko`; the output should look like | |||
<pre><nowiki> | |||
-rw-r--r-- 1 rory rory 1070520 2005-10-16 21:02 Intel536.ko | |||
</nowiki></pre> | |||
The file size should be similar, though probably not identical. | The file size should be similar, though probably not identical. | ||
第149行: | 第149行: | ||
=== Installing the driver === | === 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: | |||
<pre><nowiki> | |||
sudo cp Intel536.ko /lib/modules/$(uname -r)/kernel/drivers/char | |||
</nowiki></pre> | |||
You may be prompted for a password; if so, enter your user password. | |||
Make your system aware of this module with `depmod`: | |||
<pre><nowiki> | |||
sudo depmod -a | |||
</nowiki></pre> | |||
Finally, load the driver with the `modprobe` command: | |||
<pre><nowiki> | |||
sudo modprobe Intel536 | |||
</nowiki></pre> | |||
This command should not print a response; if it prints something like this: | |||
<pre><nowiki> | |||
FATAL: Module Intel536 not found. | |||
</nowiki></pre> | |||
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 "<code><nowiki>Intel536</nowiki></code>" to | |||
the file /etc/modules. First make a backup of the file: | |||
<pre><nowiki> | |||
sudo cp /etc/modules /etc/modules.backup | |||
</nowiki></pre> | |||
Now add the required line as follows: | |||
<pre><nowiki> | |||
sudo sh -c "echo Intel536 >> /etc/modules" | |||
</nowiki></pre> | |||
=== Using the modem === | === Using the modem === | ||
The name of your modem device is `/dev/536ep0`. You can now use | |||
sudo pppconfig to set up pon & poff. To use Kppp you will need to | sudo pppconfig to set up pon & poff. To use Kppp you will need to | ||
create a symlink be able to link the /dev/536ep0 to /dev/modem. | create a symlink be able to link the /dev/536ep0 to /dev/modem. | ||
Udev rewrites the /dev on each reboot and you thus have to create a file /etc/udev/rules.d/10-local.rules and put the following lines in it: | Udev rewrites the /dev on each reboot and you thus have to create a file /etc/udev/rules.d/10-local.rules and put the following lines in it: | ||
<pre><nowiki> | |||
# Intelmodem536ep | |||
KERNEL="536ep0" SYMLINK="modem" | |||
</nowiki></pre> | |||
Now reboot and you can use Kppp to query the modem as this is a quick check | Now reboot and you can use Kppp to query the modem as this is a quick check |
2007年5月24日 (四) 09:28的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/DialupModemHowto/Intel536EP }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/af | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|Afrikaans| [[::DialupModemHowto/Intel536EP/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/ar | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|العربية| [[::DialupModemHowto/Intel536EP/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/az | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|azərbaycanca| [[::DialupModemHowto/Intel536EP/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/bcc | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|جهلسری بلوچی| [[::DialupModemHowto/Intel536EP/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/bg | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|български| [[::DialupModemHowto/Intel536EP/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/br | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|brezhoneg| [[::DialupModemHowto/Intel536EP/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/ca | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|català| [[::DialupModemHowto/Intel536EP/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/cs | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|čeština| [[::DialupModemHowto/Intel536EP/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/de | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|Deutsch| [[::DialupModemHowto/Intel536EP/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/el | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|Ελληνικά| [[::DialupModemHowto/Intel536EP/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/es | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|español| [[::DialupModemHowto/Intel536EP/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/fa | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|فارسی| [[::DialupModemHowto/Intel536EP/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/fi | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|suomi| [[::DialupModemHowto/Intel536EP/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/fr | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|français| [[::DialupModemHowto/Intel536EP/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/gu | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|ગુજરાતી| [[::DialupModemHowto/Intel536EP/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/he | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|עברית| [[::DialupModemHowto/Intel536EP/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/hu | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|magyar| [[::DialupModemHowto/Intel536EP/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/id | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|Bahasa Indonesia| [[::DialupModemHowto/Intel536EP/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/it | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|italiano| [[::DialupModemHowto/Intel536EP/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/ja | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|日本語| [[::DialupModemHowto/Intel536EP/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/ko | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|한국어| [[::DialupModemHowto/Intel536EP/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/ksh | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|Ripoarisch| [[::DialupModemHowto/Intel536EP/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/mr | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|मराठी| [[::DialupModemHowto/Intel536EP/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/ms | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|Bahasa Melayu| [[::DialupModemHowto/Intel536EP/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/nl | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|Nederlands| [[::DialupModemHowto/Intel536EP/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/no | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|norsk| [[::DialupModemHowto/Intel536EP/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/oc | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|occitan| [[::DialupModemHowto/Intel536EP/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/pl | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|polski| [[::DialupModemHowto/Intel536EP/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/pt | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|português| [[::DialupModemHowto/Intel536EP/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/ro | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|română| [[::DialupModemHowto/Intel536EP/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/ru | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|русский| [[::DialupModemHowto/Intel536EP/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/si | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|සිංහල| [[::DialupModemHowto/Intel536EP/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/sq | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|shqip| [[::DialupModemHowto/Intel536EP/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/sr | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|српски / srpski| [[::DialupModemHowto/Intel536EP/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/sv | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|svenska| [[::DialupModemHowto/Intel536EP/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/th | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|ไทย| [[::DialupModemHowto/Intel536EP/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/tr | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|Türkçe| [[::DialupModemHowto/Intel536EP/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/vi | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|Tiếng Việt| [[::DialupModemHowto/Intel536EP/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/yue | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|粵語| [[::DialupModemHowto/Intel536EP/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/zh | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|中文| [[::DialupModemHowto/Intel536EP/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/zh-hans | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|中文(简体)| [[::DialupModemHowto/Intel536EP/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Intel536EP | UbuntuHelp:DialupModemHowto/Intel536EP | {{#if: | :}}DialupModemHowto/Intel536EP}}/zh-hant | • {{#if: UbuntuHelp:DialupModemHowto/Intel536EP|中文(繁體)| [[::DialupModemHowto/Intel536EP/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:DialupModemHowto/Intel536EP|:DialupModemHowto/Intel536EP|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :DialupModemHowto/Intel536EP/zh | | {{#ifexist: DialupModemHowto/Intel536EP/zh | | {{#ifeq: {{#titleparts:DialupModemHowto/Intel536EP|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:DialupModemHowto/Intel536EP|1|-1|}} | zh | | }}
Modems supported by the Intel536EP driver
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. The process below is quick easy and works quite well.
The procedure is fairly similar for Ubuntu releases 4.10, 5.04 and 5.10. There is a minor complication on 5.10, discussed below.
As of this writing, compilation and usage has been tested on 5.10,
- 06 and 6.10; only compilation has been tested on 5.04 and nothing
at all tested on 4.10. If anyone else succeeds (or fails), please update this page.
There are 4 steps in this howto:
- Install required Ubuntu packages
- Download required files
- Compile the driver
- Install the driver
Install required Ubuntu packages
Ubuntu 5.04 (Hoary Hedgehog)
Make sure you have followed the section of this document entitled If compiling from source.
Ubuntu 5.10 (Breezy Badger)
Make sure you have additionally followed the section entitled Installing GCC 3.4.
Ubuntu 6.06 (Dapper Drake)
Ubuntu 6.10 (Edgy Eft)
It's not clear if you need GCC 3.4 for these; it will probably work with the 'normal' gcc you get when following the If compiling from source section.
Get the driver itself
Download the drivers for the modem.
For Ubuntu 5.04, 5.10 and 6.06, use this link:
For 6.10, use this instead:
http://linmodems.technion.ac.il/packages/Intel/Philippe.Vouters/intel-536EP-2.56.76.0_21_09_2006.tgz
For 7.04, try this:
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
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`; 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).
Compiling the driver
First we need to uncompress the downloaded file. Start a terminal window and run the following command:
tar xzf Intel-536EP-4.71.tgz
or (for 6.10)
tar xzf intel-536EP-2.56.76.0_21_09_2006.tgz
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)
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 add the required line as follows:
sudo sh -c "echo Intel536 >> /etc/modules"
Using the modem
The name of your modem device is `/dev/536ep0`. You can now use sudo pppconfig to set up pon & poff. To use Kppp you will need to create a symlink be able to link the /dev/536ep0 to /dev/modem. Udev rewrites the /dev on each reboot and you thus have to create a file /etc/udev/rules.d/10-local.rules and put the following lines in it:
# Intelmodem536ep KERNEL="536ep0" SYMLINK="modem"
Now reboot and you can use Kppp to query the modem as this is a quick check if all is well before dialling out. Configure KPP for your ISP connection. These Intel modems are found to be more stable and less finicky that the Smartlink types on Breezy.