个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第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)>>
+
== Broadcom bcm43xx Chipset ==
=== New b43 and b43-legacy Drivers ===
+
This page aims at getting your bcm43xx chipset based wireless network card to work in Ubuntu.  
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 and Which Driver to Use ==
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.
+
To see what chipset you have, in a terminal type `lspci`, which lists the PCI devices in your computer. One of the lines of the output might include something like the following:
=== How To find out if you're using Broadcom 43xx ===
+
In a terminal, type `lspci `, which lists the PCI devices in your system. The output might include something like
+
 
<pre><nowiki>
 
<pre><nowiki>
0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
+
04:01.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
 
</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
+
This indicates that your computer recognizes one of your pieces of hardware as a network controller based on the bcm4318 chipset. Note that this doesn't mean your card is working properly. To achieve this, you need to install drivers.
 +
The newest version of drivers for bcm43xx cards are b43 and b43-legacy. They replace the old bcm43xx driver (named after the chipset), which is now deprecated. To see which driver you need to use, check the table at [http://linuxwireless.org/en/users/Drivers/b43#Known_PCI_devices the LinuxWireless.org's b43 driver page]. Your PCI-ID used to identify your card should be of the form 14e4:43xx and can be obtained by noting the first entry associated with your card when doing `lspci` (in the example above, this is 04:01.0) and doing `lspci -n` which matches that number with the card's PCI-ID (continuing the example, you could also do `lspci -n | grep 04:01.0`):
 
<pre><nowiki>
 
<pre><nowiki>
0000:02:02.0 0280: 14e4:4320 (rev 03)
+
[user@domain ~]$ lspci -n | grep 04:01.0
 +
04:01.0 0280: 14e4:4318 (rev 02)
 
</nowiki></pre>
 
</nowiki></pre>
Please pick the appropriate document to proceed. If you use
+
== Installing Drivers for the bcm43xx Cards ==
 +
Ubuntu 9.04 Jaunty Jackalope provides the b43 drivers, but due to copyright reasons not the proprietary firmware which is required to run your card.  
 +
=== With Alternate Internet Access ===
 +
If you have some other kind of internet access on your computer, you can download the firmware automatically by simply installing the `b43-fwcutter` package which does the download and setup for you. You will probably need to restart your computer before seeing the results.
 +
=== No Alternate Internet Access ===
 +
If you don't have any other means of internet access on your computer, you will have to:
 +
<ol><li>Install `b43-fwcutter` (without the firmware downloading and being set up) which should be located on the Ubuntu 9.04 install disc (add it as a repository in Synaptic) or from `/var/cache/apt/archives` on an Ubuntu computer with b43 installed.
 +
</li><li>Obtain</li></ol>
 +
 
 +
* [http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o] and
 +
* [http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2].
 +
<ol><li>Execute the following necessary commands on the files above manually</li></ol>
 +
 
 +
<pre><nowiki>
 +
sudo b43-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o
 +
tar xfvj broadcom-wl-4.80.53.0.tar.bz2
 +
sudo b43-fwcutter --unsupported -w /lib/firmware broadcom-wl-4.80.53.0/kmod/wl_apsta_mimo.o
 +
</nowiki></pre>
 +
Try restarting your computer to verify the installation went correctly.
 +
If it fails to work after a restart try 'sudo modprobe b43'. Then add the line 'b43' to 'sudo gedit /etc/modules'.
 +
== Checking if it Worked ==
 +
You can see if the module is loaded by running `lsmod | grep b43` and if you have a new wireless interface by running `ifconfig`.
 +
== Alternative Solutions ==
 +
If your drivers still don't work, you can try using the Windows drivers through [[UbuntuHelp:WifiDocs/Driver/Ndiswrapper|ndiswrapper]]. This worked for me on versions older than 9.04 but didn't work for me on 9.04 (although the method above did).
 +
There are more resources on other pages. Please select your version:
 
* Ubuntu Hardy 8.04 LTS , [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Hardy|WifiDocs/Driver/bcm43xx/Hardy]]
 
* Ubuntu Hardy 8.04 LTS , [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Hardy|WifiDocs/Driver/bcm43xx/Hardy]]
* Ubuntu Gutsy 7.10, [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Gutsy|WifiDocs/Driver/bcm43xx/Gutsy]]
 
* Ubuntu Feisty 7.04, [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Feisty|WifiDocs/Driver/bcm43xx/Feisty]]
 
 
* Ubuntu Dapper 6.06 LTS , [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Dapper|WifiDocs/Driver/bcm43xx/Dapper]]
 
* Ubuntu Dapper 6.06 LTS , [[UbuntuHelp:WifiDocs/Driver/bcm43xx/Dapper|WifiDocs/Driver/bcm43xx/Dapper]]
 
----
 
----

2009年11月17日 (二) 21:14的版本

Broadcom bcm43xx Chipset

This page aims at getting your bcm43xx chipset based wireless network card to work in Ubuntu.

Identifying Your Card and Which Driver to Use

To see what chipset you have, in a terminal type `lspci`, which lists the PCI devices in your computer. One of the lines of the output might include something like the following:

04:01.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

This indicates that your computer recognizes one of your pieces of hardware as a network controller based on the bcm4318 chipset. Note that this doesn't mean your card is working properly. To achieve this, you need to install drivers. The newest version of drivers for bcm43xx cards are b43 and b43-legacy. They replace the old bcm43xx driver (named after the chipset), which is now deprecated. To see which driver you need to use, check the table at the LinuxWireless.org's b43 driver page. Your PCI-ID used to identify your card should be of the form 14e4:43xx and can be obtained by noting the first entry associated with your card when doing `lspci` (in the example above, this is 04:01.0) and doing `lspci -n` which matches that number with the card's PCI-ID (continuing the example, you could also do `lspci -n | grep 04:01.0`):

[user@domain ~]$ lspci -n | grep 04:01.0
04:01.0 0280: 14e4:4318 (rev 02)

Installing Drivers for the bcm43xx Cards

Ubuntu 9.04 Jaunty Jackalope provides the b43 drivers, but due to copyright reasons not the proprietary firmware which is required to run your card.

With Alternate Internet Access

If you have some other kind of internet access on your computer, you can download the firmware automatically by simply installing the `b43-fwcutter` package which does the download and setup for you. You will probably need to restart your computer before seeing the results.

No Alternate Internet Access

If you don't have any other means of internet access on your computer, you will have to:

  1. Install `b43-fwcutter` (without the firmware downloading and being set up) which should be located on the Ubuntu 9.04 install disc (add it as a repository in Synaptic) or from `/var/cache/apt/archives` on an Ubuntu computer with b43 installed.
  2. Obtain
  1. Execute the following necessary commands on the files above manually
sudo b43-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o
tar xfvj broadcom-wl-4.80.53.0.tar.bz2
sudo b43-fwcutter --unsupported -w /lib/firmware broadcom-wl-4.80.53.0/kmod/wl_apsta_mimo.o

Try restarting your computer to verify the installation went correctly. If it fails to work after a restart try 'sudo modprobe b43'. Then add the line 'b43' to 'sudo gedit /etc/modules'.

Checking if it Worked

You can see if the module is loaded by running `lsmod | grep b43` and if you have a new wireless interface by running `ifconfig`.

Alternative Solutions

If your drivers still don't work, you can try using the Windows drivers through ndiswrapper. This worked for me on versions older than 9.04 but didn't work for me on 9.04 (although the method above did). There are more resources on other pages. Please select your version: