UbuntuHelp:WifiDocs/Driver/bcm43xx/Feisty No-Fluff
来自Ubuntu中文
点击翻译: |
English |
目录
- 1 Introduction
- 2 Testimonials
- 3 Instructions
- 3.1 Step 1: All BCM43xx - Install NDISWrapper and Blacklist Native Driver
- 3.2 Step 2: Download and Extract Drivers
- 3.2.1 Step 2a: sp34152 Driver Download/Extraction
- 3.2.2 Step 2b: sp33008 Driver Download/Extraction
- 3.2.3 Step 2c (Deprecated): Driverv3100640 Driver Download/Extraction
- 3.2.4 Step 2d: R151517 Driver Download/Extraction
- 3.2.5 Step 2e: R174291 Driver Download/Extraction
- 3.2.6 Step 2f: WPC54Gv2 Driver Download/Extraction
- 3.3 Step 3: All BCM43xx - Configure NDISWrapper (and WPA Supplicant)
- 4 Hardy Bug Fix
- 5 No Luck Yet? Compile ndiswrapper from Source
- 6 Cleanup
- 7 Extra Reading
Introduction
(Note: With the 2.6.22-14-generic kernel upgrade, there may be a problem with DHCP when encryption is enabled on the router. I'll look into this.) 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 manager) 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 (19 Apr 2008): I'm getting mixed feedback from Hardy Heron (version 8.04) beta testers. There is a bug with (ssb) module loading (bug 1 bug 2) that prevents ndiswrapper from working properly for some users. There are workarounds listed on those bug reports, and I have condensed and incorporated one such workaround in this article. Give this guide a try, but if the howto fails, please come over to the accompanying forum thread, and be sure to give detailed symptom descriptions, and include the output of `lshw -C network`. Hardy users, please hold off on giving failure testimonials, as I can't yet claim that this guide is fully-baked for Hardy. 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 | grep '14e4:43'`
- 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
- If you're on Hardy, whether you had to apply the "Hardy Bug Fix" workaround or not, and if you used it, which version 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 |
(on behalf of) besseresser | Success | Nov 5, 2007 | I have an HP G7000 laptop. Everything seems to work fine, except the laptop's w-lan on/off switch, It does nothing. I didn't have to compile ndiswrapper manually, and step 2a was used.; Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02); 14e4:4311 (rev 02); Ubuntu 7.10; 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 |
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. |
(on behalf of) HW_Hack | Success | Dec 3, 2007 | Dell Inspiron B130; Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02); 14e4:4318 (rev 02); Ubuntu 7.04; 2.6.20-16-generic i686; No boot options used; compiled ndiswrapper; step 2c |
(on behalf of) aatiis | Success | Dec 5, 2007 | HP nx6325; Broadcom Corporation BCM4312 802.11a/b/g (rev 01); 14e4:4312 (rev 01); Kubuntu 7.10; 2.6.22-14-generic x86_64; no extra boot options; Step 2b; compiled ndiswrapper: The reason I have compiled ndiswrapper 1.50 is that I tried with the wrong windows driver first, so I thought that was the problem. I think it should have worked with the binaries from the repo. |
JayeshPuthukkara | Success | DEC 10, 2007 | HP Compaq 6710b; 10:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 02); 10:00.0 0280: 14e4:4312 (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) Steenmeijer | Success | Dec 5, 2007 | Acer Aspire 9305AWSMi; Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01); 14e4:4311 (rev 01); Ubuntu 7.10 - Fresh install; 2.6.22-14-generic i686; No compiling NDISWrapper; Step 2b |
(on behalf of) benson | Success | Dec 8, 2007 | Acer Aspire 4310; Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01); 14e4:4311 (rev 01); Ubuntu 7.10 2.6.22-14-generic i686; No boot options; Did not compile ndiswrapper; Step 2b |
(on behalf of) kvonb | Success | Dec 15, 2007 | Hewlett Packard Pavilion 6645eg (KA057EA#ABD) laptop; Broadcom Corporation BCM4312 802.11a/b/g (rev 02); 14e4:4312 (rev 02); Ubuntu 7.10; 2.6.22-14-generic i686; NO extra boot options; standard ndiswrapper from repos; used step 2a (sp34152.exe); The wireless didn't work with the "restricted driver", [but this guide worked]; [using WPA2]; [running at 54mbps] |
RomanBrodylo | Success | Dec 18, 2007 | HP Compaq 6715b; BCM4312 802.11a/b/g (rev 02); Ubuntu 7.10 2.6.22-14-generic x86_64; WPA, 54Mb/s; step 2a |
Evert Mantel | Success | Dec 19, 2007 | HP dv6550; BCM4312 802.11a/b/g (rev 02); Ubuntu 7.10 2.6.22-14-generic x86_64; WPA, 54Mb/s; step 2a; only after update to 2.6.22.14; before it didn't work |
Hayke | Success | Dec 28, 2007 | Compaq Presario C710ED; Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02); chipset:01:00.0 0280: 14e4:4311 (rev 02); Ubuntu 7.10 2.6.22-14-generic i686; No compilation of ndiswrapper needed; I did encounter problems with wget (compaq-ftp-server down...). In step 2a I downloaded the file manually from HP Support site. Native restricted driver in Ubuntu 7.10 (Gutsy) did recognize the broadcom device, but didn't manage to find wireless networks with nm-applet. This Ndiswrapper solution works flawless. |
(on behalf of) bhavinjo | Success | Dec 28, 2007 | Gateway 7508GX laptop; Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02); 14e4:4318 (rev 02); Ubuntu 7.10; 2.6.22-14-generic i686; no extra boot options; no ndiswrapper compilation needed; step 2c |
(on behalf of) jbloodwo | Success* | Dec 30, 2007 | Dell Vostro 1400; Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03); 14e4:4328 (rev 03); Ubuntu 7.10; 2.6.22-14-generic x86_64; no extra boot options; no ndiswrapper compilation needed; 2d; *The only strange this is I was not aple to get DHCP to assign an ip adress after entering my wepkey until after i assigned a static adress and then went back to DHCP. anyway I am posting this from 7.10 and all is working well with the wireless. |
Chris Strobel | Success | Dec 31, 2007 | Dell Vostro 1000; BCM94311MCG 802.11a/b/g (rev 01); Ubuntu 7.10 2.6.22-14-generic x86_64; Seems to work as expected, no additional steps needed. But mysteriously the bootscreen is not showing anymore, only a black screen until gdm appears. |
xobes | Success | Jan 5, 2008 | Compaq Presario C700 (C714NR); BCM94311MCG wlan mini-PCI (rev 02); Ubuntu 7.10 2.6.22-14-generic x86_64; Works great so far! One note is that step 2a, the file was not readily available from the compaq ftp site so I had to find it elsewhere. |
brettpim | Success | 25 Jan 2008 | Dell Latitude X300; lspci == "Network controller: Broadcom Corporation BCM4309 802.11a/b/g (rev 02)"; Chipset == 14e4:4324 (rev 02); Ubuntu 7.10; uname -mr = "2.6.22-14-generic i686"; Used step 2b; using non-compiled ndiswrapper gave me some functionality, but I had to start all networking from command line; compiling ndiswrapper gave me full gui functionality! Thanks! |
RarSa | Success | 26 Jan 2008 | HP Pavillion dv6105us; lspci == "Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)"; Chipset == 14e4:4311 (rev 01); Ubuntu 7.10; uname -mr = "2.6.22-14-generic i686"; Used step 2b; using latest ndiswrapper-common. WEP with static IP |
giocip | Success | 1 Feb 2008 | Dell Latitude D620; lspci == "Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)"; Chipset == 0c:00.0 0280: 14e4:4311 (rev 01); Ubuntu 7.10; uname -mr = "2.6.22-14-generic i686"; Used step 2b; Didn't have to compile NDISWrapper, process worked well, I'm adding this comment using my newly established wireless connection. |
cressie176 | Success | 24 Feb 2008 | Dell Inspiron 1525; lspci == "Broadcom Corporation BCM4310 USB Controller (rev 01)"; 14e4:4315; Ubuntu 7.10; uname -mr == "2.6.22-14-generic i686"; Unfortunately I couldn't get things running following just this post alone, however working from similar instructions at http://linux.dell.com/wiki/index.php/Tech/Wireless/Truemobile_ndiswrapper, using the driver from ftp://ftp.us.dell.com/network/R174291.exe, WPA configuration as per http://ubuntuforums.org/showthread.php?t=202834 and the reboot fix from http://ubuntuforums.org/showthread.php?p=3679330. Now I'm cooking with gas. FTR I tried the restricted driver manager and wicd without success. ~-(Editor's Update: I've incorporated this driver into this howto as step 2e. At least two users have used this guide and 2e successfully, so it appears that the other steps that cressie176 outlines are not necessary.)-~ |
KutsaraTinidor | Success | 12 March 2008 | HP Pavillion DV2740SE-04:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)-04:00.0 0280: 14e4:4315 (rev 01)-Ubuntu 7.10-2.6.22-14-generic i686-No extra boot options-Compiled ndiswrapper 1.52-Followed Step 2e without extra instructions |
Kyuss | Success | 16 March 2008 | Lenovo (IBM) 3000 C200 with Broadcom BCM94311MCG PCIE (rev 01) Step 2a. Working great |
Danr | Success | 16 March 2008 | Acer Aspire 7003 with BCM4318 (rev 02). Step 2a NOT step 2c works great for me |
Applegeek | Success | 23 March 2008 | HP Pavillion DV2740SE-04:00.0 Network controller: BrInboxoadcom Corporation BCM4310 USB Controller (rev 01)-04:00.0 0280: 14e4:4315 (rev 01)-Ubuntu 7.10-2.6.22-14-generic i686-No extra boot options-Compiled ndiswrapper 1.52- Then Followed Step 2e. Interesting that the chip is a bcm4312, but it identifies as a bcm4310. Hardy Alpha 6 fails to see the chip at all with b43 drivers |
Danuel | Success | 30 March 2008 | grep Broadcom ? 04:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01); lspci -n | grep 14e4:43 ? 04:00.0 0280: 14e4:4315 (rev 01); lsb_release -d ? Description: Ubuntu hardy (development branch); uname -mr ? 2.6.24-12-generic x86_64. Speed test on LAN 2.6 MB/sec (~20Mbits/sec, not bad!). If anyone else has this laptop, please help contribute to http://nohair.com/code/computers:ubuntu:hp_pavilion_dv2718us , the community docs wiki server was prohibitively slow when I was testing the laptop. Once we are done with the page, we can move it to the community docs InboxUbuntuWiki:LaptopTestingTeam/HPdv2718us. Thanks for a job done well JamieJackson. I wish all the pages were so concise without Fluff |
Alienmike | Success | 12 April 2008 | Gateway MX6421 with Broadcom BCM4318; using Ubuntu 7.04 - the Feisty Fawn i needed to Compile ndiswrapper from Source and 2c didnt work for me, 2a works Great |
Antonello | Partial Success | 19 April 2008 | On Ubuntu 8.04 beta there is a bug that forbids ndiswrapper to works with BCM4311. Unloading the ssb module and then loading it back AFTER ndiswrapper solves the problem (see: https://bugs.launchpad.net/bugs/218763). |
KyleWegner | Success | 26 April 2008 | Dell Latitude C840, using a Linksys WPC54G PCI card on Hardy. Successfully used step 2b & the hardy bug fix (v0.1) described below. Thanks! |
JamieJackson | SPECIAL NOTE | 26 Apr 2008 | !!! Thanks for the feedback folks, but the details are getting a bit sparse. Please look at the top of these testimonial, and provide all of the information specified in the bulleted list. The details provide the clues needed for the detective work that keeps this tutorial current and concise. Thanks! !!! |
Hannes | Success | 27 April 2008 | HP nc6220; Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02); 02:04.0 0280: 14e4:4318 (rev 02); Ubuntu 8.04; 2.6.24-16-generic i686. I did not have to compile ndiswrapper. I used step 2a, since I knew this worked for me in Ubuntu 7.10, I did not try step 2c. I had to use the "Hardy Bug Fix" (v0.1). Thanks!! (Editor's Note: This clinches it, I'm making 2a the official driver of the 14e4:4318 (rev 02) ) |
Luppi | Success | 28 April 2008 | Dell Inspiron 1525;Broadcom Corporation BCM4312 802.11a/b/g (rev 01); 0b:00.0 0280: 14e4:4312 (rev 01);running on 8.04 (Hardy); 2.6.24.16-generic i686 - 32bit. Followed straight thru using step 2b and got the Hardy Bug Fix (v0.1) too - simply solved with the hint. Tnks! |
Spajdi88 | Success | 28 April 2008 | Acer Aspire 5720ZG, Ubuntu 8.04, kernel 2.6.24-16-generic x86_64, BCM94311MCG wlan mini-PCI(rev 01). I used step 2a and had to use "Hardy bug fix" (v0.1)but now everything works fine and wpa_supplicant is working too i'm able to access WPA2 networks, very good manual thanks a lot ! |
sayeo87 | Success | 28 April 2008 | HP dv6000z, Ubuntu 8.04, kernel 2.6.24-16-generic i686, Broadcom Corporation BCM4312 802.11a/b/g (rev 01). Didn't have to compile ndiswrapper. I used step 2b and had to use "Hardy bug fix" (v0.1) but everything worked instantly! "Out of the box", only bluetooth was working but now both bluetooth and wireless works! Keep up the great work! |
auslander | Success | 1 May 2008 | HP 2133, Ubuntu 8.04, kernel 2.6.24-16-generic i686, Broadcom Corporation BCM4312 802.11a/b/g (rev 02). Didn't have to compile ndiswrapper. I used step 2a and had to use "Hardy bug fix" (v0.3) Everything works great -- this is the little VIA C7-M based HP eeepc compeditor |
You can also post to this forum thread.Inbox
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. In order to identify your device's chipset, run `lspci -n | grep '14e4:43'`
2008年5月10日 (六) 08:39 (CST)Model2008年5月10日 (六) 08:39 (CST) | Chipset PCI ID | Step 2 Version | Notes |
BCM4306 | Step 2b | ||
BCM4306 (rev 02) | 14e4:4320 (rev 02) | Step 2f | In Feisty & Hardy (and probably Gutsy), lspci shows: "Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)" (This is also reported to be the chipset of the Linksys WPC54G version 2.) |
BCM4310 (rev 01) | 14e4:4315 | Step 2e | In Gutsy, lspci shows "Broadcom Corporation BCM4310 USB Controller (rev 01)". |
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 2a* | 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: I used to recommend 2b for this card, but for some folks, only 2a would work. I now have a feeling that 2a will work for everyone, so try 2a before falling back to the old 2b. If you need to remove one step 2, and try the other, see this. If 2a doesn't work, try 2b before resorting to ndiswrapper compilation. |
BCM4311 (Rev 02) | 14e4:4311 (rev 02) | Step 2a | In Gutsy, lspci shows: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02) |
BCM4312 (rev 01) | 14e4:4312 (rev 01) | Step 2b | In Gutsy, lspci shows: Broadcom Corporation BCM4312 802.11a/b/g (rev 01) |
BCM4312 (rev 02) | 14e4:4312 (rev 02) | Step 2a | In Gutsy, lspci shows: Broadcom Corporation BCM4312 802.11a/b/g (rev 02) |
BCM4318 (rev 01?) | ? | Step 2a (?) | Is there a rev 01? In that case, my guess is step 2a. |
BCM4318 (rev 02) | 14e4:4318 (rev 02) | Step 2a* | In Gutsy (& Hardy), lspci shows "Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)" *NOTE: I used to recommend 2c for this card, but for some folks, only 2a would work. I now have a feeling that 2a will work for everyone, so try 2a before falling back to the (thought to be deprecated) 2c. If you need to remove one step 2, and try the other, see this. If 2a doesn't work, try 2c before resorting to ndiswrapper compilation. |
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 03) | 14e4:4328 (rev 03) | Step 2d | In Gutsy, lspci shows "Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03)" NOTE: There has only been one person who has tried this card with this howto. He tried it with 64 bit Hardy, and it worked for the most part; HOWEVER, even after a lot of work troubleshooting, he was unable to get WPA working. Check out this post and his subsequent ones. |
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: sp34152 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.) (Also note: These download sites are flaky. Try `wget ftp://ftp.hp.com/pub/softpaq/sp34001-34500/sp34152.exe` if the listed wget doesn't work.)
sudo apt-get install cabextract wget ftp://ftp.compaq.com/pub/softpaq/sp34001-34500/sp34152.exe cabextract sp34152.exe
Step 2b: sp33008 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.) (Also note: These download sites are flaky. Try `wget ftp://ftp.hp.com/pub/softpaq/sp33001-33500/sp33008.exe` if the listed wget doesn't work.)
sudo apt-get install cabextract wget ftp://ftp.compaq.com/pub/softpaq/sp33001-33500/sp33008.exe cabextract sp33008.exe
Step 2c (Deprecated): Driverv3100640 Driver Download/Extraction
wget http://dlsvr03.asus.com/pub/ASUS/wireless/WL-100g-03/Driverv3100640.zip unzip Driverv3100640.zip; cp Driver/WinXP/* ./
Step 2d: R151517 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://myspamb8.googlepages.com/R151517-pruned.zip unzip R151517-pruned.zip
Step 2e: R174291 Driver Download/Extraction
Note: I've repackaged the files from the package specified in cressie176's testimonial. (This cuts the download from near 100MB to less than 1MB.)
wget http://myspamb8.googlepages.com/R174291-pruned.zip unzip R174291-pruned.zip
Step 2f: WPC54Gv2 Driver Download/Extraction
Note: I've repackaged the files from the Linksys site (WPC54G version 2). Also, I've renamed the original `lsbcmnds.inf` file to the usual `bcmwl5.inf` to maintain consistency with the other step 2 versions.
wget http://myspamb8.googlepages.com/WPC54Gv2_40826-pruned.zip unzip WPC54Gv2_40826-pruned.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
Hardy Heron (Ubuntu 8.04) users: Issue the command `lshw -C network`. If the wireless interface says "module=ssb" instead of "module=ndiswrapper", you've got a problem, so jump to the next section, "Hardy Bug Fix," and then jump right back here. You should be able to click the network manager icon--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.
Hardy Bug Fix
~-(Consider this a "beta" step. I need to hear back from some users to consider this a "solid" workaround.) To get back to me, please comment on the accompanying forum thread.)-~ If you type in `lshw -C network` you might "module=ssb" instead of "module=ndiswrapper" This is because Hardy has a module loading bug that takes control away from ndiswrapper. To re-load the modules in the proper order, issue the following set of commands. Ignore potential errors from the first three commands, but let me know about any errors from `sudo rmmod ssb` down:
Trying It Temporarily
sudo rmmod b43 sudo rmmod b44 sudo rmmod b43legacy #this step added Apr 27 2008 sudo rmmod ssb sudo rmmod ndiswrapper sudo modprobe ndiswrapper sudo modprobe ssb sudo modprobe b44 #this step added May 1 2008
Hopefully, `lshw -C network` will show your wireless interface to have "module=ndiswrapper" instead of "module=ssb." You should also see wireless APs in NetworkManager (see the second-to-last paragraph of the last heading for details). HOWEVER, the above commands are NOT PERMANENT, and won't persist through a reboot. Don't bother making this permanent if it didn't work from the command line, but if it did work, make it permanent...
Making It Permanent
The following are experimental methods to get the device working upon reboot. All of these are long commands, so watch for line wraps!
Modifying /etc/modprobe.d/ndiswrapper
Version 0.3
This seems like a much slicker solution than the previous versions (listed below), but it's unproven. This will customize how ndiswrapper loads:
echo -e '#Hardy ssb/ndiswrapper workaround, added' `date` '\ninstall ndiswrapper modprobe -r b43 b44 b43legacy ssb; modprobe --ignore-install ndiswrapper $CMDLINE_OPTS; modprobe ssb; modprobe b44;' | sudo tee -a /etc/modprobe.d/ndiswrapper
Modifying /etc/init.d/rc.local
~-Note: I'm not an init script guru, so let me know if this isn't the best place for this block of code. FYI, this command will add some module removal/addition scripts to /etc/init.d/rc.local, and should theoretically re-order the loading of the offending (ssb) module at boot-time. To give me feedback on this, please comment on the accompanying forum thread.-~
Version 0.2
This is the "version 0.2 version of this part: Version 0.1 didn't re-load b44, which is needed on some machines for Broadcom wired NICs.
echo -e '\n#hardy ssb bug-fix\nrmmod b43\nrmmod b44\nrmmod b43legacy\nrmmod ssb\nrmmod ndiswrapper\nmodprobe ndiswrapper\nmodprobe ssb\nmodprobe b44' | sudo tee -a /etc/init.d/rc.local
Version 0.1
This is the "version 0.1 version of this part:
echo -e '\n#hardy ssb bug-fix\nrmmod b43\nrmmod b44\nrmmod b43legacy\nrmmod ssb\nrmmod ndiswrapper\nmodprobe ndiswrapper\nmodprobe ssb' | sudo tee -a /etc/init.d/rc.local
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. For Gutsy and Hardy users, it's pretty unlikely that you need to compile ndiswrapper, as this package is reasonably up-to-date in those releases.
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-~
- ~-Dec 09, 2007: Instructions now point to newly-released ndiswrapper version 1.51-~
- ~-Mar 07, 2008: Instructions now point to newly-released ndiswrapper version 1.52-~
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.52.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...