Ubuntu 20.04 上的无线身份验证问题
问题描述:
我无法连接到任何无线网络,到目前为止,我已经在 5GHz 和 2.4GHz 频段上测试了 3 个网络。每次测试我都注意到连接会在身份验证阶段停止,因为 Ubuntu 能够毫无问题地找到并搜索网络。只有在身份验证时,它才会出现问题。
每次我尝试通过 gnome 和网络管理器 gui 登录时,它都会要求输入密码,尝试连接,然后再次要求输入密码,而 GUI 中不会出现任何错误消息。
有关我的设备的一些信息:
- 操作系统:Ubuntu 20.04(昨天安装)
- 笔记本电脑: 华硕 TUF FX505D
- 无线驱动程序: RTL8822CE
- wpa_supplicant 版本:v2.9
我为 realtek 加载的驱动程序如下(来自lsmod | grep rtw
)
rtwpci 24576 0
rtw88 610304 1 rtwpci
mac80211 843776 2 rtwpci,rtw88
cfg80211 704512 2 mac80211,rtw88
我尝试过的一些方法:
- 重新安装 wpa_supplicant (
sudo apt reinstall wpasupplicant
) - 尝试了 3 个不同的网络(2.4GHz 和 5GHz 之间变化)
- 尝试使用 wpa_supplicant 进行手动连接(见下文)
为了直接从 wpa_supplicant 获取日志,我使用了遵循脚本尝试验证我的无线网络(SSID 和 PASSWORD 被替换为网络的实际 SSID 和密码)。
sudo systemctl stop NetworkManager.service
wpa_passphrase SSID PASSWORD > network.conf
sudo wpa_supplicant -Dnl80211 -iwlp4s0 -cnetwork.conf
由此,我得到以下输出:
Successfully initialized wpa_supplicant
wlp4s0: SME: Trying to authenticate with f8:1d:0f:90:6f:c8 (SSID='SSID' freq=2462 MHz)
wlp4s0: Trying to associate with f8:1d:0f:90:6f:c8 (SSID='SSID' freq=2462 MHz)
wlp4s0: SME: Deauth request to the driver failed
wlp4s0: Associated with f8:1d:0f:90:6f:c8
wlp4s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp4s0: CTRL-EVENT-DISCONNECTED bssid=f8:1d:0f:90:6f:c8 reason=2
wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
wlp4s0: SME: Trying to authenticate with f8:1d:0f:90:6f:c8 (SSID='SSID' freq=2462 MHz)
wlp4s0: Trying to associate with f8:1d:0f:90:6f:c8 (SSID='SSID' freq=2462 MHz)
wlp4s0: SME: Deauth request to the driver failed
wlp4s0: Associated with f8:1d:0f:90:6f:c8
wlp4s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp4s0: CTRL-EVENT-DISCONNECTED bssid=f8:1d:0f:90:6f:c8 reason=2
wlp4s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="SSID" auth_failures=1 duration=10 reason=CONN_FAILED
wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
wlp4s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="SSID"
wlp4s0: SME: Trying to authenticate with f8:1d:0f:90:6f:c8 (SSID='SSID' freq=2462 MHz)
wlp4s0: Trying to associate with f8:1d:0f:90:6f:c8 (SSID='SSID' freq=2462 MHz)
wlp4s0: SME: Deauth request to the driver failed
wlp4s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="SSID" auth_failures=2 duration=23 reason=CONN_FAILED
wlp4s0: Associated with f8:1d:0f:90:6f:c8
wlp4s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp4s0: CTRL-EVENT-DISCONNECTED bssid=f8:1d:0f:90:6f:c8 reason=2
wlp4s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="SSID" auth_failures=3 duration=46 reason=CONN_FAILED
wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
wlp4s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="SSID"
wlp4s0: SME: Trying to authenticate with f8:1d:0f:90:6f:c8 (SSID='SSID' freq=2462 MHz)
wlp4s0: Trying to associate with f8:1d:0f:90:6f:c8 (SSID='SSID' freq=2462 MHz)
wlp4s0: CTRL-EVENT-DISCONNECTED bssid=f8:1d:0f:90:6f:c8 reason=3 locally_generated=1
nl80211: deinit ifname=wlp4s0 disabled_11b_rates=0
wlp4s0: CTRL-EVENT-TERMINATING
其他设备可以完美地连接到所述无线网络。这是 Ubuntu 的全新安装,其中几乎没有任何内容。任何帮助都将不胜感激!