个人工具

“UbuntuHelp:WifiDocs/Driver/bcm43xx/Feisty No-Fluff”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff}}
 
{{From|https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff}}
 
{{Languages|UbuntuHelp:WifiDocs/Driver/bcm43xx/Feisty_No-Fluff}}
 
{{Languages|UbuntuHelp:WifiDocs/Driver/bcm43xx/Feisty_No-Fluff}}
 
 
 
=== Introduction ===
 
=== Introduction ===
 
This [http://help.ubuntu.com/community/WifiDocs/Device/Broadcom_BCM4311_rev_01_(ndiswrapper) other howTo] is excellent, but it has a lot of exposition. All this background information is great if it's the first time you're setting up the card. However, if you're setting it for a second or third time, it's a lot of fluff to wade through. This is the distilled version.
 
This [http://help.ubuntu.com/community/WifiDocs/Device/Broadcom_BCM4311_rev_01_(ndiswrapper) other howTo] is excellent, but it has a lot of exposition. All this background information is great if it's the first time you're setting up the card. However, if you're setting it for a second or third time, it's a lot of fluff to wade through. This is the distilled version.
 
 
''Update (Oct 2007): Gutsy Gibbon (*Ubuntu 7.10) has native support (via the restricted driver manger) that actually works, so this guide isn't strictly necessary for Gutsy. However Gutsy's native support isn't capable of quite the same bandwidth as this ndiswrapper solution. Fortunately, this guide also appears to be compatible with Gutsy .''
 
''Update (Oct 2007): Gutsy Gibbon (*Ubuntu 7.10) has native support (via the restricted driver manger) that actually works, so this guide isn't strictly necessary for Gutsy. However Gutsy's native support isn't capable of quite the same bandwidth as this ndiswrapper solution. Fortunately, this guide also appears to be compatible with Gutsy .''
 
 
This guide is aimed for folks with a fresh installation of Ubuntu 7.04 (Feisty Fawn). Things have changed for the better since Edgy Eft (e.g., you ''probably'' don't have to compile anything anymore), so if you have a fresh install of Feisty, and a BCM43''xx'', then this guide's for you. If that doesn't describe your situation exactly, this howTo ''might'' work, but if in doubt, head on over to the  [http://help.ubuntu.com/community/WifiDocs/Device/Broadcom_BCM4311_rev_01_(ndiswrapper) fluffy howTo].
 
This guide is aimed for folks with a fresh installation of Ubuntu 7.04 (Feisty Fawn). Things have changed for the better since Edgy Eft (e.g., you ''probably'' don't have to compile anything anymore), so if you have a fresh install of Feisty, and a BCM43''xx'', then this guide's for you. If that doesn't describe your situation exactly, this howTo ''might'' work, but if in doubt, head on over to the  [http://help.ubuntu.com/community/WifiDocs/Device/Broadcom_BCM4311_rev_01_(ndiswrapper) fluffy howTo].
 
 
This guide assumes a wired connection, however, [http://ubuntuforums.org/showpost.php?p=3022036&postcount=21 this post] on the [http://ubuntuforums.org/showthread.php?t=475963 accompanying forum thread] has some (untested) pointers on off-line installation (of the BCM4311, but they could easily be adapted for other BCM43xx versions).
 
This guide assumes a wired connection, however, [http://ubuntuforums.org/showpost.php?p=3022036&postcount=21 this post] on the [http://ubuntuforums.org/showthread.php?t=475963 accompanying forum thread] has some (untested) pointers on off-line installation (of the BCM4311, but they could easily be adapted for other BCM43xx versions).
 
 
This guide happens to have been written against a Dell D620 with the built-in Dell 1390 mini wireless card (BCM 4311).
 
This guide happens to have been written against a Dell D620 with the built-in Dell 1390 mini wireless card (BCM 4311).
 
=== Testimonials ===
 
=== Testimonials ===
 
 
Others benefit from detailed feedback, so you get bonus points if you provide all of the following in your notes:
 
Others benefit from detailed feedback, so you get bonus points if you provide all of the following in your notes:
 
+
* Machine Brand and Model
**** Machine Brand and Model
+
* Wireless Brand and Model (please post the whole line): `lspci | grep Broadcom`
**** Wireless Brand and Model (please post the whole line): `lspci | grep Broadcom`
+
* Wireless Chipset: `lspci -n | egrep '14e4:43(06|07|11|12|18|19|21|24|25|28)'`
**** Wireless Chipset: `lspci -n | egrep '14e4:43(06|07|11|12|18|19|21|24|25|28)'`
+
* Ubuntu Version: `lsb_release -d`
**** Ubuntu Version: `lsb_release -d`
+
* Kernel/architecture (including 32 vs. 64 bit) : `uname -mr`
**** Kernel/architecture (including 32 vs. 64 bit) : `uname -mr`
+
* Any extra boot options you might be using (e.g., noacpi, irqpoll, etc.)
**** Any extra boot options you might be using (e.g., noacpi, irqpoll, etc.)
+
* Whether or not you had to compile NDISWrapper
**** Whether or not you had to compile NDISWrapper
+
* Which version of Step 2 you used
**** Which version of Step 2 you used
+
 
+
 
{|border="1" cellspacing="0"
 
{|border="1" cellspacing="0"
|<tablestyle="font-size: smaller; line-height: 1.2em">'''User'''||'''Result'''||'''[[User:Oneleaf|Oneleaf]]Date[[User:Oneleaf|Oneleaf]]'''||'''Notes'''
+
|'''User'''||'''Result'''||'''[[User:Wikibot|Wikibot]]Date[[User:Wikibot|Wikibot]]'''||'''Notes'''
 
|-
 
|-
 
|Sample||Success/Failure||Date||  
 
|Sample||Success/Failure||Date||  
第112行: 第103行:
 
|-
 
|-
 
| (on behalf of) ghasek || Success || Nov 18, 2007 || HP Compaq 6720s; 1Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02); 14e4:4311 (rev 02); Ubuntu 7.10; 2.6.22-14-generic x86_64; no extra boot options; didn't have to compile; step 2a  
 
| (on behalf of) ghasek || Success || Nov 18, 2007 || HP Compaq 6720s; 1Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02); 14e4:4311 (rev 02); Ubuntu 7.10; 2.6.22-14-generic x86_64; no extra boot options; didn't have to compile; step 2a  
 +
|-
 +
| Poobslag || Success || Nov 21, 2007 || Alienware AMD Athlin X2 3600 Dual Core Processor; Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02); Ubuntu 7.10; Compile used; step 2a. 2c is the recommended choice, but it did not work.
 
|}
 
|}
 
 
You can also post to this [http://ubuntuforums.org/showthread.php?p=2994162 forum thread].
 
You can also post to this [http://ubuntuforums.org/showthread.php?p=2994162 forum thread].
 
 
=== Instructions ===
 
=== Instructions ===
 
 
This is not a script. You'll enter one line at a time*, and will individually respond to sudo password prompts, etc. ~-*You can also copy and paste one line at a time: To copy from the browser, use `ctrl-c`, but to paste into the terminal (at least Gnome's), use `ctrl-shift-v`.-~
 
This is not a script. You'll enter one line at a time*, and will individually respond to sudo password prompts, etc. ~-*You can also copy and paste one line at a time: To copy from the browser, use `ctrl-c`, but to paste into the terminal (at least Gnome's), use `ctrl-shift-v`.-~
 
 
Also, '''''watch out for line wrapping!''''' as this wiki unfortunately allows wrapping in code blocks. For that reason, I'd advise against using a narrow browser window. (Note if anyone knows how to prevent line wrapping on this wiki, feel free to fix it, or tell me how in the [http://ubuntuforums.org/showthread.php?p=2994162 forum thread].)
 
Also, '''''watch out for line wrapping!''''' as this wiki unfortunately allows wrapping in code blocks. For that reason, I'd advise against using a narrow browser window. (Note if anyone knows how to prevent line wrapping on this wiki, feel free to fix it, or tell me how in the [http://ubuntuforums.org/showthread.php?p=2994162 forum thread].)
 
 
Notice that ''Step 1'' is for all BCM43xx, the '''''Step 2'' option will depend on your card''', and ''Step 3'' is for all BCM43xx again.
 
Notice that ''Step 1'' is for all BCM43xx, the '''''Step 2'' option will depend on your card''', and ''Step 3'' is for all BCM43xx again.
 
 
==== Step 1: All BCM43xx - Install NDISWrapper and Blacklist Native Driver ====
 
==== Step 1: All BCM43xx - Install NDISWrapper and Blacklist Native Driver ====
 
<pre><nowiki>
 
<pre><nowiki>
第130行: 第117行:
 
mkdir ~/bcm43xx; cd ~/bcm43xx
 
mkdir ~/bcm43xx; cd ~/bcm43xx
 
</nowiki></pre>
 
</nowiki></pre>
 
 
==== Step 2: Download and Extract Drivers ====
 
==== Step 2: Download and Extract Drivers ====
 
'''''Pick ONLY ONE version of Step 2, depending on your card model or machine.'''''
 
'''''Pick ONLY ONE version of Step 2, depending on your card model or machine.'''''
 
 
{|border="1" cellspacing="0"
 
{|border="1" cellspacing="0"
| 2007年11月21日 () 18:11 (CST)'''Model'''2007年11月21日 () 18:11 (CST) || '''Chipset PCI ID''' || '''Step 2 Version''' || Notes  
+
| 2007年11月30日 () 22:22 (CST)'''Model'''2007年11月30日 () 22:22 (CST) || '''Chipset PCI ID''' || '''Step 2 Version''' || Notes  
 
|-
 
|-
 
| BCM4306 || || Step 2b ||  
 
| BCM4306 || || Step 2b ||  
第147行: 第132行:
 
| BCM4318 (rev 01?) ||  || Step 2c (?) || ''Is there'' a rev 01? In that case, my guess is step 2c.  
 
| BCM4318 (rev 01?) ||  || Step 2c (?) || ''Is there'' a rev 01? In that case, my guess is step 2c.  
 
|-
 
|-
| BCM4318 (rev 02) || 14e4:4318 (rev 02) || Step 2c || In Gutsy, lspci shows "Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)"  
+
| BCM4318 (rev 02) || 14e4:4318 (rev 02) || Step 2c || In Gutsy, lspci shows "Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)" '''NOTE''': In Poobslag's testimonial he(?) claims that step 2c didn't work but step 2a did. I'm investigating this. In the meantime, if 2c doesn't work for you, you can try 2a by doing [http://ubuntuforums.org/showpost.php?p=3767216&postcount=273 this].
 
|-
 
|-
 
| BCM4328 (rev 01) || 14e4:4328 (rev 01) || Step 2d || In Gutsy, lspci shows "Broadcom Corporation BCM4328 802.11a/b/g/n (rev 01)"  
 
| BCM4328 (rev 01) || 14e4:4328 (rev 01) || Step 2d || In Gutsy, lspci shows "Broadcom Corporation BCM4328 802.11a/b/g/n (rev 01)"  
第153行: 第138行:
 
| Other BCM43xx ||  || || It looks like 2a might be good for Rev 02 devices, so I'd try that step for other Rev 02 devices. Otherwise, you could try one of the others. Please give feedback if you try and succeed or fail with other devices.  
 
| Other BCM43xx ||  || || It looks like 2a might be good for Rev 02 devices, so I'd try that step for other Rev 02 devices. Otherwise, you could try one of the others. Please give feedback if you try and succeed or fail with other devices.  
 
|}
 
|}
 
 
===== Step 2a: "BCM4310 (rev 02)" / "BCM4311 (rev 02)" Driver Download/Extraction =====
 
===== Step 2a: "BCM4310 (rev 02)" / "BCM4311 (rev 02)" Driver Download/Extraction =====
 
 
(Note: If you get "Couldn't find package cabextract" after line one, then [https://wiki.ubuntu.com/MOTU/Packages?action=show&redirect=UniversePackages enable the "universe" repository]. Then, re-run line one.)
 
(Note: If you get "Couldn't find package cabextract" after line one, then [https://wiki.ubuntu.com/MOTU/Packages?action=show&redirect=UniversePackages enable the "universe" repository]. Then, re-run line one.)
 
<pre><nowiki>
 
<pre><nowiki>
第162行: 第145行:
 
cabextract sp34152.exe
 
cabextract sp34152.exe
 
</nowiki></pre>
 
</nowiki></pre>
 
 
===== Step 2b: "BCM4306" / "BCM4311 (Rev 01)" Driver Download/Extraction =====
 
===== Step 2b: "BCM4306" / "BCM4311 (Rev 01)" Driver Download/Extraction =====
 
(Note: If you get "Couldn't find package cabextract" after line one, then [https://wiki.ubuntu.com/MOTU/Packages?action=show&redirect=UniversePackages enable the "universe" repository]. Then, re-run line one.)
 
(Note: If you get "Couldn't find package cabextract" after line one, then [https://wiki.ubuntu.com/MOTU/Packages?action=show&redirect=UniversePackages enable the "universe" repository]. Then, re-run line one.)
第170行: 第152行:
 
cabextract sp33008.exe
 
cabextract sp33008.exe
 
</nowiki></pre>
 
</nowiki></pre>
 
 
===== Step 2c: "BCM4318" Driver Download/Extraction =====
 
===== Step 2c: "BCM4318" Driver Download/Extraction =====
 
<pre><nowiki>
 
<pre><nowiki>
第176行: 第157行:
 
unzip Driverv3100640.zip; cp Driver/WinXP/* ./
 
unzip Driverv3100640.zip; cp Driver/WinXP/* ./
 
</nowiki></pre>
 
</nowiki></pre>
 
 
===== Step 2d: "BCM4328" Driver Download/Extraction =====
 
===== Step 2d: "BCM4328" Driver Download/Extraction =====
 
Note: I've repackaged the files from the [http://ftp.us.dell.com/network/R151517.EXE package specified] in mooky's testimonial. (This cuts the download from 52MB to less than 1MB.)
 
Note: I've repackaged the files from the [http://ftp.us.dell.com/network/R151517.EXE package specified] in mooky's testimonial. (This cuts the download from 52MB to less than 1MB.)
第183行: 第163行:
 
unzip bcm4328.zip
 
unzip bcm4328.zip
 
</nowiki></pre>
 
</nowiki></pre>
 
 
==== Step 3: All BCM43xx - Configure NDISWrapper (and WPA Supplicant) ====
 
==== Step 3: All BCM43xx - Configure NDISWrapper (and WPA Supplicant) ====
 
<pre><nowiki>
 
<pre><nowiki>
第196行: 第175行:
 
echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant
 
echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Now, REBOOT.
 
Now, REBOOT.
 
 
After rebooting, you should be able to click the network manager icon. (In Gnome, it looks like two black monitors overlapping each other on the top panel.) Hopefully, you'll see the available wireless access points under "Wireless Networks" and your machine ought to try to connect to one of them if you remove your network cable (or if you select one of them with a mouse click).
 
After rebooting, you should be able to click the network manager icon. (In Gnome, it looks like two black monitors overlapping each other on the top panel.) Hopefully, you'll see the available wireless access points under "Wireless Networks" and your machine ought to try to connect to one of them if you remove your network cable (or if you select one of them with a mouse click).
 
 
If you have wireless now, you're all set, and you don't need to proceed any further. However, if you'd like, you can skip way down to the bottom of this page, and go to "Cleanup," to delete the (now useless) installation directory that was left behind from the steps above.
 
If you have wireless now, you're all set, and you don't need to proceed any further. However, if you'd like, you can skip way down to the bottom of this page, and go to "Cleanup," to delete the (now useless) installation directory that was left behind from the steps above.
 
 
=== No Luck Yet? Compile ndiswrapper from Source ===
 
=== No Luck Yet? Compile ndiswrapper from Source ===
 
 
You only need to do this if the Ubuntu ndiswrapper package doesn't work on your machine. For instance, Compaq F572US users report that after the above, NetworkManager doesn't show wireless networking, but report success after compiling and installing ndiswrapper from source.
 
You only need to do this if the Ubuntu ndiswrapper package doesn't work on your machine. For instance, Compaq F572US users report that after the above, NetworkManager doesn't show wireless networking, but report success after compiling and installing ndiswrapper from source.
 
 
==== Remove Stock ndiswrapper ====
 
==== Remove Stock ndiswrapper ====
 
<pre><nowiki>
 
<pre><nowiki>
第215行: 第188行:
 
sudo rm -r /etc/modprobe.d/ndiswrapper
 
sudo rm -r /etc/modprobe.d/ndiswrapper
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Now, REBOOT.
 
Now, REBOOT.
 
 
==== Compile and Install New ndiswrapper ====
 
==== Compile and Install New ndiswrapper ====
 +
~-Nov 29, 2007: Instructions now point to newly-released ndiswrapper version 1.50-~
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get update
 
sudo apt-get update
第225行: 第197行:
 
sudo ln -s /usr/src/linux-`uname -r` /lib/modules/`uname -r`/build
 
sudo ln -s /usr/src/linux-`uname -r` /lib/modules/`uname -r`/build
 
mkdir -p ~/bcm43xx/ndiswrapper; cd ~/bcm43xx/ndiswrapper
 
mkdir -p ~/bcm43xx/ndiswrapper; cd ~/bcm43xx/ndiswrapper
sudo wget http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-1.47.tar.gz -Ondiswrapper.tar.gz
+
sudo wget http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-1.50.tar.gz -Ondiswrapper.tar.gz
 
tar xvzf ndiswrapper.tar.gz
 
tar xvzf ndiswrapper.tar.gz
 
cd ndiswrapper*
 
cd ndiswrapper*
第232行: 第204行:
 
sudo make install
 
sudo make install
 
</nowiki></pre>
 
</nowiki></pre>
 
 
==== Redo Some Steps That Were Undone by ndiswrapper Compilation/Installation ====
 
==== Redo Some Steps That Were Undone by ndiswrapper Compilation/Installation ====
 
<pre><nowiki>
 
<pre><nowiki>
第241行: 第212行:
 
sudo ndiswrapper -m
 
sudo ndiswrapper -m
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Now, REBOOT.
 
Now, REBOOT.
 
 
=== Cleanup ===
 
=== Cleanup ===
 
 
Now, if you'd like, you can clean up the stuff that's left behind:
 
Now, if you'd like, you can clean up the stuff that's left behind:
 
<pre><nowiki>
 
<pre><nowiki>
 
rm -Rf ~/bcm43xx
 
rm -Rf ~/bcm43xx
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Extra Reading ===
 
=== Extra Reading ===
 
 
*[http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,installation/ NDISwrapper Installation Documentation]: The NDISwrapper-related commands are covered in detail here, as well as troubleshooting tips.
 
*[http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,installation/ NDISwrapper Installation Documentation]: The NDISwrapper-related commands are covered in detail here, as well as troubleshooting tips.
 
*WifiDocs/NetworkManager: This covers NetworkManager, and the changes we made to the /etc/network/interfaces file.
 
*WifiDocs/NetworkManager: This covers NetworkManager, and the changes we made to the /etc/network/interfaces file.
 
*/etc/default/wpasupplicant edits: I haven't looked into the reasons behind ENABLED=0 yet...
 
*/etc/default/wpasupplicant edits: I haven't looked into the reasons behind ENABLED=0 yet...
 
 
 
----
 
----
 
[[category:CategoryHardware]]
 
[[category:CategoryHardware]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 22:22的版本

Introduction

This other howTo is excellent, but it has a lot of exposition. All this background information is great if it's the first time you're setting up the card. However, if you're setting it for a second or third time, it's a lot of fluff to wade through. This is the distilled version. Update (Oct 2007): Gutsy Gibbon (*Ubuntu 7.10) has native support (via the restricted driver manger) that actually works, so this guide isn't strictly necessary for Gutsy. However Gutsy's native support isn't capable of quite the same bandwidth as this ndiswrapper solution. Fortunately, this guide also appears to be compatible with Gutsy . This guide is aimed for folks with a fresh installation of Ubuntu 7.04 (Feisty Fawn). Things have changed for the better since Edgy Eft (e.g., you probably don't have to compile anything anymore), so if you have a fresh install of Feisty, and a BCM43xx, then this guide's for you. If that doesn't describe your situation exactly, this howTo might work, but if in doubt, head on over to the fluffy howTo. This guide assumes a wired connection, however, this post on the accompanying forum thread has some (untested) pointers on off-line installation (of the BCM4311, but they could easily be adapted for other BCM43xx versions). This guide happens to have been written against a Dell D620 with the built-in Dell 1390 mini wireless card (BCM 4311).

Testimonials

Others benefit from detailed feedback, so you get bonus points if you provide all of the following in your notes:

  • Machine Brand and Model
  • Wireless Brand and Model (please post the whole line): `lspci | grep Broadcom`
  • Wireless Chipset: `lspci -n | egrep '14e4:43(06|07|11|12|18|19|21|24|25|28)'`
  • Ubuntu Version: `lsb_release -d`
  • Kernel/architecture (including 32 vs. 64 bit) : `uname -mr`
  • Any extra boot options you might be using (e.g., noacpi, irqpoll, etc.)
  • Whether or not you had to compile NDISWrapper
  • Which version of Step 2 you used
User Result WikibotDateWikibot Notes
Sample Success/Failure Date
JamieJackson Success Jun 14, 2007 Dell D620; Dell 1390 mini wireless card (Broadcom BCM4311); Network Manager + WPA working
ShawnMcburnie Success Jul 3, 2007 Acer Aspire 9410Z; Intel 1390 (Broadcom BCM4311)
SebastianEwert Success Jul 5, 2007 BCM4318 in an Asus WL-138G-rev2. But used drivers from Asus Website. Installed WinXP drivers. Seems stable and I don't see any transmission power issues that I've seen with the free bcm34xx driver. Network Manager + WPA working [I've incorporated this feedback into the howto -- JamieJackson]
aciddecode Success Jul 9, 2007 Dell Inspiron 6400; Dell 1390 mini wireless card BCM4311
Merindabrayfield Success July 18, 2007 Compaq Presario c500; make sure you are connected to the internet before you start
(on behalf of) Snipersnest Success (with caveats) Aug 1 2007 I'm using an HP dv9010us laptop with bcm4311 [and I] have to load the system with noacpi. ...this tutorial now works for me. But not for Ubuntu 7.04. It works for me on Ubuntu 7.10 with the 2.6.22 kernel and NDISwrapper 1.48rc1 compiled from source. ... I found that in my case the 2.6.20-15/16 kernel and having to use noacpi makes ndiswrapper incompatible. This can be fixed by compiling a new 2.6.22 kernel OR wait till October and install Gusty Gibbon 7.10. If your feeling adventurous I guess you could try Gusty like I did. It fixed my problems.
(on behalf of) boomcat Success Aug 10, 2007 Specs: T20 Thinkpad, Pentium III at 700 mHz, 256M RAM, 100G HD, Feisty Faun i86 clean install, no other OS on this machine, Linksys WPC54G V3 PCMCIA wireless card. My card uses the BCM4318 chipset, so I used step 2c.
(on behalf of) ctt1wbw Success Aug 16, 2007 I didn't have to compile ndiswrapper. And I have the broadcom 4318 chip. I have an HP Pavillion dv8000 laptop.
Darkwolf2 Partial Success Aug 25, 2007 Compaq F572US xubuntu 7.04, Compile ndiswrapper 1.47, Used driver from a modified step listed in the thread [ed--this driver is now incorporated in Step 2a]; Cannot get IP lease with kernel 2.6.20-16, no issues with kernel 2.6.20-15 [darkwolf-- as of xubuntu 7.10 AMD64; this HowTo works with step 2a no compiling was needed.] [update 2: see gutsy success testimonial from Nov 10, 2007]
(on behalf of) bigbee79 Success Aug 29, 2007 I'm another frustrated F572US user, or I was frustrated. I used the new 2nd step [ed--now called step 2a] and after rebooting my wireless card is now working for the first time. Everything seems to be working great. I'm using the 64 bit version of Ubuntu and I used the suggested "noapic" during booting and install. I didn't use the irqpoll one though.
(on behalf of) may04 Success Sept 6, 2007 I am a new user and installed 7.04 a few times but could not get my Linksys WMP54G to work. Tonight I reinstalled and right after the updates I copied and pasted the commands, rebooted and opened Wireless Assistant 0.5.5 and it worked.
(on behalf of) hambudge Success Sept 8, 2007 Success hp dv6000 broadcomwireless 4318; Ubuntu 7.04 alternative cd (booted via F6 "noapic nolapic" added to command line).
(on behalf of) YMLiew Success Sept 8, 2007 Ubuntu 7.04, 64 Bit AMD - Desktop; Compaq Presario V3000(V3010AU) , WLAN : Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01) (Broadcom BCM4311 KFBG); Working Great
(on behalf of) Tonny Hooijer Success Sept 9, 2007 I have a Dell Lattitude D610 with the following wireless device according to lspci : Broadcom Corporation BCM4311 [AirForce 54g] 802.11a/b/g PCI Express Transceiver (rev 02). The only thing working for me was the last part, i did have to compile the ndiswrapper...and reboot. But it works now!
(on behalf of) hgh9mrp Success Sept 11, 2007 Dell Optiplex GX1 with a PII; Linksys WMP54G with Broadcom bcm4306; Xubuntu 7.04 with XFCE; Used Step 2b of the procedure; No compilation of ndiswrapper was necessary
(on behalf of) ForTheOrca Success Sept 13, 2007 Compaq Presario C571NR; Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01); 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux; No particular boot options that I'm aware of; Didn't need to compile NDISWrapper; used Step 2b
CristianCantoro Succes Sept 14, 2007 HP Compaq nx7300; Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01)- compiled ndiswrapper (step 2b didn't solve the problem, wireless connection disappeared from network manager)
(on behalf of) AB34125 Success Sept 14, 2007 Compaq Presario v2000; Broadcom Corporation BCM4318; Xubuntu, 32 bit Linux laptop 2.6.20-16-generic; Had to Compile ndiswrapper
(on behalf of) hrimhari Success Sept 18, 2007 HP Pavilion dv2404; How-to worked for me, using step 2a; 01:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 02); Took me about 5 minutes ; ) Only thing is that I had to try my wireless network twice before it would connect. No clues why.
(on behalf of) marq06 Success Sept 20, 2007 HP Compaq NX 7300; Broadcom Corporation BCM4311; Ubuntu, 32 bit Linux laptop 2.6.20-16-generic; Followed step 2b; No compiling. Just worked.
(on behalf of) GunnerH Success Oct 2, 2007 HP Pavillion dv6424ca; PCI ID 14e4:4312 [BCM4310 (rev 02)]; Ubuntu Version 32-bit Ubuntu 7.04 (Fiesty Fawn) Kernel 2.6.20-16-generic on AMD 64x2 Turion; using "noapic" boot option; had to compile NDISWrapper; used step 2a
Mooky Success Oct 2, 2007 Dell XPS M1210; Dell 1500 Draft-N 802.11a/b/g miniPCI (Broadcom 4328); Ubuntu 7.04 2.6.20-16 32-bit on Intel Core2 Duo; used Dell WinXP driver download for step 2, download from Dell Support Site and unzip it, driver is in DRIVER subfolder; Works on open 802.11g and WPA-PSK 802.11g so far. ~-(Editor's Update: I've incorporated this driver into this howto.)-~
phisher1 Success Oct 3rd, 2007 HP dv9000; Broadcom Dell Wireless 1390 4311 (rev 02); Followed guide using Step 2a, Kubuntu Feisty Working with No Encryption, WEP and WPA
(on behalf of) cscott Success Oct 10, 2007 It worked great for me. I have a Toshiba Tecra 9000 using the broadcom 4318. The initial instructions did not work, but I followed the further [ndiswrapper compilation] instructions and it worked great!
Claus Aranha Success Oct 15, 2007 HP Compaq nc2400 - worked without a hitch. Used Step 2b. Box says the chipset is a Broadcom 4311BG 802.11b/g, lspci said Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01)
michael37 Success Oct 24, 2007 Dell Inspiron E1505/6400 with Dell Wireless 1390 mini-PCI (lspci detected Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)). Downloaded Dell WinXP driver R151519.EXE for step 2 -- see Mooky testimony above. Works on 801.11g
ivanmladek Success Nov 8, 2007 HP Pavillion DV6000Z with Broadcom Corporation BCM4310 UART (rev 01) on 14e4:4312 (rev 01) on amd64 bit Ubuntu 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 running -compiled- ndiswrapper v1.49. using Dell WXP64 driver http://ftp.us.dell.com/network/R140747.EXE
(on behalf of) syga Success Nov 6, 2007 Instructions worked perfectly on Gutsy 64. Had to use ndiswrapper and step 2[b] of the instructions; Dell Inspiron 1501; Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01); Chipset:14e4:4311 (rev 01); compiled ndiswrapper
(on behalf of) oppo Success Nov 6, 2007 Presario V3000,4311 rev 01. Gutsy. Worked perfectly! I tried many other posts over 3 days and this is the one that finally works.
(on behalf of) bbrg548 Success Nov 6, 2007 Machine == HP Pavilion dv9628nr; Wireless Brand + Model == Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02); Wireless Chipset == 03:00.0 0280: 14e4:4311 (rev 02); Ubuntu Version == 7.10 (64 bit) Kernel 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64; No extra boot options; I did not have to compile ndiswrapper; I used step 2a
(on behalf of) drs345 Success Nov 6, 2007 Followed step 2a. No compiling necessary. Broadcom 4311 rev 2, BCM94311MCG wlan mini-PCI (rev 02); Lenovo N100, Gutsy 7.10 32-bit, 2.6.22-14-generic; Chipset: 03:00.0 0280: 14e4:4311 (rev 01); Previously could see the network but not connect with the proprietary Broadcom restricted drivers enabled. Gutsy broadcom 43xx restricted driver is now unchecked/uninstalled.
(on behalf of) Cod Success Nov 6, 2007 Dell Latitude D420 with a fairly fresh Gutsy install; Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 01); I went for option 2b and did not have to compile ndiswrapper.
(on behalf of) Praxicoide Success Nov 6, 2007 Success! Everything went smoothly. The computer is a Compaq Presario V300 with fresh Gusty Gibbon.
(on behalf of) Hamditter Success Nov 10, 2007 This worked great for me. It took me a bit longer then 5 minutes, because I'm a slow typist, and I double checked each line for accuracy before hitting return. I'm using an old Dell Inspiron 2650, with Gutsy. The card is a Linksys WPC54G, with the BCM4318 chipset
(on behalf of) DarkW0lf Success Nov 10, 2007 I had to reinstall 7.04 due to a bad upgrade. And upgraded fresh from there. Model: Compaq F572US; Network controller: Broadcom Corporation BCM94311MCG wlan mini-PC (rev 02); 14e4:4311 (rev 02); OS: xubuntu 7.10 AMD64; 2.6.22-14-generic #1 SMP x86_64; Added Boot Option: noapic; Compile: No; Used step 2a
(on behalf of) guggero Success Nov 10, 2007 Machine: HP Compaq 6910p; Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02); 14e4:4311 (rev 02); Ubuntu: 7.10; Kernel: 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686; Boot options: Default boot options; Compile ndiswrapper: No; Used Step: 2a
(on behalf of) raichle Success Nov 12, 2007 Success! Wireless + WPA!!! This is with a fresh install of Gutsy, was using Restricted Driver Manager but it was lousy. Did not have to compile ndiswrapper and I used step 2c. Dell Inspiron B130; Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02); 14e4:4318 (rev 02); 32bit 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
stapple Success Nov 14, 2007 Machine: HP G6030EM; Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02); 14e4:4311 (rev 02); Ubuntu: 7.10; Boot options: nosplash noapic nosmp (note wireless does not function if acpi=off option used); Compile ndiswrapper: No; Used Step: 2a
Joshua Success Nov 16, 2007 Machine- HP Pavilion dv6500; Wireless Model- 03:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02); Wireless Chipset- 03:00.0 0280: 14e4:4311 (rev 02); Ubuntu Version- 7.10; Kernel- 2.6.22-14-generic i686 32bit; Boot options: unchanged from installed defaults; didn't compiled ndiswrapper; Used Step: 2a
(on behalf of) coolclassic Success Nov 17, 2007 Dell Inspiron 1501,Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01), 14e4:4311 (rev 01), kubuntu 7.10, 2.6.22-14-generic i686 no boot options, Did not compile ndiswrapper, Step 2b
(on behalf of) ghasek Success Nov 18, 2007 HP Compaq 6720s; 1Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02); 14e4:4311 (rev 02); Ubuntu 7.10; 2.6.22-14-generic x86_64; no extra boot options; didn't have to compile; step 2a
Poobslag Success Nov 21, 2007 Alienware AMD Athlin X2 3600 Dual Core Processor; Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02); Ubuntu 7.10; Compile used; step 2a. 2c is the recommended choice, but it did not work.

You can also post to this forum thread.

Instructions

This is not a script. You'll enter one line at a time*, and will individually respond to sudo password prompts, etc. ~-*You can also copy and paste one line at a time: To copy from the browser, use `ctrl-c`, but to paste into the terminal (at least Gnome's), use `ctrl-shift-v`.-~ Also, watch out for line wrapping! as this wiki unfortunately allows wrapping in code blocks. For that reason, I'd advise against using a narrow browser window. (Note if anyone knows how to prevent line wrapping on this wiki, feel free to fix it, or tell me how in the forum thread.) Notice that Step 1 is for all BCM43xx, the Step 2 option will depend on your card, and Step 3 is for all BCM43xx again.

Step 1: All BCM43xx - Install NDISWrapper and Blacklist Native Driver

echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist
sudo apt-get install ndiswrapper-utils-1.9
mkdir ~/bcm43xx; cd ~/bcm43xx

Step 2: Download and Extract Drivers

Pick ONLY ONE version of Step 2, depending on your card model or machine.

2007年11月30日 (六) 22:22 (CST)Model2007年11月30日 (六) 22:22 (CST) Chipset PCI ID Step 2 Version Notes
BCM4306 Step 2b
BCM4310 (rev 02) 14e4:4312 Step 2a I'm not sure which step to use for other revisions of BCM4310, but this is as good a guess as any. I'll update this if I get feedback.
BCM4311 (Rev 01) 14e4:4311 (rev 01) Step 2b In Gutsy, lspci shows this card as "Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)". Feisty shows the card as "Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01)". NOTE: A couple of users claim that step 2b didn't work but step 2a did. I'm investigating this. In the meantime, if 2b doesn't work for you, you can try 2a by doing this.
BCM4311 (Rev 02) 14e4:4311 (rev 02) Step 2a In Gutsy, lspci shows: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02)
BCM4318 (rev 01?) Step 2c (?) Is there a rev 01? In that case, my guess is step 2c.
BCM4318 (rev 02) 14e4:4318 (rev 02) Step 2c In Gutsy, lspci shows "Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)" NOTE: In Poobslag's testimonial he(?) claims that step 2c didn't work but step 2a did. I'm investigating this. In the meantime, if 2c doesn't work for you, you can try 2a by doing this.
BCM4328 (rev 01) 14e4:4328 (rev 01) Step 2d In Gutsy, lspci shows "Broadcom Corporation BCM4328 802.11a/b/g/n (rev 01)"
Other BCM43xx It looks like 2a might be good for Rev 02 devices, so I'd try that step for other Rev 02 devices. Otherwise, you could try one of the others. Please give feedback if you try and succeed or fail with other devices.
Step 2a: "BCM4310 (rev 02)" / "BCM4311 (rev 02)" Driver Download/Extraction

(Note: If you get "Couldn't find package cabextract" after line one, then enable the "universe" repository. Then, re-run line one.)

sudo apt-get install cabextract
wget ftp://ftp.compaq.com/pub/softpaq/sp34001-34500/sp34152.exe
cabextract sp34152.exe
Step 2b: "BCM4306" / "BCM4311 (Rev 01)" Driver Download/Extraction

(Note: If you get "Couldn't find package cabextract" after line one, then enable the "universe" repository. Then, re-run line one.)

sudo apt-get install cabextract
wget ftp://ftp.compaq.com/pub/softpaq/sp33001-33500/sp33008.exe
cabextract sp33008.exe
Step 2c: "BCM4318" Driver Download/Extraction
wget http://dlsvr03.asus.com/pub/ASUS/wireless/WL-100g-03/Driverv3100640.zip
unzip Driverv3100640.zip; cp Driver/WinXP/* ./
Step 2d: "BCM4328" Driver Download/Extraction

Note: I've repackaged the files from the package specified in mooky's testimonial. (This cuts the download from 52MB to less than 1MB.)

wget http://download297.mediafire.com/czzdjrxtjejg/exuymodkstx/bcm4328.zip
unzip bcm4328.zip

Step 3: All BCM43xx - Configure NDISWrapper (and WPA Supplicant)

sudo ndiswrapper -i bcmwl5.inf
ndiswrapper -l
sudo depmod -a
sudo modprobe ndiswrapper
sudo cp /etc/network/interfaces /etc/network/interfaces.orig
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
sudo ndiswrapper -m
echo 'ndiswrapper' | sudo tee -a /etc/modules
echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant

Now, REBOOT. After rebooting, you should be able to click the network manager icon. (In Gnome, it looks like two black monitors overlapping each other on the top panel.) Hopefully, you'll see the available wireless access points under "Wireless Networks" and your machine ought to try to connect to one of them if you remove your network cable (or if you select one of them with a mouse click). If you have wireless now, you're all set, and you don't need to proceed any further. However, if you'd like, you can skip way down to the bottom of this page, and go to "Cleanup," to delete the (now useless) installation directory that was left behind from the steps above.

No Luck Yet? Compile ndiswrapper from Source

You only need to do this if the Ubuntu ndiswrapper package doesn't work on your machine. For instance, Compaq F572US users report that after the above, NetworkManager doesn't show wireless networking, but report success after compiling and installing ndiswrapper from source.

Remove Stock ndiswrapper

sudo modprobe -r ndiswrapper
sudo ndiswrapper -r bcmwl5
sudo apt-get remove ndiswrapper-utils 
sudo rm -r /etc/ndiswrapper/ 
sudo rm -r /etc/modprobe.d/ndiswrapper

Now, REBOOT.

Compile and Install New ndiswrapper

~-Nov 29, 2007: Instructions now point to newly-released ndiswrapper version 1.50-~

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`
sudo ln -s /usr/src/linux-`uname -r` /lib/modules/`uname -r`/build
mkdir -p ~/bcm43xx/ndiswrapper; cd ~/bcm43xx/ndiswrapper
sudo wget http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-1.50.tar.gz -Ondiswrapper.tar.gz
tar xvzf ndiswrapper.tar.gz
cd ndiswrapper*
make distclean
make
sudo make install

Redo Some Steps That Were Undone by ndiswrapper Compilation/Installation

cd ~/bcm43xx
sudo ndiswrapper -i bcmwl5.inf
ndiswrapper -l
sudo modprobe ndiswrapper
sudo ndiswrapper -m

Now, REBOOT.

Cleanup

Now, if you'd like, you can clean up the stuff that's left behind:

rm -Rf ~/bcm43xx

Extra Reading

  • NDISwrapper Installation Documentation: The NDISwrapper-related commands are covered in detail here, as well as troubleshooting tips.
  • WifiDocs/NetworkManager: This covers NetworkManager, and the changes we made to the /etc/network/interfaces file.
  • /etc/default/wpasupplicant edits: I haven't looked into the reasons behind ENABLED=0 yet...