环境

环境

我希望得到帮助来解决我的问题。如果能得到一些建议,我将不胜感激。

环境

Netplan 版本

ywatanabe@host00:~$ sudo apt search netplan.io
Sorting... Done
Full Text Search... Done
netplan.io/bionic-updates,now 0.99-0ubuntu3~18.04.3 amd64 [installed]
  YAML network configuration abstraction for various backends

操作系统版本

ywatanabe@host00:~$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"

问题

我的 fedora31 桌面上的 WPA-PSK 身份验证失败。

Jul 26 20:42:05 fedora-desktop wpa_supplicant[1050]: wlp0s20f3: WPA: 4-Way Handshake failed - pre-shared key may be incorrect

完整日志

Jul 26 20:41:59 fedora-desktop NetworkManager[938]: <info>  [1595763719.2200] device (wlp0s20f3): Activation: (wifi) connection 'yu_home_5GHz' has security, and secrets exist.  No new secrets needed.
Jul 26 20:41:59 fedora-desktop NetworkManager[938]: <info>  [1595763719.2201] Config: added 'ssid' value 'yu_home_5GHz'
Jul 26 20:41:59 fedora-desktop NetworkManager[938]: <info>  [1595763719.2201] Config: added 'scan_ssid' value '1'
Jul 26 20:41:59 fedora-desktop NetworkManager[938]: <info>  [1595763719.2201] Config: added 'freq_list' value '5180'
Jul 26 20:41:59 fedora-desktop NetworkManager[938]: <info>  [1595763719.2201] Config: added 'bgscan' value 'simple:30:-80:86400'
Jul 26 20:41:59 fedora-desktop NetworkManager[938]: <info>  [1595763719.2202] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
Jul 26 20:41:59 fedora-desktop NetworkManager[938]: <info>  [1595763719.2202] Config: added 'psk' value '<hidden>'
Jul 26 20:41:59 fedora-desktop NetworkManager[938]: <info>  [1595763719.2345] device (wlp0s20f3): supplicant interface state: inactive -> scanning
Jul 26 20:41:59 fedora-desktop NetworkManager[938]: <info>  [1595763719.2345] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> scanning
Jul 26 20:42:02 fedora-desktop wpa_supplicant[1050]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=JP
Jul 26 20:42:02 fedora-desktop kernel: wlp0s20f3: authenticate with 9c:ef:d5:fb:c5:c1
Jul 26 20:42:02 fedora-desktop kernel: wlp0s20f3: send auth to 9c:ef:d5:fb:c5:c1 (try 1/3)
Jul 26 20:42:02 fedora-desktop wpa_supplicant[1050]: wlp0s20f3: SME: Trying to authenticate with 9c:ef:d5:fb:c5:c1 (SSID='yu_home_5GHz' freq=5180 MHz)
Jul 26 20:42:02 fedora-desktop NetworkManager[938]: <info>  [1595763722.2429] device (wlp0s20f3): supplicant interface state: scanning -> authenticating
Jul 26 20:42:02 fedora-desktop NetworkManager[938]: <info>  [1595763722.2430] device (p2p-dev-wlp0s20f3): supplicant management interface state: scanning -> authenticating
Jul 26 20:42:02 fedora-desktop wpa_supplicant[1050]: wlp0s20f3: Trying to associate with 9c:ef:d5:fb:c5:c1 (SSID='yu_home_5GHz' freq=5180 MHz)
Jul 26 20:42:02 fedora-desktop NetworkManager[938]: <info>  [1595763722.2601] device (wlp0s20f3): supplicant interface state: authenticating -> associating
Jul 26 20:42:02 fedora-desktop NetworkManager[938]: <info>  [1595763722.2601] device (p2p-dev-wlp0s20f3): supplicant management interface state: authenticating -> associating
Jul 26 20:42:02 fedora-desktop kernel: wlp0s20f3: authenticated
Jul 26 20:42:02 fedora-desktop kernel: wlp0s20f3: associate with 9c:ef:d5:fb:c5:c1 (try 1/3)
Jul 26 20:42:02 fedora-desktop kernel: wlp0s20f3: RX AssocResp from 9c:ef:d5:fb:c5:c1 (capab=0x11 status=0 aid=1)
Jul 26 20:42:02 fedora-desktop wpa_supplicant[1050]: wlp0s20f3: Associated with 9c:ef:d5:fb:c5:c1
Jul 26 20:42:02 fedora-desktop kernel: wlp0s20f3: associated
Jul 26 20:42:02 fedora-desktop wpa_supplicant[1050]: wlp0s20f3: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jul 26 20:42:02 fedora-desktop NetworkManager[938]: <info>  [1595763722.2716] device (wlp0s20f3): supplicant interface state: associating -> 4-way handshake
Jul 26 20:42:02 fedora-desktop NetworkManager[938]: <info>  [1595763722.2716] device (p2p-dev-wlp0s20f3): supplicant management interface state: associating -> 4-way handshake
Jul 26 20:42:04 fedora-desktop systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Jul 26 20:42:04 fedora-desktop audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 26 20:42:05 fedora-desktop kernel: wlp0s20f3: deauthenticated from 9c:ef:d5:fb:c5:c1 (Reason: 2=PREV_AUTH_NOT_VALID)
Jul 26 20:42:05 fedora-desktop wpa_supplicant[1050]: wlp0s20f3: CTRL-EVENT-DISCONNECTED bssid=9c:ef:d5:fb:c5:c1 reason=2
Jul 26 20:42:05 fedora-desktop wpa_supplicant[1050]: wlp0s20f3: WPA: 4-Way Handshake failed - pre-shared key may be incorrect

即使我设置了正确的密码,也会发生这种情况。

Netplan 配置。

DEBUG:Merged config:
network:
  bonds: {}
  bridges:
    br0:
      addresses:
      - 192.168.11.10/24
      dhcp4: false
      gateway4: 192.168.11.1
      interfaces:
      - eno1
      - wlx9cefd5fbc5c1
      nameservers:
        addresses:
        - 8.8.8.8
        - 8.8.4.4
  ethernets:
    eno1:
      dhcp4: false
  vlans: {}
  wifis:
    wlx9cefd5fbc5c1:
      access-points:
        yu_home_5GHz:
          auth:
            key-management: psk
            password: rootroot
          band: 5GHz
          channel: 36
          mode: ap
      dhcp4: false

我的 Fedora 桌面中的密码。 在此处输入图片描述 在此处输入图片描述

我可以访问美联社如果在开放模式. 我应该寻找什么设置吗?

答案1

显然,设置桥接的 AP 不起作用:https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/83

我有一个测试 PPANetworkManager 已修补,以便 AP 在桥接时可以工作。但它仅适用于 Ubuntu 20.04。

sudo add-apt-repository ppa:shemgp/testing
sudo apt-get update
sudo apt-get install network-manager

相关内容