我的笔记本电脑上的 wifi 适配器有两个问题。
- Ubuntu 20.4.3
- 网络控制器:Intel Corporation Wireless 3165(rev 81)
当我关闭 wifi 或打开飞行模式时,我无法重新打开 wifi。它无法识别适配器。当我关闭并再次打开时,它就可以正常工作。
有时 wifi 连接会突然断开。我旁边的调制解调器信号功率很好。它不会连接另一个网络,日志记录如下所示:(当我关闭并再次打开时,它就可以正常工作。)
23:29:36 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
23:29:36 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
23:29:36 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
23:29:21 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
23:29:21 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
23:29:21 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
23:29:06 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
23:29:06 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
23:29:06 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
23:28:51 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
23:28:51 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
23:28:51 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
23:28:36 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
23:28:36 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
23:28:36 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
23:28:21 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
我不确定,但当我使用浏览器 vpn 扩展(firefox 和 opera 上的 cyberghost)时,我似乎遇到了“问题 2”。也许这可以给你一些线索。我不知道。
编辑:这里是更多日志
00:04:42 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
00:04:26 systemd-resolve: Failed to send hostname reply: Invalid argument
00:04:24 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
00:03:49 systemd-resolve: Failed to send hostname reply: Invalid argument
00:03:48 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:59:27 systemd-resolve: Failed to send hostname reply: Invalid argument
21 Eki 23:59:24 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:58:49 systemd-resolve: Failed to send hostname reply: Invalid argument
21 Eki 23:58:48 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:54:30 systemd-resolve: Failed to send hostname reply: Invalid argument
21 Eki 23:54:30 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:54:24 systemd-resolve: Failed to send hostname reply: Invalid argument
21 Eki 23:54:24 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:52:25 systemd-resolve: Failed to send hostname reply: Invalid argument
21 Eki 23:52:25 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:51:19 systemd-resolve: Failed to send hostname reply: Invalid argument
21 Eki 23:51:18 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:49 systemd-resolve: Failed to send hostname reply: Invalid argument
21 Eki 23:50:48 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:30 systemd-resolve: Failed to send hostname reply: Invalid argument
21 Eki 23:50:30 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:30 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:30 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:30 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:50:30 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:30 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:30 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:30 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:27 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:50:27 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:27 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:24 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:24 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:24 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:24 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:23 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:50:23 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:23 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:21 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:50:21 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:21 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:19 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:50:19 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:19 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:18 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:18 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:18 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:18 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:17 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:50:17 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:17 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:14 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:50:14 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:14 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:12 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:12 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:12 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:12 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:10 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:50:10 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:10 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:08 kernel: iwlwifi 0000:04:00.0: Scan failed! ret -5
21 Eki 23:50:08 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:08 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:07 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:07 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:07 kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:07 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:50:07 kernel: iwlwifi 0000:04:00.0: Error sending SCAN_OFFLOAD_ABORT_CMD: enqueue_hcmd failed: -5
21 Eki 23:50:07 kernel: iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
21 Eki 23:49:59 kernel: iwlwifi 0000:04:00.0: regular scan timed out
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: Queue 11 is active on fifo 2 and stuck for 10000 ms. SW [254, 4] HW [90, 90] FH TRB=0x05a5a5a5a
21 Eki 23:49:48 kernel: iwlwifi 0000:00:1c.6: 00000020: 00000000 00000000 00000000 00000000 00000000 00000000
21 Eki 23:49:48 kernel: iwlwifi 0000:00:1c.6: 00000000: 14010001 00000000 00010000 00060011 000030c1 00002000 00000000 00000000
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: iwlwifi root port (0000:00:1c.6) AER cap structure:
.
.lots of numbers
.
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: iwlwifi parent port (0000:00:1c.6) config registers:
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: 00000020: 0000000f df100460 00000000
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: 00000000: 14010001 00100000 00000000 00462031 00003040 00002000 00000014 40000001
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: iwlwifi device AER capability structure:
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: iwlwifi device memory mapped registers:
.
. Lots of numbers
.
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: 00000000: 31658086 00100000 02800081 00000000 00000004 00000000 00000000 00000000
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: iwlwifi device config registers:
21 Eki 23:49:48 kernel: iwlwifi 0000:04:00.0: iwlwifi transaction failed, dumping registers
答案1
您的数据表明您需要安装另一个驱动程序才能使 WiFi 正常工作。
如果你有这些文件:
iwlwifi-7265D-13.ucode and iwlwifi-7265-13.ucode
将其重命名为:
iwlwifi-3165-9.ucode and iwlwifi-3165-13.ucode
之后重启
可以找到详细的解释这里