Ubuntu 18.04-未找到 Wifi 网络

Ubuntu 18.04-未找到 Wifi 网络

我的 HP-EliteBook-745-G2 上安装了 Ubuntu 18.04 和 Windows 10 双启动,由于某种原因,我似乎无法通过 WiFi 适配器找到 WiFi 网络,但以太网可以工作(但是,如果我关闭屏幕并返回笔记本电脑,以太网就会停止正常工作,迫使我重新启动笔记本电脑才能使用以太网)。

我做了但没有效果的事情:

  • 卸载内核并重新安装。

  • 尝试使用rtlwifi.new作为修复。

  • 尝试通过隐藏网络连接不同地方的不同网络。

  • 重新安装了 Ubuntu。

  • sudo service network-manager restart

因此我想我应该创建一个新帖子来获得不同的视角。

旁注:WiFi 在 Windows 端运行正常,这些问题仅在我的 Ubuntu 启动时存在。

输出结果为lshw -C network

$ sudo lshw -C network
[sudo] password for nathan: 
  *-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:01:00.0
       logical name: enp1s0f0
       version: 0e
       serial: 30:8d:99:bf:09:ab
       size: 1Gbit/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 ip=10.0.0.167 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:39 ioport:4000(size=256) memory:d5804000-d5804fff memory:d5800000-d5803fff
  *-network
       description: Wireless interface
       product: BCM4352 802.11ac Wireless Network Adapter
       vendor: Broadcom Limited
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlo1
       version: 03
       serial: 28:c2:dd:8f:85:ec
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) latency=0 multicast=yes wireless=IEEE 802.11
       resources: irq:38 memory:d0a00000-d0a07fff memory:d0800000-d09fffff

编辑:仅对于使用编辑来纠正我的语法的人来说,“I'd”与“I would”相同。

另一项编辑:运行rfkill list all,结果如下:

    $ rfkill list all
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: brcmwl-0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

然后运行:dmesg | grep wl生成:

$ dmesg | grep wl
[    0.000000] DMI: Hewlett-Packard HP EliteBook 745 G2/221C, BIOS M84 Ver. 01.07 03/10/2015
[    6.918774] wl: loading out-of-tree module taints kernel.
[    6.918782] wl: module license 'MIXED/Proprietary' taints kernel.
[    6.951608] wl: module verification failed: signature and/or required key missing - tainting kernel
[    7.123725] wlan0: Broadcom BCM43b1 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[    7.330784] wl 0000:02:00.0 wlo1: renamed from wlan0
[   10.672629] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[   10.791775] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready

全面诊断

 $ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)

再次编辑

    :~$ sudo modprobe wl && dmesg | grep wl
[    0.000000] DMI: Hewlett-Packard HP EliteBook 745 G2/221C, BIOS M84 Ver. 01.07 03/10/2015
[    7.004949] wl: loading out-of-tree module taints kernel.
[    7.004958] wl: module license 'MIXED/Proprietary' taints kernel.
[    7.011342] wl: module verification failed: signature and/or required key missing - tainting kernel
[    7.888998] wlan0: Broadcom BCM43b1 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[    7.923740] wl 0000:02:00.0 wlo1: renamed from wlan0
[   11.818773] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[   11.937130] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 2546.180968] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 2546.291784] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready

答案1

我在使用 Ubuntu 16.04 时遇到过几次问题,重新启动网络管理器总能解决问题。

所以请尝试

sudo service network-manager restart

答案2

在我们找到确切问题之前,这只是部分答案。随着我们的进展,我将编辑答案以提供进一步的步骤。

首先,不需要 Realtek 驱动程序的 conf 文件;请将其删除:

sudo rm /etc/modprobe.d/rtl8723de.conf

第二,你的/etc/network/interfaces文件有问题,请修改:

sudo nano /etc/network/interfaces

将文件修改为:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

保存(Ctrl+o 然后按 Enter)并退出(Ctrl+x)文本编辑器。

重新启动并告诉我们是否有任何改进。

编辑:我们注意到您粘贴的内容中有此错误:

错误@wl_dev_intvar_get:

搜索后发现,有许多投诉涉及您的确切 14e4:43b1 设备,但只有一个解决方案:https://forums.linuxmint.com/viewtopic.php?f=53&t=236084&start=20

我建议您尝试同样的做法:

sudo apt purge bcmwl-kernel-source
sudo apt install broadcom-sta-dkms

重新启动并显示:

dmesg | grep wl

相关内容