我是 Ubuntu 新手。昨天安装了 17.10 版本,一切正常。今天我的 Wifi 适配器出了问题。启动 PC 后,它要么找不到任何网络,要么连接到默认网络,但几分钟后它就断开连接并且无法重新连接或找到它。
此时 GUI 显示:无线网络不可用。
以太网运行良好。
我发现这个脚本可以诊断适配器,但我不知道应该寻找什么。https://github.com/UbuntuForums/wireless-info
我让脚本将输出发布到:http://paste.ubuntu.com/25916283/
我也发现了这篇文章我遇到了硬件检测问题,我需要查看哪些日志? 并查找了建议的内容。
sudo lshw-类网络
sebastian@sebastian-NBLB2:~$ sudo lshw -class network
*-network
Beschreibung: Ethernet interface
Produkt: AR8131 Gigabit Ethernet
Hersteller: Qualcomm Atheros
Physische ID: 0
Bus-Informationen: pci@0000:04:00.0
Logischer Name: enp4s0
Version: c0
Seriennummer: 70:5a:b6:e5:0a:78
Größe: 100Mbit/s
Kapazität: 1Gbit/s
Breite: 64 bits
Takt: 33MHz
Fähigkeiten: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
Konfiguration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.1.1-NAPI duplex=full ip=192.168.0.105 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
Ressourcen: irq:29 memory:d5000000-d503ffff ioport:3000(Größe=128)
*-network DEAKTIVIERT
Beschreibung: Kabellose Verbindung
Produkt: WiFi Link 5100
Hersteller: Intel Corporation
Physische ID: 0
Bus-Informationen: pci@0000:05:00.0
Logischer Name: wlp5s0
Version: 00
Seriennummer: 00:22:fa:a3:e8:0e
Breite: 64 bits
Takt: 33MHz
Fähigkeiten: pm msi pciexpress cap_list ethernet physical wireless
Konfiguration: broadcast=yes driver=iwlwifi driverversion=4.13.0-16-generic firmware=8.83.5.1 build 33692 latency=0 link=no multicast=yes wireless=IEEE 802.11
Ressourcen: irq:26 memory:d4000000-d4001fff
串行通信
04:00.0 Ethernet controller: Qualcomm Atheros AR8131 Gigabit Ethernet (rev c0)
05:00.0 Network controller: Intel Corporation WiFi Link 5100
消息
[ 386.861267] ---[ end trace 3adf6e467ef0813a ]---
[ 399.440556] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[ 399.651807] iwlwifi 0000:05:00.0: Radio type=0x1-0x2-0x0
[ 400.176106] iwlwifi 0000:05:00.0: Could not load the [0] uCode section
[ 402.279606] iwlwifi 0000:05:00.0: Failed to run INIT ucode: -5
[ 402.279622] iwlwifi 0000:05:00.0: Unable to initialize device.
[ 402.287097] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[ 402.452898] iwlwifi 0000:05:00.0: Radio type=0x1-0x2-0x0
[ 402.975670] iwlwifi 0000:05:00.0: Could not load the [0] uCode section
[ 405.084478] iwlwifi 0000:05:00.0: Failed to run INIT ucode: -5
[ 405.084491] iwlwifi 0000:05:00.0: Unable to initialize device.
[ 405.091499] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[ 405.256725] iwlwifi 0000:05:00.0: Radio type=0x1-0x2-0x0
[ 405.786548] iwlwifi 0000:05:00.0: Could not load the [0] uCode section
[ 407.893306] iwlwifi 0000:05:00.0: Failed to run INIT ucode: -5
[ 407.893324] iwlwifi 0000:05:00.0: Unable to initialize device.
[ 407.898971] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[ 450.520878] perf: interrupt took too long (4021 > 3952), lowering kernel.perf_event_max_sample_rate to 49500
[ 562.320819] iwlwifi 0000:05:00.0: Radio type=0x1-0x2-0x0
[ 562.849135] iwlwifi 0000:05:00.0: Could not load the [0] uCode section
[ 564.978213] iwlwifi 0000:05:00.0: Failed to run INIT ucode: -5
[ 564.978231] iwlwifi 0000:05:00.0: Unable to initialize device.
[ 564.982438] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[ 575.674280] iwlwifi 0000:05:00.0: Radio type=0x1-0x2-0x0
[ 576.203336] iwlwifi 0000:05:00.0: Could not load the [0] uCode section
[ 578.320856] iwlwifi 0000:05:00.0: Failed to run INIT ucode: -5
[ 578.320875] iwlwifi 0000:05:00.0: Unable to initialize device.
如果有人能看一下并告诉我哪里出了问题,我会很高兴。
谢谢,
塞巴斯蒂安:)
答案1
似乎您的 Wifi 适配器以某种方式被禁用,正如您的 lshw 输出所示。
*-网络禁用
虽然我不知道您系统的详细信息,但很可能与您的 Wi-Fi 适配器的开/关功能有关。您有物理按钮吗?大多数笔记本电脑都有。在我的系统上,键盘上有一个功能按钮,但我的 Xubuntu 会忽略它。我知道禁用/启用适配器的一种方法是使用网络管理器 (GUI)。单击网络符号并确保启用 Wi-Fi选项已选中。也许这有帮助,但当然这不能解释为什么你的 Wi-Fi 会自动禁用。