在MacBook Pro上安装14.04时无线网络不可用。

所以我正在尝试双启动OS X 10.8.5(原生操作系统)和Ubuntu 14.04。 我安装了Ubuntu(万岁!),但是在进入Ubuntu后,我发现操作系统无法连接到网络。我对Linux非常陌生。
我注意到一些类似的帖子,然而到目前为止,我看到的唯一的“解决方案”是放弃无线连接,购买一个USB以太网适配器。如果我在家使用这台电脑那还好。但是这是在办公室,只能使用WiFi。
有没有办法让无线适配器工作?
Mac Book Pro,Retina,13英寸,2012年末 CPU 2.5 GHz Intel Core i5 内存8GB
########## wireless info START ##########
##### release #####
Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty
##### kernel #####
Linux ______-MacBookPro 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
##### arch #####
x86_64
##### lspci #####
02:00.0 Ethernet controller [0200]: Broadcom Corporation Device [14e4:16a3] (rev 21) Subsystem: Broadcom Corporation Device [14e4:16a3] 02:00.1 SD Host controller [0805]: Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader [14e4:16bc] (rev 21)
03:00.0 Network controller [0280]: Broadcom Corporation BCM4331 802.11a/b/g/n [14e4:4331] (rev 02) Subsystem: Apple Inc. AirPort Extreme [106b:010f] Kernel driver in use: bcma-pci-bridge ##### lsusb #####
Bus 002 Device 005: ID 05ac:0259 Apple, Inc. Bus 002 Device 008: ID 05ac:828c Apple, Inc. Bus 002 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) Bus 002 Device 003: ID 0424:2512 Standard Microsystems Corp. USB 2.0 Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 05ac:8510 Apple, Inc. FaceTime HD Camera (Built-in) Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 003: ID 1058:0748 Western Digital Technologies, Inc. My Passport 1TB USB 3.0 Bus 004 Device 002: ID 2109:8110 Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0 Bus 003 Device 002: ID 2109:2811 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA Card Info #####
##### rfkill #####
0: hci0: Bluetooth Soft blocked: no Hard blocked: no
##### iw reg get #####
country 00: (2402 - 2472 @ 40), (3, 20) (2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS (2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS (5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS (5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
##### interfaces #####
# interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
##### iwconfig #####
##### route #####
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface ##### resolv.conf #####
##### nm-tool #####
NetworkManager Tool
State: disconnected
##### NetworkManager.state #####
[main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true ##### NetworkManager.conf #####
[main] plugins=ifupdown,keyfile,ofono dns=dnsmasq
[ifupdown] managed=false ##### iwlist #####
No way to aquire root rights found.
##### iwlist channel #####
##### lsmod #####
b43 387371 0 mac80211 626489 1 b43 cfg80211 484040 2 b43,mac80211 ssb 62379 1 b43 bcma 52096 1 b43
##### modinfo #####
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/b43/b43.ko firmware: b43/ucode9.fw firmware: b43/ucode5.fw firmware: b43/ucode16_mimo.fw firmware: b43/ucode15.fw firmware: b43/ucode14.fw firmware: b43/ucode13.fw firmware: b43/ucode11.fw license: GPL author: Rafał Miłecki author: Gábor Stefanik author: Michael Buesch author: Stefano Brivio author: Martin Langer description: Broadcom B43 wireless driver srcversion: BED87D210887FFC71A4BDE0 alias: bcma:m04BFid0812rev1Dcl* alias: bcma:m04BFid0812rev18cl* alias: bcma:m04BFid0812rev17cl* alias: bcma:m04BFid0812rev11cl* alias: ssb:v4243id0812rev10* alias: ssb:v4243id0812rev0F* alias: ssb:v4243id0812rev0D* alias: ssb:v4243id0812rev0C* alias: ssb:v4243id0812rev0B* alias: ssb:v4243id0812rev0A* alias: ssb:v4243id0812rev09* alias: ssb:v4243id0812rev07* alias: ssb:v4243id0812rev06* alias: ssb:v4243id0812rev05* depends: bcma,ssb,mac80211,cfg80211 intree: Y vermagic: 3.13.0-24-generic SMP mod_unload modversions signer: Magrathea: Glacier signing key sig_key: :47:4B:C5:C4:31:20:88:0C:1B:94:A5:39:F4:31 sig_hashalgo: sha512 parm: bad_frames_preempt:enable(1) / disable(0) Bad Frames Preemption (int) parm: fwpostfix:Postfix for the .fw files to load. (string) parm: hwpctl:Enable hardware-side power control (default off) (int) parm: nohwcrypt:Disable hardware encryption. (int) parm: hwtkip:Enable hardware tkip. (int) parm: qos:Enable QOS support (default on) (int) parm: btcoex:Enable Bluetooth coexistence (default on) (int) parm: verbose:Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug (int) parm: pio:Use PIO accesses by default: 0=DMA, 1=PIO (int) parm: allhwsupport:Enable support for all hardware (even it if overlaps with the brcmsmac driver) (int)
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/ssb/ssb.ko license: GPL description: Sonics Silicon Backplane driver srcversion: 3DE188310F77C566C2E8CB3 alias: pci:v000014E4d00004350sv*sd*bc*sc*i* alias: pci:v000014E4d0000432Csv*sd*bc*sc*i* alias: pci:v000014E4d0000432Bsv*sd*bc*sc*i* alias: pci:v000014E4d00004329sv*sd*bc*sc*i* alias: pci:v000014E4d00004328sv*sd*bc*sc*i* alias: pci:v000014E4d00004325sv*sd*bc*sc*i* alias: pci:v000014E4d00004324sv*sd*bc*sc*i* alias: pci:v000014E4d0000A8D6sv*sd*bc*sc*i* alias: pci:v000014E4d00004322sv*sd*bc*sc*i* alias: pci:v000014E4d00004321sv*sd*bc*sc*i* alias: pci:v000014E4d00004320sv*sd*bc*sc*i* alias: pci:v000014E4d00004319sv*sd*bc*sc*i* alias: pci:v000014A4d00004318sv*sd*bc*sc*i* alias: pci:v000014E4d00004318sv*sd*bc*sc*i* alias: pci:v000014E4d00004315sv*sd*bc*sc*i* alias: pci:v000014E4d00004312sv*sd*bc*sc*i* alias: pci:v000014E4d00004311sv*sd*bc*sc*i* alias: pci:v000014E4d00004307sv*sd*bc*sc*i* alias: pci:v000014E4d00004306sv*sd*bc*sc*i* alias: pci:v000014E4d00004301sv*sd*bc*sc*i* depends: intree: Y vermagic: 3.13.0-24-generic SMP mod_unload modversions signer: Magrathea: Glacier signing key sig_key: :47:4B:C5:C4:31:20:88:0C:1B:94:A5:39:F4:31 sig_hashalgo: sha512
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/bcma/bcma.ko license: GPL description: Broadcom's specific AMBA driver srcversion: E41B811D88783DD5BC38565 alias: pci:v000014E4d00004727sv*sd*bc*sc*i* alias: pci:v000014E4d00004365sv*sd*bc*sc*i* alias: pci:v000014E4d00004359sv*sd*bc*sc*i* alias: pci:v000014E4d00004358sv*sd*bc*sc*i* alias: pci:v000014E4d00004357sv*sd*bc*sc*i* alias: pci:v000014E4d00004353sv*sd*bc*sc*i* alias: pci:v000014E4d00004331sv*sd*bc*sc*i* alias: pci:v000014E4d0000A8D8sv*sd*bc*sc*i* alias: pci:v000014E4d00004313sv*sd*bc*sc*i* alias: pci:v000014E4d00000576sv*sd*bc*sc*i* depends: intree: Y vermagic: 3.13.0-24-generic SMP mod_unload modversions signer: Magrathea: Glacier signing key sig_key: :47:4B:C5:C4:31:20:88:0C:1B:94:A5:39:F4:31 sig_hashalgo: sha512
##### modules ##### lp rtc
##### blacklist #####
[/etc/modprobe.d/blacklist-ath_pci.conf] blacklist ath_pci
[/etc/modprobe.d/blacklist.conf] blacklist evbug blacklist usbmouse blacklist usbkbd blacklist eepro100 blacklist de4x5 blacklist eth1394 blacklist snd_intel8x0m blacklist snd_aw2 blacklist i2c_i801 blacklist prism54 blacklist bcm43xx blacklist garmin_gps blacklist asus_acpi blacklist snd_pcsp blacklist pcspkr blacklist amd76x_edac
[/etc/modprobe.d/fbdev-blacklist.conf] blacklist arkfb blacklist aty128fb blacklist atyfb blacklist radeonfb blacklist cirrusfb blacklist cyber2000fb blacklist gx1fb blacklist gxfb blacklist kyrofb blacklist matroxfb_base blacklist mb862xxfb blacklist neofb blacklist nvidiafb blacklist pm2fb blacklist pm3fb blacklist s3fb blacklist savagefb blacklist sisfb blacklist tdfxfb blacklist tridentfb blacklist viafb blacklist vt8623fb
##### udev rules #####
##### dmesg #####
[ 5.075877] bcma: bus0: Found chip with id 0x4331, rev 0x02 and package 0x09 [ 5.075904] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0) [ 5.075926] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0) [ 5.075969] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0) [ 5.136742] bcma: bus0: Bus registered [ 5.489707] b43-phy0: Broadcom 4331 WLAN found (core revision 29) [ 5.490133] b43-phy0: Found PHY: Analog 9, Type 7 (HT), Revision 1 [ 5.490749] b43 bcma0:0: Direct firmware load failed with error -2 [ 5.490750] b43 bcma0:0: Falling back to user helper [ 5.496210] b43 bcma0:0: Direct firmware load failed with error -2 [ 5.496211] b43 bcma0:0: Falling back to user helper [ 5.496741] b43 bcma0:0: Direct firmware load failed with error -2 [ 5.496741] b43 bcma0:0: Falling back to user helper [ 5.497163] b43 bcma0:0: Direct firmware load failed with error -2 [ 5.497164] b43 bcma0:0: Falling back to user helper [ 5.497850] b43-phy0 ERROR: Firmware file "b43/ucode29_mimo.fw" not found [ 5.497851] b43-phy0 ERROR: Firmware file "b43-open/ucode29_mimo.fw" not found [ 5.497852] b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
########## wireless info END ############

请按照下面链接中被接受的答案所述的步骤进行操作,以便我们能够获取所需的信息来帮助诊断问题。 http://askubuntu.com/questions/425155/my-wireless-wifi-connection-does-not-work-what-can-i-do - Wild Man
谢谢野人。脚本的输出已添加到原帖中。 - tSquirrel
3个回答

请做以下事项:
sudo apt-get update
sudo apt-get install firmware-b43-installer

如果无法连接,请重新启动并从脚本中发布一个新文件。

没有网络:

b43updated.zip文件下载到USB闪存驱动器上,然后将文件拖放到您的Ubuntu桌面上。右键单击它并选择“在此处提取”。

打开终端并执行以下操作:

sudo mkdir /lib/firmware/b43
sudo cp Desktop/b43/*  /lib/firmware/b43
sudo modprobe -rv b43 
sudo modprobe -v b43

如果重启后仍然没有出现。

apt-get对我来说不起作用,但手动下载b43updated.zip是有效的!非常感谢。 - sugab
1我可以确认这对于2011年底款Macbook Pro上的Broadcom 4331也适用。感谢@WildMan! - LanceLafontaine
在我古老的17英寸iMac(Intel Core Duo)上完美运行。谢谢! - Marc Rochkind
工作在12.04 LTS上(但是,我需要使用cd Desktop > sudo unzip b43_updated.zip -d /lib/firmware然后执行其他命令(无需重新启动)。如果解压到/lib/firmware/b43会导致.../b43/b43,然后其他命令就无法工作。非常高兴这个方法有效:花了3天时间解决这个问题。它也不能连接有线网络,但是几分钟后可以,所以这个链接很有用:https://staff.washington.edu/curreri/getting-ubuntu-12-04-and-wireless-working-on-a-powerbook-g4/ - Wolfpack'08
你能在2013年中期的Macbook Air上使用Macbook Pro的固件吗?我在这里有一个关于此问题的讨论串:http://askubuntu.com/q/779215/25388 - Léo Léopold Hertz 준영
1第二行代码必须是sudo cp Desktop/b43/* /lib/firmware/b43,因为解压后创建的文件夹名为b43。 - LoMaPh
2我曾经遇到过同样的问题,实际上并不需要直接安装任何东西:光盘中已经包含了驱动程序,只需要激活它们即可:进入设置(右上角),然后选择更新 -> 附加驱动程序 -> 在那里激活你的Broadcom无线网卡驱动程序。 - MrE
太棒了!这个回答非常好!完美地解决了问题。非常感谢你! - Eric Martindale
请记住,您需要互联网连接才能使用apt-get命令。只有在插入以太网电缆后,apt-get才能正常运行。 - Adam Tegen
@AdamTegen,答案中已经提供了在没有互联网连接的情况下安装固件的指导,它明确说明了“无互联网连接时,请按照以下步骤操作”,所以不太明白为什么还需要这个评论。而且,对于一个三年前的回答来说,个人认为已经有太多评论了,可以进行整理清理。 - Wild Man
这个解决方案在我2012年底的iMac上起作用了! - David
谢谢!在确认我早期的2009年iMac 24英寸上使用了相同的WiFi芯片组后,我按照说明进行操作,无需重新启动即可连接WiFi。这是在18.04 LTS上完成的。 - zkarj
仍然在2021年有效..点赞! - Dany Balian

我在macMini上遇到了同样的问题。
>lspci -nn
02:00.0 Network controller [0280]: Broadcom Corporation BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)

这对我有用:
sudo apt-get purge bcmwl-kernel-source broadcom-sta-common broadcom-sta-source
sudo apt-get install linux-firmware-nonfree b43-fwcutter firmware-b43-installer

然后重新启动

您需要通过手机进行USB共享网络或将网络电缆连接到计算机,以便通过互联网安装软件。

尝试在设置控制中心中使用软件更新小程序。转到驱动程序选项卡,并选择Broadcom无线设备的专有设备驱动程序。

对我来说有效。