我三天前刚刚创建了 LiveUSB,并且一直在阅读论坛上关于如何让 WiFi 卡正常工作的信息。以下是我目前所做的工作:
冉:
sudo apt-get update
冉:
sudo apt-get upgrade
冉:
sudo-apt get install linux-firmware-nonfree
找到了这个主题:在网络和无线 - Ubuntu 论坛上发帖之前
然后跑:
wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script
运行lspci
后得到了这个:
Network Controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
在“首选项→附加驱动程序”中,显示:Broadcom 公司:BCM4312 802.11b/g
该设备不工作(下面有两个选择,其中第二个选择突出显示):
使用来自 bcmwlkernal 的 Broadcom 802.11 Linux STA 无线驱动程序源(专有)
请勿使用此设备
值得注意的是:我看到一个页面列出了各种卡的升级,其中列出了 4312,但没有列出 rev 01。
以下是无线脚本的输出:
########## wireless info START ##########
##### release #####
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
##### kernel #####
Linux lubuntu 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux
##### lspci #####
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
Subsystem: Lenovo IdeaPad S10e [17aa:3a23]
Kernel driver in use: tg3
05:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Subsystem: Broadcom Corporation Device [14e4:04b5]
Kernel driver in use: b43-pci-bridge
##### lsusb #####
Bus 001 Device 004: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 001 Device 003: ID 5986:0241 Acer, Inc BisonCam, NB Pro
Bus 001 Device 002: ID 13fe:4100 Kingston Technology Company Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
##### PCMCIA Card Info #####
##### rfkill #####
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
##### lsmod #####
b43 356470 0
bcma 42043 1 b43
mac80211 545990 1 b43
cfg80211 409394 2 b43,mac80211
ssb 51854 1 b43
##### iw reg get #####
##### 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
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
##### resolv.conf #####
nameserver 127.0.1.1
search dc.dc.cox.net
##### nm-tool #####
NetworkManager Tool
State: connected (global)
- Device: eth0 [Wired connection 1] -------------------------------------------
Type: Wired
Driver: tg3
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.0.114
Prefix: 24 (255.255.255.0)
Gateway: 192.168.0.1
DNS: 192.168.0.1
##### NetworkManager.state #####
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
##### NetworkManager.conf #####
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
##### iwlist #####
##### iwlist channel #####
##### 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 686
signer: Magrathea: Glacier signing key
sig_key: <MAC address removed>:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
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/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 686
signer: Magrathea: Glacier signing key
sig_key: <MAC address removed>:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512
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 686
signer: Magrathea: Glacier signing key
sig_key: <MAC address removed>:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512
##### modules #####
##### 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
[/etc/modprobe.d/libpisock9.conf]
blacklist visor
##### udev rules #####
# PCI device 0x14e4:0x1713 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
##### dmesg #####
[ 12.748344] ssb: Found chip with id 0x4312, rev 0x01 and package 0x00
[ 12.748375] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x16, vendor 0x4243)
[ 12.748399] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x0F, vendor 0x4243)
[ 12.748421] ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x0A, vendor 0x4243)
[ 12.748444] ssb: Core 3 found: PCI-E (cc 0x820, rev 0x09, vendor 0x4243)
[ 12.829172] ssb: Sonics Silicon Backplane found on PCI device 0000:05:00.0
[ 45.398043] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
[ 45.463937] b43-phy0: Found PHY: Analog 6, Type 5 (LP), Revision 1
[ 45.491892] b43 ssb0:0: Direct firmware load failed with error -2
[ 45.491906] b43 ssb0:0: Falling back to user helper
[ 46.494989] b43 ssb0:0: Direct firmware load failed with error -2
[ 46.495003] b43 ssb0:0: Falling back to user helper
[ 46.673972] b43 ssb0:0: Direct firmware load failed with error -2
[ 46.673986] b43 ssb0:0: Falling back to user helper
[ 46.704647] b43 ssb0:0: Direct firmware load failed with error -2
[ 46.704660] b43 ssb0:0: Falling back to user helper
[ 46.772913] b43-phy0 ERROR: Firmware file "b43/ucode15.fw" not found
[ 46.772918] b43-phy0 ERROR: Firmware file "b43-open/ucode15.fw" not found
[ 46.772924] 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 ############
答案1
从您的 wireless_script 中:
b43-phy0 错误:未找到固件文件“b43/ucode15.fw”
固件安装似乎失败。在以太网和互联网连接的情况下,请执行以下操作:
sudo apt-get install linux-firmware-nonfree
sudo modprobe -r b43
sudo modprobe b43
现在它应该可以工作了。
无需在“网络连接”中输入任何设置。如果单击网络管理器图标,您将看到一个可供选择的网络列表。单击您的网络,系统将要求您输入 WPA2 密码。输入密码并连接。请参阅:http://www.eui.eu/Images-2011/ServicesAdmin/ComputingService/eduroam/eduroamUbuntu(1).png
答案2
我在 ubuntu 15 上。我的旧戴尔 Inspiron 无法识别我的 bcm 4312 14e4 4315 rev01 无线适配器,所以这是唯一有效的方法,但你需要有线连接来安装 b43
首先
sudo software-properties-gtk
选择所有可用的选项复选框 确保有线连接已插入
sudo apt-get update
sudo apt-get install firmware-b43-installer
接下来全部执行
sudo modprobe -r b43 bcma
sudo modprobe -r brcmsmac bcma
sudo modprobe -r wl
可能未找到模块 wl
下一个
sudo modprobe b43
稍等片刻,然后检查无线活动。飞行模式已打开,我关闭了飞行模式,wifi 首次正常工作。这是 ubuntu live usb 设置,所以我需要切换到 b43 而不是重新启动,但我认为它效果更好。无论如何,我更喜欢坚持使用 live 操作系统,如果我安装操作系统,我只会坚持使用 windows