今天(2015年4月10日)Ubuntu软件更新后没有检测到wifi

当我要求软件更新时我更新了Ubuntu 14.04系统,安装后我发现没有检测到WiFi网络。

我重新检查了驱动程序设置,并在软件和更新的 附加驱动程序选项卡中将其设置为Broadcom驱动程序

Wifi硬件不是问题,因为它在Windows中运行良好。 我在这里复制了更新历史记录 。

我不确定哪个软件包导致问题以及解决问题的方法。

感谢您的帮助以识别和解决问题。

硬件细节

  • 笔记本电脑:戴尔Vostro 2520
  • WiFi芯片:BCM43142

输出uname -a

 Linux ilabs 3.13.0-49-generic #81-Ubuntu SMP Tue Mar 24 19:29:48 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux 

下面是sudo lshw -C network输出

  *-network UNCLAIMED description: Network controller product: BCM43142 802.11b/g/n vendor: Broadcom Corporation physical id: 0 bus info: pci@0000:07:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: memory:f7c00000-f7c07fff *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:09:00.0 logical name: eth0 version: 07 serial: e0:db:55:b2:71:45 size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list 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=rtl8168e-3_0.0.4 03/27/12 ip=192.168.1.100 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s resources: irq:41 ioport:e000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff 

输出rfkill list

 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 

输出sudo dkms status

 bcmwl, 6.30.223.248+bdcom, 3.13.0-49-generic, x86_64: installed 

最后,我想出了问题。它与GCC的版本有关。我有两个版本的GCC,gcc-4.4(我需要一些CAD工具)和gcc-4.8。 不幸的是,它在更新时设置为gcc-4.4。所以我猜驱动程序是使用gcc-4.4编译的,但是无法加载。

为了解决这个问题,我做到了

  1. 将gcc切换到gcc-4.8
  2. 在“ Software and updates Additional driver选项卡中,选择Do not use the device并应用更改”。
  3. 然后再次切换回Additional driver选项卡中显示的Additional driver程序(在我的情况下为Broadcom驱动程序)并应用更改。

从10号开始我也有类似的问题(虽然我没有Broadcom卡),看起来网络管理器就是罪魁祸首。 我没有找到一个简单的解决方案,但我能够从现场CD启动,安装硬盘驱动器,apt-get删除网络管理器,以及apt-get install wicd。 Wicd在启动时似乎遇到了一些问题,但如果我手动启动,它会发现并连接到我的无线网络就好了。

以下是逐步说明,对于遇到类似问题的人,他们也遇到以太网问题(这也是我计算机上的问题):重新启动并加载Live CD。 转到“尝试Ubuntu”打开终端,然后键入:

 sudo su - mount /dev/sda1 /mnt mount --bind /proc /mnt/proc mount --bind /dev /mnt/dev mount --bind /sys /mnt/sys chroot /mnt apt-get remove network-manager apt-get install wicd 

从这里,您可以执行任何其他包(un)安装。 然后,

 umount /mnt{/proc,/dev,/sys,} umount /mnt 

然后重启。

作为参考,我使用的是英特尔无线接口。 从不同的内核重新启动并没有解决问题,但是从Live CD启动很好,就像在Debian或Gentoo上工作一样。

在更新后,某些硬件无法正常工作时,您要做的第一件事就是重新启动到以前保留的内核。 您可以在启动菜单中找到它们。 这种事情可能会不时发生在专有驱动程序中,并且是许多人如此强烈憎恨的主要原因之一。 但是,很多时候,你可以通过简单地启动前一个内核一段时间来“修复”它,直到问题被另一个更新修复。 如果你能够,你应该在Launchpad.net上提交一个错误,提供尽可能详细的系统和硬件细节。

您可以使用该命令重新启动网络管理器服务

 /etc/init.d/network-manager restart 

或尝试重新启动网络服务。

 /etc/init.d/network restart