特殊:Badtitle/NS100:EthernetOverFirewire:修订间差异
小 New page: {{From|https://help.ubuntu.com/community/EthernetOverFirewire}} {{Languages|php5}} === How to use Ethernet over Firewire? === <code><nowiki> Note: this is a work in progress </nowiki></co... |
小无编辑摘要 |
||
(未显示2个用户的9个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/EthernetOverFirewire}} | {{From|https://help.ubuntu.com/community/EthernetOverFirewire}} | ||
{{Languages| | {{Languages|UbuntuHelp:EthernetOverFirewire}} | ||
=== How to use Ethernet over | <<Include(Tag/NeedsExpansion)>> | ||
=== How to use Ethernet over FireWire (IPv4 over FireWire) === | |||
The Ubuntu kernel package already contains the necessary driver modules for IPv4 networking over ![[UbuntuHelp:FireWire|FireWire]]. You need the ''ohci1394'' driver for the ![[UbuntuHelp:FireWire|FireWire]] controller, and the ''eth1394'' driver to run the IPv4 protocol over ![[UbuntuHelp:FireWire|FireWire]]. Although the driver is called ''eth1394'', it does not actually implement Ethernet over ![[UbuntuHelp:FireWire|FireWire]] but just IPv4 over ![[UbuntuHelp:FireWire|FireWire]]. However, the networking interface is managed the same way as IPv4 networking over Ethernet. | |||
If you compile your own kernel instead of using Ubuntu's default kernel, include the following (statically linked into the kernel, or built as loadable modules): | |||
* ieee1394 | |||
* ohci1394 | |||
* eth1394 | |||
Restart your computer, or run <code><nowiki>sudo modprobe ohci1394</nowiki></code>. | |||
Regardless whether default or custom kernel, run | |||
<pre><nowiki> | |||
sudo modprobe eth1394 | |||
--- | </nowiki></pre> | ||
to activate the protocol driver. Your ![[UbuntuHelp:FireWire|FireWire]] networking connection should be listed under System-> Administration-> Networking, or you can use <code><nowiki>ifconfig -a</nowiki></code> to list your network devices. | |||
You might need <code><nowiki>ifconfig eth1 up</nowiki></code> (or <code><nowiki>eth2</nowiki></code>, or another number), before you see the interface with ifconfig. | |||
Using a firewire cable and the above commands, you can have a network between two PCs having both a ![[UbuntuHelp:FireWire|FireWire]] port. | |||
=== Automatic loading of eth1394 === | |||
In the file <code><nowiki>/etc/modprobe.d/blacklist</nowiki></code> there are the lines<pre><nowiki> | |||
# causes no end of confusion by creating unexpected network interfaces | |||
blacklist eth1394 | |||
</nowiki></pre> | |||
If you want that the eth1394 kernel module is automatically loaded when another IP-over-1394 capable computer (Windows XP or Mac OS X, or a Linux computer on which eth1394 is already loaded) is plugged in into the Linux computer's ![[UbuntuHelp:FireWire|FireWire]] port, simply add a '#' to comment out the second line. | |||
''Fixme: How to configure eth1394 to be loaded already at each boot?'' | |||
=== External Links === | |||
* [http://en.wikipedia.org/wiki/IEEE1394#Networking_over_FireWire Networking over FireWire] - Wikipedia page on IEEE 1394 | |||
* [http://ieee1394.wiki.kernel.org/ Linux FireWire wiki] | |||
* [http://en.wikipedia.org/wiki/Ethernet over USB Ethernet over USB] - Wikipedia page on connecting Ethernet devices via USB, and USB as an Ethernet network. | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年11月17日 (二) 19:04的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/EthernetOverFirewire }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/af | • {{#if: UbuntuHelp:EthernetOverFirewire|Afrikaans| [[::EthernetOverFirewire/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/ar | • {{#if: UbuntuHelp:EthernetOverFirewire|العربية| [[::EthernetOverFirewire/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/az | • {{#if: UbuntuHelp:EthernetOverFirewire|azərbaycanca| [[::EthernetOverFirewire/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/bcc | • {{#if: UbuntuHelp:EthernetOverFirewire|جهلسری بلوچی| [[::EthernetOverFirewire/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/bg | • {{#if: UbuntuHelp:EthernetOverFirewire|български| [[::EthernetOverFirewire/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/br | • {{#if: UbuntuHelp:EthernetOverFirewire|brezhoneg| [[::EthernetOverFirewire/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/ca | • {{#if: UbuntuHelp:EthernetOverFirewire|català| [[::EthernetOverFirewire/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/cs | • {{#if: UbuntuHelp:EthernetOverFirewire|čeština| [[::EthernetOverFirewire/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/de | • {{#if: UbuntuHelp:EthernetOverFirewire|Deutsch| [[::EthernetOverFirewire/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/el | • {{#if: UbuntuHelp:EthernetOverFirewire|Ελληνικά| [[::EthernetOverFirewire/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/es | • {{#if: UbuntuHelp:EthernetOverFirewire|español| [[::EthernetOverFirewire/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/fa | • {{#if: UbuntuHelp:EthernetOverFirewire|فارسی| [[::EthernetOverFirewire/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/fi | • {{#if: UbuntuHelp:EthernetOverFirewire|suomi| [[::EthernetOverFirewire/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/fr | • {{#if: UbuntuHelp:EthernetOverFirewire|français| [[::EthernetOverFirewire/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/gu | • {{#if: UbuntuHelp:EthernetOverFirewire|ગુજરાતી| [[::EthernetOverFirewire/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/he | • {{#if: UbuntuHelp:EthernetOverFirewire|עברית| [[::EthernetOverFirewire/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/hu | • {{#if: UbuntuHelp:EthernetOverFirewire|magyar| [[::EthernetOverFirewire/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/id | • {{#if: UbuntuHelp:EthernetOverFirewire|Bahasa Indonesia| [[::EthernetOverFirewire/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/it | • {{#if: UbuntuHelp:EthernetOverFirewire|italiano| [[::EthernetOverFirewire/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/ja | • {{#if: UbuntuHelp:EthernetOverFirewire|日本語| [[::EthernetOverFirewire/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/ko | • {{#if: UbuntuHelp:EthernetOverFirewire|한국어| [[::EthernetOverFirewire/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/ksh | • {{#if: UbuntuHelp:EthernetOverFirewire|Ripoarisch| [[::EthernetOverFirewire/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/mr | • {{#if: UbuntuHelp:EthernetOverFirewire|मराठी| [[::EthernetOverFirewire/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/ms | • {{#if: UbuntuHelp:EthernetOverFirewire|Bahasa Melayu| [[::EthernetOverFirewire/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/nl | • {{#if: UbuntuHelp:EthernetOverFirewire|Nederlands| [[::EthernetOverFirewire/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/no | • {{#if: UbuntuHelp:EthernetOverFirewire|norsk| [[::EthernetOverFirewire/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/oc | • {{#if: UbuntuHelp:EthernetOverFirewire|occitan| [[::EthernetOverFirewire/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/pl | • {{#if: UbuntuHelp:EthernetOverFirewire|polski| [[::EthernetOverFirewire/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/pt | • {{#if: UbuntuHelp:EthernetOverFirewire|português| [[::EthernetOverFirewire/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/ro | • {{#if: UbuntuHelp:EthernetOverFirewire|română| [[::EthernetOverFirewire/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/ru | • {{#if: UbuntuHelp:EthernetOverFirewire|русский| [[::EthernetOverFirewire/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/si | • {{#if: UbuntuHelp:EthernetOverFirewire|සිංහල| [[::EthernetOverFirewire/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/sq | • {{#if: UbuntuHelp:EthernetOverFirewire|shqip| [[::EthernetOverFirewire/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/sr | • {{#if: UbuntuHelp:EthernetOverFirewire|српски / srpski| [[::EthernetOverFirewire/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/sv | • {{#if: UbuntuHelp:EthernetOverFirewire|svenska| [[::EthernetOverFirewire/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/th | • {{#if: UbuntuHelp:EthernetOverFirewire|ไทย| [[::EthernetOverFirewire/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/tr | • {{#if: UbuntuHelp:EthernetOverFirewire|Türkçe| [[::EthernetOverFirewire/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/vi | • {{#if: UbuntuHelp:EthernetOverFirewire|Tiếng Việt| [[::EthernetOverFirewire/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/yue | • {{#if: UbuntuHelp:EthernetOverFirewire|粵語| [[::EthernetOverFirewire/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/zh | • {{#if: UbuntuHelp:EthernetOverFirewire|中文| [[::EthernetOverFirewire/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/zh-hans | • {{#if: UbuntuHelp:EthernetOverFirewire|中文(简体)| [[::EthernetOverFirewire/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EthernetOverFirewire | UbuntuHelp:EthernetOverFirewire | {{#if: | :}}EthernetOverFirewire}}/zh-hant | • {{#if: UbuntuHelp:EthernetOverFirewire|中文(繁體)| [[::EthernetOverFirewire/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:EthernetOverFirewire|:EthernetOverFirewire|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :EthernetOverFirewire/zh | | {{#ifexist: EthernetOverFirewire/zh | | {{#ifeq: {{#titleparts:EthernetOverFirewire|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:EthernetOverFirewire|1|-1|}} | zh | | }}
<<Include(Tag/NeedsExpansion)>>
How to use Ethernet over FireWire (IPv4 over FireWire)
The Ubuntu kernel package already contains the necessary driver modules for IPv4 networking over !FireWire. You need the ohci1394 driver for the !FireWire controller, and the eth1394 driver to run the IPv4 protocol over !FireWire. Although the driver is called eth1394, it does not actually implement Ethernet over !FireWire but just IPv4 over !FireWire. However, the networking interface is managed the same way as IPv4 networking over Ethernet. If you compile your own kernel instead of using Ubuntu's default kernel, include the following (statically linked into the kernel, or built as loadable modules):
- ieee1394
- ohci1394
- eth1394
Restart your computer, or run sudo modprobe ohci1394
.
Regardless whether default or custom kernel, run
sudo modprobe eth1394
to activate the protocol driver. Your !FireWire networking connection should be listed under System-> Administration-> Networking, or you can use ifconfig -a
to list your network devices.
You might need ifconfig eth1 up
(or eth2
, or another number), before you see the interface with ifconfig.
Using a firewire cable and the above commands, you can have a network between two PCs having both a !FireWire port.
Automatic loading of eth1394
In the file /etc/modprobe.d/blacklist
there are the lines
# causes no end of confusion by creating unexpected network interfaces blacklist eth1394
If you want that the eth1394 kernel module is automatically loaded when another IP-over-1394 capable computer (Windows XP or Mac OS X, or a Linux computer on which eth1394 is already loaded) is plugged in into the Linux computer's !FireWire port, simply add a '#' to comment out the second line. Fixme: How to configure eth1394 to be loaded already at each boot?
External Links
- Networking over FireWire - Wikipedia page on IEEE 1394
- Linux FireWire wiki
- over USB Ethernet over USB - Wikipedia page on connecting Ethernet devices via USB, and USB as an Ethernet network.