个人工具

“UbuntuHelp:WifiDocs/Driver/bcm43xx”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx}}
 
{{From|https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx}}
 
{{Languages|UbuntuHelp:WifiDocs/Driver/bcm43xx}}
 
{{Languages|UbuntuHelp:WifiDocs/Driver/bcm43xx}}
<<Include(Tag/StyleCleanup)>>
+
#title WifiDocsDriverbcm43xx   
== Broadcom wireless chipset ==
+
<<Anchor(Top)>>
Broadcom manufactures a chipset family called the Broadcom 43xx which is used in a lot of wireless products, including the Apple Airport Extreme, some Linksys products, and many HP, Compaq, Dell and Acer notebooks. A complete listing of other cards which contain this chipset can be found [http://linux-wless.passys.nl/query_chipset.php?chipset=Broadcom here].
+
This page aims at getting your Broadcom BCM43xx based wireless network card working. The proprietary drivers can be activated under the desktop menu '''System / Administration / Hardware Drivers.''' If you experience troubles activating follow the instructions on this page for your particular scenario.  
=== New b43 and b43-legacy Drivers ===
+
== Broadcom BCM43xx Chipset (PCI) ==
The current (Spring 2008, kernel 2.6.24) wireless-2.6 branch of the linux kernel provides two new unified wireless drivers, called [[UbuntuHelp:WifiDocs/Driver/b43|WifiDocs/Driver/b43]] and b43-legacy. These drivers replace the old bcm43xx. The reason there are two is that b43 works with v4 broadcom firmware and b43-legacy works with the v3 firmware.
+
=== Identifying Your Card/Driver ===
New b43 driver still doesn't work without proprietary firmware, which isn't included in Ubuntu and must be downloaded separately, using b43-fwcutter package (from Ubuntu universe) or simply by installing b43-firmware package from http://ubuntu.cafuego.net (from Hardy distribution). New b43 driver doesn't work with old bcm43xx firmware.
+
In a terminal the command `lspci` will display information about all PCI devices attached to your computer.  
=== How To find out if you're using Broadcom 43xx ===
+
The following is typical input/output from `lspci` indicating that Ubuntu has found a Broadcom wireless card/chipset and listed its model as BCM4322.
In a terminal, type `lspci `, which lists the PCI devices in your system. The output might include something like
+
To display only devices manufactured by Broadcom (including wifi cards) suffix the following to `lspci`:
 
<pre><nowiki>
 
<pre><nowiki>
0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
+
~$ lspci -vvnn | grep 14e4
 
</nowiki></pre>
 
</nowiki></pre>
in which case you've got a Broadcom 4306. You can find out a bit more information about the driver by typing `lspci -n`, which in my case includes the line
+
'''Note:''' The example output below indicates the model number to be BCM4322 (rev 01).
 
<pre><nowiki>
 
<pre><nowiki>
0000:02:02.0 0280: 14e4:4320 (rev 03)
+
03:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)
 
</nowiki></pre>
 
</nowiki></pre>
Please pick the appropriate document to proceed. If you use
+
[[UbuntuHelp:[Top|Back to top]]]
* Ubuntu Hardy 8.04 LTS , [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Hardy|WifiDocs/Driver/bcm43xx/Hardy]]
+
== Installing b43/STA hybrid drivers ==
* Ubuntu Gutsy 7.10, [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Gutsy|WifiDocs/Driver/bcm43xx/Gutsy]]
+
===== 9.10 (Karmic Koala), 10.04 (Lucid Lynx) =====
* Ubuntu Feisty 7.04, [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Feisty|WifiDocs/Driver/bcm43xx/Feisty]]
+
Supported models, mostly found on Dell hardware, include:
* Ubuntu Dapper 6.06 LTS , [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Dapper|WifiDocs/Driver/bcm43xx/Dapper]]
+
BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, BCM43225
 +
=== Internet Access ===
 +
'''Step 1.'''
 +
Install the b43/STA hybrid drivers/firmware from the [http://www.ubuntu.com/community/ubuntustory/components restricted repository] using the '''Synaptic Package Manager''' and search for the `bcmwl-kernel-source` package and install or in a terminal use the aptitude or apt-get commands:
 +
<pre><nowiki>
 +
~$ sudo aptitude update
 +
~$ sudo aptitude install bcmwl-kernel-source
 +
</nowiki></pre>
 +
'''Step 2.'''
 +
Under the desktop menu '''System > Administration > Hardware Drivers''', the drivers can be activated for use.
 +
'''Note:''' A computer restart may be required before using the wifi card.
 +
==== LiveCD/LiveUSB ====
 +
For temporary use with the [[UbuntuHelp:LiveCD|LiveCD]] and LiveUSB environments, simply use the Synaptic Package Manager to search for and install the bcmwl-kernel-source  package. Refer to Step 1 and Step 2 of the instructions above.
 +
'''Step 3:''' Instead of a computer restart, in a terminal issue the following commands:
 +
<pre><nowiki>
 +
~$ sudo modprobe -r b43 ssb wl
 +
~$ sudo modprobe wl
 +
</nowiki></pre>
 +
[[UbuntuHelp:[Top|Back to top]]]
 +
=== No Internet Access ===
 +
If you do not have any other means of internet access on your computer, you will have to
 +
install `bcmwl-kernel-source` package from the [http://www.ubuntu.com/community/ubuntustory/components restricted] folder under '''../pool/restricted/b/bcmwl''' on the Ubuntu install media. This may be done in the following manner depending on the installation media used:
 +
==== CDROM/DVD ====
 +
'''Step 1.'''
 +
Install the `bcmwl-kernel-source` package using the '''Synaptic Package Manager'''. First select '''Add CD-ROM''' from the edit menu to enable the install media as a package repository, then click on '''Reload''' to refresh the available packages list, ignore any internet/download errors. Now search for the `bcmwl-kernel-source` package and install.
 +
'''Step 2:'''
 +
Under the desktop menu '''System > Administration > Hardware Drivers''', the drivers can be activated for use.
 +
'''Note:''' A computer restart may be required before using the wifi card.
 +
==== LiveCD/LiveUSB ====
 +
For temporary use with the [[UbuntuHelp:LiveCD|LiveCD]] and LiveUSB environments, simply use the Synaptic Package Manager to search for and install the bcmwl-kernel-source  package. Refer to Step 1 and Step 2 of the CDROM/DVD instructions above.
 +
'''Step 3:''' Instead of a computer restart, in a terminal issue the following commands:
 +
<pre><nowiki>
 +
~$ sudo modprobe -r b43 ssb wl
 +
~$ sudo modprobe wl
 +
</nowiki></pre>
 +
==== USB/Netbooks ====
 +
'''Step 1.'''
 +
Navigate the install media and install the following packages in a terminal:
 +
../pool/main/d/dkms
 +
<pre><nowiki>
 +
:/dkms/$ sudo dpkg -i dkms*
 +
</nowiki></pre>
 +
../pool/main/p/patch
 +
<pre><nowiki>
 +
:/patch/$ sudo dpkg -i patch*
 +
</nowiki></pre>
 +
../pool/main/f/fakeroot
 +
<pre><nowiki>
 +
:/fakeroot/$ sudo dpkg -i fakeroot*
 +
</nowiki></pre>
 +
../pool/restricted/b/bcmwl
 +
<pre><nowiki>
 +
:/bcmwl/$ sudo dpkg -i bcmwl-kernel-source*
 +
</nowiki></pre>
 +
'''Step 2.'''
 +
Under the desktop menu '''System > Administration > Hardware Drivers''', the drivers can be activated for use.
 +
'''Note:''' A computer restart may be required before using the wifi card.
 +
[[UbuntuHelp:[Top|Back to top]]]
 +
== Installing BCM43xx drivers ==
 +
===== 8.04.x (Hardy Heron), 9.04 (Jaunty Jackalope), 9.10 (Karmic Koala), 10.04 (Lucid Lynx) =====
 +
The Ubuntu kernel in versions 8.04.x (Hardy Heron) and higher do provide the b43 drivers, however due to copyright restrictions not the proprietary firmware which is required to run your card. See [http://wireless.kernel.org/en/users/Drivers/b43 here] for a list of known PCI devices and their available modes as well as supported/unsupported chipsets.
 +
The following instructions explain how to extract the required firmware.
 +
=== Internet Access ===
 +
If you have some other kind of internet access on your computer, you can download the firmware by simply installing the `b43-fwcutter` package which does the download and setup for you automatically.
 +
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx?action=AttachFile&do=get&target=b43-fwcutter.png
 +
To install `b43-fwcutter` issue the following command in a terminal and follow the prompts:
 +
<pre><nowiki>
 +
~$ sudo apt-get install b43-fwcutter
 +
</nowiki></pre>
 +
[[UbuntuHelp:[Top|Back to top]]]
 +
=== No Internet Access ===
 +
If you do not have any other means of internet access on your computer, you will have to
 +
install `b43-fwcutter` and setup manually (without the firmware automatically downloading and being set up). `b43-fwcutter` is located on the Ubuntu install cd under '''../pool/main/b/b43-fwcutter/''' or in the official repositories online.
 +
Double click on the package to install or in a terminal navigate to the folder containing the package and issue the following command:
 +
<pre><nowiki>
 +
:/b43-fwcutter/$ sudo dpkg -i b43-fwcutter*
 +
</nowiki></pre>
 +
'''Note:''' Do not select 'fetch and extract firmware'. Once installed in a terminal type the following to view the b43-fwcutter manual page for further instruction: 
 +
<pre><nowiki>
 +
~$ man b43-fwcutter
 +
</nowiki></pre>
 +
[[UbuntuHelp:[Top|Back to top]]]
 +
== Unsupported cards ==
 +
If you are unable to use the b43 kernel driver or the b43/STA hybrid driver, you will need to go for [[UbuntuHelp:WifiDocs/Driver/Ndiswrapper|ndiswrapper]] - this will allow you to use Microsoft Windows drivers for your card.
 +
<!> '''You will need to blacklist the b43 kernel driver(s)''' <!>
 +
To do this edit and add the following two lines to '''/etc/modprobe.d/blacklist.conf''':
 +
<pre><nowiki>
 +
blacklist b43
 +
blacklist ssb
 +
</nowiki></pre>
 +
'''Note:''' Once blacklisted the b43 kernel drivers can not be used until these entires are removed.
 +
[[UbuntuHelp:[Top|Back to top]]]
 +
== See Also ==
 +
* Broadcom [http://www.broadcom.com/support/802.11/linux_sta.php b43/STA] linux driver page.
 +
* [http://wireless.kernel.org/en/users/Drivers/b43 b43 Kernel driver] wireless.kernel.org
 +
* Installing Windows drivers with [[UbuntuHelp:WifiDocs/Driver/Ndiswrapper|NdisWrapper]]
 +
* Installing b43-fwcutter without a wired connection: [http://byisk.info/index.php/issues-with-a-broadcom-nic-on-ubuntu-10-4-beta/  Personal Blog]
 +
[[UbuntuHelp:[Top|Back to top]]]
 
----
 
----
 
[[category:CategoryHardware]] [[category:CategoryNetworking]] [[category:CategoryWireless]]
 
[[category:CategoryHardware]] [[category:CategoryNetworking]] [[category:CategoryWireless]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月20日 (四) 00:55的最新版本

  1. title WifiDocsDriverbcm43xx

<<Anchor(Top)>> This page aims at getting your Broadcom BCM43xx based wireless network card working. The proprietary drivers can be activated under the desktop menu System / Administration / Hardware Drivers. If you experience troubles activating follow the instructions on this page for your particular scenario.

Broadcom BCM43xx Chipset (PCI)

Identifying Your Card/Driver

In a terminal the command `lspci` will display information about all PCI devices attached to your computer. The following is typical input/output from `lspci` indicating that Ubuntu has found a Broadcom wireless card/chipset and listed its model as BCM4322. To display only devices manufactured by Broadcom (including wifi cards) suffix the following to `lspci`:

~$ lspci -vvnn | grep 14e4

Note: The example output below indicates the model number to be BCM4322 (rev 01).

03:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)

[[UbuntuHelp:[Top|Back to top]]]

Installing b43/STA hybrid drivers

9.10 (Karmic Koala), 10.04 (Lucid Lynx)

Supported models, mostly found on Dell hardware, include: BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, BCM43225

Internet Access

Step 1. Install the b43/STA hybrid drivers/firmware from the restricted repository using the Synaptic Package Manager and search for the `bcmwl-kernel-source` package and install or in a terminal use the aptitude or apt-get commands:

~$ sudo aptitude update
~$ sudo aptitude install bcmwl-kernel-source

Step 2. Under the desktop menu System > Administration > Hardware Drivers, the drivers can be activated for use. Note: A computer restart may be required before using the wifi card.

LiveCD/LiveUSB

For temporary use with the LiveCD and LiveUSB environments, simply use the Synaptic Package Manager to search for and install the bcmwl-kernel-source package. Refer to Step 1 and Step 2 of the instructions above. Step 3: Instead of a computer restart, in a terminal issue the following commands:

~$ sudo modprobe -r b43 ssb wl
~$ sudo modprobe wl

[[UbuntuHelp:[Top|Back to top]]]

No Internet Access

If you do not have any other means of internet access on your computer, you will have to install `bcmwl-kernel-source` package from the restricted folder under ../pool/restricted/b/bcmwl on the Ubuntu install media. This may be done in the following manner depending on the installation media used:

CDROM/DVD

Step 1. Install the `bcmwl-kernel-source` package using the Synaptic Package Manager. First select Add CD-ROM from the edit menu to enable the install media as a package repository, then click on Reload to refresh the available packages list, ignore any internet/download errors. Now search for the `bcmwl-kernel-source` package and install. Step 2: Under the desktop menu System > Administration > Hardware Drivers, the drivers can be activated for use. Note: A computer restart may be required before using the wifi card.

LiveCD/LiveUSB

For temporary use with the LiveCD and LiveUSB environments, simply use the Synaptic Package Manager to search for and install the bcmwl-kernel-source package. Refer to Step 1 and Step 2 of the CDROM/DVD instructions above. Step 3: Instead of a computer restart, in a terminal issue the following commands:

~$ sudo modprobe -r b43 ssb wl
~$ sudo modprobe wl

USB/Netbooks

Step 1. Navigate the install media and install the following packages in a terminal: ../pool/main/d/dkms

:/dkms/$ sudo dpkg -i dkms*

../pool/main/p/patch

:/patch/$ sudo dpkg -i patch*

../pool/main/f/fakeroot

:/fakeroot/$ sudo dpkg -i fakeroot*

../pool/restricted/b/bcmwl

:/bcmwl/$ sudo dpkg -i bcmwl-kernel-source*

Step 2. Under the desktop menu System > Administration > Hardware Drivers, the drivers can be activated for use. Note: A computer restart may be required before using the wifi card. [[UbuntuHelp:[Top|Back to top]]]

Installing BCM43xx drivers

8.04.x (Hardy Heron), 9.04 (Jaunty Jackalope), 9.10 (Karmic Koala), 10.04 (Lucid Lynx)

The Ubuntu kernel in versions 8.04.x (Hardy Heron) and higher do provide the b43 drivers, however due to copyright restrictions not the proprietary firmware which is required to run your card. See here for a list of known PCI devices and their available modes as well as supported/unsupported chipsets. The following instructions explain how to extract the required firmware.

Internet Access

If you have some other kind of internet access on your computer, you can download the firmware by simply installing the `b43-fwcutter` package which does the download and setup for you automatically. bcm43xx?action=AttachFile&do=get&target=b43-fwcutter.png To install `b43-fwcutter` issue the following command in a terminal and follow the prompts:

~$ sudo apt-get install b43-fwcutter

[[UbuntuHelp:[Top|Back to top]]]

No Internet Access

If you do not have any other means of internet access on your computer, you will have to install `b43-fwcutter` and setup manually (without the firmware automatically downloading and being set up). `b43-fwcutter` is located on the Ubuntu install cd under ../pool/main/b/b43-fwcutter/ or in the official repositories online. Double click on the package to install or in a terminal navigate to the folder containing the package and issue the following command:

:/b43-fwcutter/$ sudo dpkg -i b43-fwcutter*

Note: Do not select 'fetch and extract firmware'. Once installed in a terminal type the following to view the b43-fwcutter manual page for further instruction:

~$ man b43-fwcutter

[[UbuntuHelp:[Top|Back to top]]]

Unsupported cards

If you are unable to use the b43 kernel driver or the b43/STA hybrid driver, you will need to go for ndiswrapper - this will allow you to use Microsoft Windows drivers for your card. <!> You will need to blacklist the b43 kernel driver(s) <!> To do this edit and add the following two lines to /etc/modprobe.d/blacklist.conf:

blacklist b43
blacklist ssb

Note: Once blacklisted the b43 kernel drivers can not be used until these entires are removed. [[UbuntuHelp:[Top|Back to top]]]

See Also

[[UbuntuHelp:[Top|Back to top]]]