我知道这个问题已经在这个论坛上被提出过很多次了,但是在搜索了近 3 个小时的解决方案之后,我已经到了极限。
我有一台 2008 年的 Macbook(不是 Macbook pro)。我之前使用的是 10.04,但今天我升级到了 12.04 LTS。现在,我的无线网不再能用了。
这是我的设备:
02:00.0 Network controller: Broadcom Corporation BCM4321 802.11a/b/g/n (rev 03)
以下是我尝试过但最终没有奏效的一些事情:
使用附加驱动程序获取 STA。一开始它甚至不让我下载。不知怎的,它让我下载,但一直说“驱动程序当前未在使用中”。
http://techdc.blogspot.com/2011/02/ubuntu-broadcom-wireless-sta-driver.html
firmware-linux-nonfree
通过 synaptics 进行封装。b43
我尝试了十几种其他方法,但我甚至记不清了。请帮忙!
我还查看了:
6.)2008 年 MacBook WiFi 无法与 Ubuntu 13.04 兼容
这实际上导致了另一个论坛帖子,而该帖子又导致了 4。)
这是@的输出野人的无线诊断脚本:
*************** info trace ***************
***** uname -a *****
Linux Doolie 3.2.0-52-generic #78-Ubuntu SMP Fri Jul 26 16:23:24 UTC 2013 i686 i686 i386 GNU/Linux
***** lsb_release *****
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
***** lspci *****
02:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 03)
Subsystem: Apple Inc. Device [106b:0088]
Kernel modules: ssb, wl
03:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8058 PCI-E Gigabit Ethernet Controller [11ab:436a] (rev 13)
Subsystem: Marvell Technology Group Ltd. Device [11ab:00ba]
Kernel driver in use: sky2
***** lsusb *****
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05ac:8300 Apple, Inc. Built-in iSight (no firmware loaded)
Bus 003 Device 003: ID 05ac:8205 Apple, Inc. Bluetooth HCI
Bus 007 Device 002: ID 05ac:8242 Apple, Inc. IR Receiver [built-in]
Bus 007 Device 003: ID 05ac:0229 Apple, Inc. Internal Keyboard/Trackpad (MacBook Pro) (ANSI)
***** PCMCIA Card Info *****
***** iwconfig *****
***** rfkill *****
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
***** lsmod *****
isight_firmware 12586 0
***** nm-tool *****
NetworkManager Tool
State: connected (global)
- Device: eth0 [Wired connection 1] -------------------------------------------
Type: Wired
Driver: sky2
State: connected
Default: yes
HW Address: <MAC address removed>
Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.1.43
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1
DNS: 192.168.1.1
***** NetworkManager.state *****
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
***** NetworkManager.conf *****
[main]
plugins=ifupdown,keyfile
dns=dnsmasq
[ifupdown]
managed=false
***** interfaces *****
auto lo
iface lo inet loopback
***** iwlist *****
***** resolv.conf *****
nameserver 127.0.0.1
search myhome.westell.com
***** blacklist *****
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma
[/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 garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
blacklist ssb
[/etc/modprobe.d/libpisock9.conf]
blacklist visor
***** modinfo *****
***** udev rules *****
# PCI device 0x11ab:0x436a (sky2)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x14e4:0x4328 (ndiswrapper)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
***** dmesg *****
[ 36.874019] wl: module license 'MIXED/Proprietary' taints kernel.
[ 36.877635] wl: disagrees about version of symbol cfg80211_scan_done
[ 36.877640] wl: Unknown symbol cfg80211_scan_done (err -22)
[ 36.877677] wl: disagrees about version of symbol cfg80211_disconnected
[ 36.877679] wl: Unknown symbol cfg80211_disconnected (err -22)
[ 36.877702] wl: disagrees about version of symbol wiphy_register
[ 36.877704] wl: Unknown symbol wiphy_register (err -22)
[ 36.877710] wl: disagrees about version of symbol wiphy_new
[ 36.877712] wl: Unknown symbol wiphy_new (err -22)
[ 36.877717] wl: disagrees about version of symbol cfg80211_roamed
[ 36.877719] wl: Unknown symbol cfg80211_roamed (err -22)
[ 36.877728] wl: disagrees about version of symbol lib80211_get_crypto_ops
[ 36.877730] wl: Unknown symbol lib80211_get_crypto_ops (err -22)
[ 36.877739] wl: disagrees about version of symbol cfg80211_ibss_joined
[ 36.877742] wl: Unknown symbol cfg80211_ibss_joined (err -22)
[ 36.877751] wl: disagrees about version of symbol cfg80211_michael_mic_failure
[ 36.877753] wl: Unknown symbol cfg80211_michael_mic_failure (err -22)
[ 36.877757] wl: disagrees about version of symbol cfg80211_connect_result
[ 36.877759] wl: Unknown symbol cfg80211_connect_result (err -22)
[ 36.877772] wl: disagrees about version of symbol wiphy_unregister
[ 36.877774] wl: Unknown symbol wiphy_unregister (err -22)
[ 36.877783] wl: disagrees about version of symbol cfg80211_get_bss
[ 36.877786] wl: Unknown symbol cfg80211_get_bss (err -22)
[ 36.877793] wl: disagrees about version of symbol __ieee80211_get_channel
[ 36.877795] wl: Unknown symbol __ieee80211_get_channel (err -22)
[ 36.877819] wl: disagrees about version of symbol cfg80211_inform_bss_frame
[ 36.877821] wl: Unknown symbol cfg80211_inform_bss_frame (err -22)
[ 36.877832] wl: disagrees about version of symbol wiphy_free
[ 36.877834] wl: Unknown symbol wiphy_free (err -22)
****************** done ******************
答案1
您的设备可以使用 b43 驱动程序,因此让我们尝试使用它。
sudo apt-get purge bcmwl-kernel-source
上述命令可能会说未安装,如果是这样,请不要担心。
然后做:
sudo apt-get install linux-firmware-nonfree
sudo modprobe b43
请执行以下操作:
sudo gedit /etc/modprobe.d/blacklist.conf
然后删除:
blacklist ssb
blacklist b43
blacklist bcma
然后保存,关闭 gedit 并重新启动。
答案2
这应该可以解决问题:
sudo apt-get install linux-headers-generic
sudo apt-get install --reinstall bcmwl-kernel-source