Arch LinuxでプライベートWi-Fiネットワークに接続するにはどうすればよいですか?

Arch LinuxでプライベートWi-Fiネットワークに接続するにはどうすればよいですか?

したがって、以下を介して接続できません。


  • nmtui

もう一度やり直す必要があります


  • ユーザーインターフェース

提供された秘密はありません


  • iwd

    station wlan0 connect SSID
    

(パスワードを入力しましたが結果は出ません)

このコマンドを再試行すると、出力は得られません(iwdがパスワードを要求しなくても)。

(そしてネットワークオフは接続できません)


  • 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

ここからWi-Fiドライバをインストールしてください。

https://github.com/bserem/Realtek-RTL8822x-Linux

PS ssidがブロードキャストされており、検出されていることがわかります。

ベストアンサー1

おすすめ記事