![使用 Ubuntu 20.04 时,我的 Wi-Fi 有一半时间都无法连接](https://linux22.com/image/1179674/%E4%BD%BF%E7%94%A8%20Ubuntu%2020.04%20%E6%97%B6%EF%BC%8C%E6%88%91%E7%9A%84%20Wi-Fi%20%E6%9C%89%E4%B8%80%E5%8D%8A%E6%97%B6%E9%97%B4%E9%83%BD%E6%97%A0%E6%B3%95%E8%BF%9E%E6%8E%A5.png)
我是 Ubuntu 新手,所以如果我没有提供足够的信息,请原谅我。我的问题是,一半的时间我的无线无法连接,并不断提示我输入网络密码。如果我从网络管理器关闭适配器并重试,一半的时间它会成功。
我在台式机上使用 Netgear A7000 USB Wi-Fi 适配器,路由器是 Netgear AC1900。我的驱动程序来自https://github.com/aircrack-ng/rtl8814au
有什么办法可以解决这个问题吗?是路由器问题、驱动程序问题还是操作系统问题?无线适配器始终能够识别开放网络,只是有时无法连接。
以下是我跑步时得到的lshw -class network
description: Wireless interface
physical id: 1
bus info: usb@1:3
logical name: wlxbca5119becd6
serial: bc:a5:11:9b:ec:d6
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=8814au driverversion=5.8.0-38-generic ip=192.168.1.5 multicast=yes wireless=IEEE 802.11
这是我的无线网卡Bus 001 Device 003: ID 0846:9054 NetGear, Inc. A7000
没有任何内容被阻止:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
查看网络管理器日志给了我这个多次出现的错误:
Jan 20 13:28:06 desktop NetworkManager[739]: <info> [1611167286.4494] device (wlxbca5119becd6): supplicant interface state: associating -> disconnected
Jan 20 13:28:16 desktop NetworkManager[739]: <info> [1611167296.4592] device (wlxbca5119becd6): supplicant interface state: disconnected -> scanning
Jan 20 13:28:22 desktop NetworkManager[739]: <info> [1611167302.8353] device (wlxbca5119becd6): supplicant interface state: scanning -> associating
Jan 20 13:28:27 desktop NetworkManager[739]: <warn> [1611167307.2616] device (wlxbca5119becd6): Activation: (wifi) association took too long
Jan 20 13:28:27 desktop NetworkManager[739]: <info> [1611167307.2617] device (wlxbca5119becd6): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jan 20 13:28:27 desktop NetworkManager[739]: <info> [1611167307.2620] sup-iface[0x55c4b5225210,wlxbca5119becd6]: wps: type pbc start...
Jan 20 13:28:27 desktop NetworkManager[739]: <warn> [1611167307.2632] device (wlxbca5119becd6): Activation: (wifi) asking for new secrets
Jan 20 13:28:27 desktop NetworkManager[739]: <warn> [1611167307.9629] sup-iface[0x55c4b5225210,wlxbca5119becd6]: connection disconnected (reason -3)
Jan 20 13:28:27 desktop NetworkManager[739]: <info> [1611167307.9632] device (wlxbca5119becd6): supplicant interface state: associating -> disconnected
Jan 20 13:28:27 desktop NetworkManager[739]: <warn> [1611167307.9647] sup-iface[0x55c4b5225210,wlxbca5119becd6]: connection disconnected (reason 1)
Jan 20 13:28:27 desktop NetworkManager[739]: <info> [1611167307.9650] device (wlxbca5119becd6): supplicant interface state: disconnected -> scanning
Jan 20 13:28:27 desktop NetworkManager[739]: <info> [1611167307.9700] device (wlxbca5119becd6): supplicant interface state: scanning -> disconnected
Jan 20 13:28:29 desktop NetworkManager[739]: <info> [1611167309.6369] device (wlxbca5119becd6): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Jan 20 13:28:29 desktop NetworkManager[739]: <info> [1611167309.6375] device (wlxbca5119becd6): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jan 20 13:28:29 desktop NetworkManager[739]: <info> [1611167309.6378] device (wlxbca5119becd6): Activation: (wifi) connection 'Internet' has security, and secrets exist. >
Jan 20 13:28:29 desktop NetworkManager[739]: <info> [1611167309.6379] Config: added 'ssid' value 'Internet'
Jan 20 13:28:29 desktop NetworkManager[739]: <info> [1611167309.6379] Config: added 'scan_ssid' value '1'
Jan 20 13:28:29 desktop NetworkManager[739]: <info> [1611167309.6379] Config: added 'bgscan' value 'simple:30:-70:86400'
Jan 20 13:28:29 desktop NetworkManager[739]: <info> [1611167309.6379] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
Jan 20 13:28:29 desktop NetworkManager[739]: <info> [1611167309.6380] Config: added 'auth_alg' value 'OPEN'
Jan 20 13:28:29 desktop NetworkManager[739]: <info> [1611167309.6380] Config: added 'psk' value '<hidden>'
Jan 20 13:28:34 desktop NetworkManager[739]: <info> [1611167314.3684] device (wlxbca5119becd6): supplicant interface state: disconnected -> associating
Jan 20 13:28:36 desktop NetworkManager[739]: <info> [1611167316.0469] device (wlxbca5119becd6): supplicant interface state: associating -> associated
Jan 20 13:28:36 desktop NetworkManager[739]: <info> [1611167316.0523] device (wlxbca5119becd6): supplicant interface state: associated -> 4-way handshake
Jan 20 13:28:46 desktop NetworkManager[739]: <warn> [1611167326.8375] sup-iface[0x55c4b5225210,wlxbca5119becd6]: connection disconnected (reason -3)
Jan 20 13:28:46 desktop NetworkManager[739]: <info> [1611167326.8420] device (wlxbca5119becd6): supplicant interface state: 4-way handshake -> disconnected
Jan 20 13:28:46 desktop NetworkManager[739]: <info> [1611167326.8429] device (wlxbca5119becd6): Activation: (wifi) disconnected during association, asking for new key
Jan 20 13:28:46 desktop NetworkManager[739]: <info> [1611167326.8431] device (wlxbca5119becd6): state change: config -> need-auth (reason 'supplicant-disconnect', sys-iface-st>
Jan 20 13:28:46 desktop NetworkManager[739]: <info> [1611167326.9420] device (wlxbca5119becd6): supplicant interface state: disconnected -> inactive
Jan 20 13:28:58 desktop NetworkManager[739]: <warn> [1611167338.8063] device (wlxbca5119becd6): no secrets: User canceled the secrets request.
Jan 20 13:28:58 desktop NetworkManager[739]: <info> [1611167338.8063] device (wlxbca5119becd6): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'manag>
Jan 20 13:28:58 desktop NetworkManager[739]: <info> [1611167338.8069] manager: NetworkManager state is now DISCONNECTED
Jan 20 13:28:58 desktop NetworkManager[739]: <warn> [1611167338.8081] device (wlxbca5119becd6): Activation: failed for connection 'Internet'