尝试设置无线

尝试设置无线

我正在尝试在安装了最新 Ubuntu 的 vostro 1520 dell 笔记本电脑上设置无线。以下是我被告知要运行的一些命令的输出:

lshw-C 网络

viggy@ubuntu:~$ lshw -C network
WARNING: you should run this program as super-user.
  *-network               
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: eth0
       version: 03
       serial: 00:24:e8:da:84:25
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168d-1.fw ip=192.168.2.6 latency=0 multicast=yes port=MII speed=100Mbit/s
       resources: irq:47 ioport:3000(size=256) memory:f6004000-f6004fff memory:f6000000-f6003fff memory:f6020000-f603ffff
  *-network
       description: Network controller
       product: BCM4312 802.11b/g LP-PHY
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:0e:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=b43-pci-bridge latency=0
       resources: irq:18 memory:fa000000-fa003fff
  *-network DISABLED
       description: Wireless interface
       physical id: 1
       logical name: wlan0
       serial: 0c:60:76:05:ee:74
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=b43 driverversion=3.2.0-29-generic firmware=N/A multicast=yes wireless=IEEE 802.11bg

串行通信

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
0e:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
1a:00.0 FireWire (IEEE 1394): O2 Micro, Inc. Device 10f7 (rev 01)
1a:00.1 SD Host controller: O2 Micro, Inc. Device 8120 (rev 01)
1a:00.2 Mass storage controller: O2 Micro, Inc. Device 8130 (rev 01)

系统配置

lo        no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

eth0      no wireless extensions.

** 更新 **

以下是运行 sudo apt-get install firmware-b43-lpphy-installer 的输出:

Reading package lists... Done 
Building dependency tree       
Reading state information... Done 
The following package was automatically installed and is no longer required: 
  dkms 
Use 'apt-get autoremove' to remove them. 
The following packages will be REMOVED: 
  firmware-b43-installer 
The following NEW packages will be installed: 
  firmware-b43-lpphy-installer 
0 upgraded, 1 newly installed, 1 to remove and 79 not upgraded. 
Need to get 3,390 B of archives. 
After this operation, 1,024 B disk space will be freed. 
Do you want to continue [Y/n]? y 
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/multiverse firmware-b43-lpphy-installer all 1:015-9 [3,390 B] 
Fetched 3,390 B in 0s (27.3 kB/s)                         
(Reading database ... 187405 files and directories currently installed.) 
Removing firmware-b43-installer ... 
Selecting previously unselected package firmware-b43-lpphy-installer. 
(Reading database ... 187402 files and directories currently installed.) 
Unpacking firmware-b43-lpphy-installer (from .../firmware-b43-lpphy-installer_1%3a015-9_all.deb) ... 
Setting up firmware-b43-lpphy-installer (1:015-9) ... 
No chroot environment found. Starting normal installation 
--2012-11-06 00:50:49--  http://downloads.openwrt.org/sources/broadcom-wl-4.178.10.4.tar.bz2 
Resolving downloads.openwrt.org (downloads.openwrt.org)... 78.24.191.177 
Connecting to downloads.openwrt.org (downloads.openwrt.org)|78.24.191.177|:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 5986780 (5.7M) [application/octet-stream] 
Saving to: `broadcom-wl-4.178.10.4.tar.bz2' 

100%[================================>] 5,986,780   1.59M/s   in 5.3s    

2012-11-06 00:50:55 (1.07 MB/s) - `broadcom-wl-4.178.10.4.tar.bz2' saved [5986780/5986780] 

broadcom-wl-4.178.10.4/ 
broadcom-wl-4.178.10.4/config/ 
broadcom-wl-4.178.10.4/config/wlconfig_nomimo 
broadcom-wl-4.178.10.4/config/wlconfig_lx_router_apsta_1chipG 
broadcom-wl-4.178.10.4/config/wlconfig_lx_wl_sdstd 
broadcom-wl-4.178.10.4/config/wlconfig_lx_shared 
broadcom-wl-4.178.10.4/config/diffupdate.sh 
broadcom-wl-4.178.10.4/config/wlconfig_lx_router_ap_1chipG 
broadcom-wl-4.178.10.4/config/wlconfig_lx_router_ap 
broadcom-wl-4.178.10.4/config/wlconfig_lx_router_ap_sdstd 
broadcom-wl-4.178.10.4/config/wl.mk 
broadcom-wl-4.178.10.4/config/wltunable_lx_router.h 
broadcom-wl-4.178.10.4/config/wlconfig_lx_router_sta 
broadcom-wl-4.178.10.4/config/wl_default 
broadcom-wl-4.178.10.4/config/wltunable_lx_router_1chipG.h 
broadcom-wl-4.178.10.4/config/wl_hnd 
broadcom-wl-4.178.10.4/config/wlconfig_lx_router_sta_1chipG 
broadcom-wl-4.178.10.4/config/wlconfig_lx_router_apsta 
broadcom-wl-4.178.10.4/config/wlconfig_apdef 
broadcom-wl-4.178.10.4/README 
broadcom-wl-4.178.10.4/linux/ 
broadcom-wl-4.178.10.4/linux/wl_sta.o 
broadcom-wl-4.178.10.4/linux/wl.o 
broadcom-wl-4.178.10.4/linux/wl_ap.o 
broadcom-wl-4.178.10.4/linux/wl_apsta.o 
This file is recognised as: 
  filename   :  wl_apsta.o 
  version    :  478.104 
  MD5        :  bb8537e3204a1ea5903fe3e66b5e2763 
Extracting b43/ucode5.fw 
Extracting b43/pcm5.fw 
Extracting b43/b0g0bsinitvals5.fw 
Extracting b43/a0g0bsinitvals5.fw 
Extracting b43/b0g0initvals5.fw 
Extracting b43/a0g1initvals5.fw 
Extracting b43/a0g0initvals5.fw 
Extracting b43/a0g1bsinitvals5.fw 
Extracting b43/ucode9.fw 
Extracting b43/a0g1initvals9.fw 
Extracting b43/a0g0bsinitvals9.fw 
Extracting b43/b0g0bsinitvals9.fw 
Extracting b43/b0g0initvals9.fw 
Extracting b43/a0g1bsinitvals9.fw 
Extracting b43/a0g0initvals9.fw 
Extracting b43/ucode11.fw 
Extracting b43/n0bsinitvals11.fw 
Extracting b43/n0absinitvals11.fw 
Extracting b43/n0initvals11.fw 
Extracting b43/ucode13.fw 
Extracting b43/b0g0initvals13.fw 
Extracting b43/a0g1bsinitvals13.fw 
Extracting b43/a0g1initvals13.fw 
Extracting b43/lp0bsinitvals13.fw 
Extracting b43/b0g0bsinitvals13.fw 
Extracting b43/lp0initvals13.fw 
Extracting b43/ucode14.fw 
Extracting b43/lp0initvals14.fw 
Extracting b43/lp0bsinitvals14.fw 
Extracting b43/ucode15.fw 
Extracting b43/lp0bsinitvals15.fw 
Extracting b43/lp0initvals15.fw 
Extracting b43/ucode16.fw 
Extracting b43/n0bsinitvals16.fw 
Extracting b43/sslpn0initvals16.fw 
Extracting b43/n0initvals16.fw 
Extracting b43/lp0initvals16.fw 
Extracting b43/sslpn0bsinitvals16.fw 
Extracting b43/lp0bsinitvals16.fw 

答案1

随着 Ubuntu 11.x 的发布,专有的 Broadcom 驱动程序不再适用于 4311 Broadcom 芯片(请参阅错误 732677),也许这个错误也会影响 4312 芯片。但是,您的芯片可以很好地与开放的 b43 驱动程序配合使用,但您首先需要安装其固件 - 只需使用软件包安装即可轻松完成。如果已安装,请通过撤消安装它们时所做的任何操作来删除专有 STA 驱动程序(及其抑制工作 b43 驱动程序的配置文件):

sudo apt-get purge bcmwl-kernel-source

和/或运行附加驱动程序并取消选择Broadcom STA 驱动程序

检查上面的删除/停用操作是否完成:
所有包含“blacklist b43”的行都应已从 中的所有文件中删除/etc/modprobe.d。这些 blacklist 行会抑制 b43 驱动程序,因此必须删除它们 — 只删除确切的“b43”和 b43legacy 行,不要删除 bcm43xx。处理任何剩余内容:

sudo rm /etc/modprobe.d/blacklist-bcm43.conf  
gksudo gedit any-file-found-with-b43

并删除或#在开头放置一个。

专有固件不能随发行版分发,因此您必须手动添加它。使用有线连接,并在终端中:

sudo apt-get update  
sudo apt-get install b43-fwcutter 

并接受下载 Broadcom 文件的请求,这会将 Broadcom 固件放入 /lib/firmware/b43。如果您没有收到下载请求,请清除软件包并重试:

sudo apt-get purge b43-fwcutter

sudo apt-get install b43-fwcutter

您甚至可以使用开源固件(我使用的就是这种固件):

sudo apt-get install firmware-b43-installer

/lib/firmware/b43但只需要一组固件(非 4311 用户应检查是否需要其他版本的固件(如 firmware-b43-lpphy-installer)。如果两组固件都存在,则将使用专有组。

安装固件后,NetworkManager 可能会开始扫描,如果没有,则手动加载 b43 驱动模块,或者直接重新启动。

sudo modprobe b43

网络管理器应该开始扫描并在几秒钟内提供可能的连接点列表。

选择您的接入点,选择正确的加密方法,然后输入您的密钥。如果您没有广播您的 ssid,并且它没有显示在接入点列表中,您可能需要左键单击 NetworkManager 并选择菜单项“连接到隐藏网络”,然后输入您的 ssid。下次启动时,连接应该是自动的。

相关内容