所以我无法通过以下方式连接:
nmtui
只是要求我不断地重试
- 用户界面
没有提供任何秘密
iwd
station wlan0 connect SSID
(我输入密码并没有得到任何输出)
如果我再次尝试此命令 - 我不会收到任何输出(即使 iwd 没有询问我密码)
(并且网络ofk无法连接)
wpa_supplicant -i wlan0 -c <(wpa_passphrase "ssid" "mypassword")
返回:
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="DM"
wlan0: Trying to associate with 84:d1:5a:d1:2a:69 (SSID='DM' freq=2427 MHz)
Failed to add supported operating classes IE
wlan0: Associated with 84:d1:5a:d1:2a:69
wlan0: CTRL-EVENT-DISCONNECTED bssid=84:d1:5a:d1:2a:69 reason=0
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="DM" auth_failures=2 duration=23 reason=CONN_FAILED
- netctl 启动无线 WPA
- netctl@wireless\x2dwpa.service 的作业失败,因为控制进程退出并显示错误代码。
systemctl 状态“netctl@wireless\x2dwpa.service”:
× netctl@wireless\x2dwpa.service - Networking for netctl profile wireless-wpa
Loaded: loaded (/usr/lib/systemd/system/[email protected]; static)
Active: failed (Result: exit-code) since Fri 2021-04-16 08:22:18 +05; 2min 13s ago
Docs: man:netctl.profile(5)
Process: 1874 ExecStart=/usr/lib/netctl/network start wireless-wpa (code=exited, status=1/FAILURE)
Main PID: 1874 (code=exited, status=1/FAILURE)
CPU: 12ms
Apr 16 08:22:18 archbtrfs systemd[1]: Starting Networking for netctl profile wireless-wpa...
Apr 16 08:22:18 archbtrfs network[1874]: Profile 'wireless-wpa' does not exist or is not readable
Apr 16 08:22:18 archbtrfs systemd[1]: netctl@wireless\x2dwpa.service: Main process exited, code=exited, status=1/FA>
Apr 16 08:22:18 archbtrfs systemd[1]: netctl@wireless\x2dwpa.service: Failed with result 'exit-code'.
Apr 16 08:22:18 archbtrfs systemd[1]: Failed to start Networking for netctl profile wireless-wpa.
Journalctl -xeu“netctl@wireless\x2dwpa.service”:
Apr 16 08:22:18 archbtrfs systemd[1]: Starting Networking for netctl profile wireless-wpa...
░░ Subject: A start job for unit netctl@wireless\x2dwpa.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit netctl@wireless\x2dwpa.service has begun execution.
░░
░░ The job identifier is 1594.
Apr 16 08:22:18 archbtrfs network[1874]: Profile 'wireless-wpa' does not exist or is not readable
Apr 16 08:22:18 archbtrfs systemd[1]: netctl@wireless\x2dwpa.service: Main process exited, code=exited, status=1/FA>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit netctl@wireless\x2dwpa.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Apr 16 08:22:18 archbtrfs systemd[1]: netctl@wireless\x2dwpa.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit netctl@wireless\x2dwpa.service has entered the 'failed' state with result 'exit-code'.
Apr 16 08:22:18 archbtrfs systemd[1]: Failed to start Networking for netctl profile wireless-wpa.
░░ Subject: A start job for unit netctl@wireless\x2dwpa.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit netctl@wireless\x2dwpa.service has finished with a failure.
░░
░░ The job identifier is 1594 and the job result is failed.
lines 1-3
从这里安装 wifi 驱动程序:
https://github.com/bserem/Realtek-RTL8822x-Linux
PS ssid 正在广播,我可以看到它被检测到