(參照:https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx)
1.首先要識別筆記本的網卡類型
Identifying Your Card/Driver
In a terminal the command lspci will display information about all PCI devices attached to your computer. To display only devices manufactured by Broadcom (including wifi cards), apply a filter for "14e4" as follows.
Step 1.
Open a terminal window under the desktop menu Applications > Accessories > Terminal and enter the following command:
~$ lspci -vvnn | grep 14e4
The following is an example of the information required to identify your card type and typical lspci output.
- Card/Model - BCM4322
- PCI-ID - [14e4:432b]
03:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)
Supported devices
Driver - Card/Model
STA - BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, BCM43225, **BCM43227, **BCM43228
b43 - BCM4301 BCM4306/2, BCM4306/3, BCM4311, BCM4312, BCM4318, BCM4320
Note: Not all PCI-ID's and/or modes are supported. See the links at the bottom of this page for more information regarding supported/unsupported PCI-ID's.
Note: The b43 kernel driver and the STA driver package bcmwl-kernel-source have slight variations across different Ubuntu releases. For example, the latest Ubuntu release will have a higher version of the driver than the last Ubuntu LTS release.
Unsupported devices
If your wifi card/chipset and/or various modes are not supported by the STA hybrid driver or the b43 kernel driver, you will need to go for ndiswrapper - this will allow you to use closed source drivers to activate your wifi card.
2.我的是STA 中的BCM4311
接下來安裝
1)有網絡的情況下
Installing STA drivers
10.04 (Lucid Lynx), 10.10 (Maverick Meerkat) **11.04 (Natty Narwhal)
Supported models include:
BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, BCM43225, **BCM43227, **BCM43228
STA - Internet access
Step 1.
Install the STA hybrid drivers/firmware from the restricted repository using the Software Centre or the Synaptic Package Manager (Under the desktop menu System > Administration > Synaptic Package Manager ) and search for the bcmwl-kernel-source package and install or in a terminal (under the desktop menu Applications > Accessories > Terminal ) issue the following commands:
~$ sudo apt-get update
~$ sudo apt-get install bcmwl-kernel-source
Step 2.
Under the desktop menu System > Administration > Hardware/Additional Drivers , the STA 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 Software Centre or 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
Note: Allow several seconds for the network manager to scan for available networks before attempting a connection.
2)沒有網絡的情況下
STA - No Internet access
If you do not have any other means of Internet access on your computer, you will have to install the bcmwl-kernel-source package from the restricted folder under ../pool/restricted/b/bcmwl on the Ubuntu install media.
Note: Systems installed from CDROM can simply add the install CD as a package source and install bcmwl-kernel-source , automatically installing the required dependencies.
Note: The following instructions are for a stock Ubuntu 10.04 LTS Edition via USB install. Netbook edition, other variations and matured systems may require more/less packages be installed to satisfy dependencies of bcmwl-kernel-source.
Note: The GUI front end for dpkg will automatically display required packages that need to be installed to satisfy the bcmwl-kernel-source dependencies. To use the front end, navigate the file system using the file manager and double click on the packages to install/list required dependencies.
Step 1.
Navigate the install media and install the packages listed below by double clicking or navigate the install media and install these packages consecutively in a terminal (under the desktop menu Applications > Accessories > 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/Additional Drivers , the STA drivers can be activated for use.
Note: A computer restart may be required before using the wifi card.
LiveCD/LiveUSB
Note: The install media contents are mounted under /cdrom of the filesystem.
Step 3.
For temporary use with the LiveCD and LiveUSB environments, instead of a computer restart, in a terminal issue the following commands:
~$ sudo modprobe -r b43 ssb wl
~$ sudo modprobe wl
Note: Allow several seconds for the network manager to scan for available networks before attempting a connection.
說白了。有網絡的時候是apt-get;沒有的時候是從安裝盤裏 dpkg。