无法将 Kubuntu 18.04 连接到企业 WPA2 PEAP 身份验证

无法将 Kubuntu 18.04 连接到企业 WPA2 PEAP 身份验证

我在 Kubuntu 18.04 上无法连接到我所在机构的 wifi。我使用的笔记本电脑在使用 Windows 10 时可以正常连接。我也可以在 Android 设备上使用我的用户名和密码进行连接。Android 设置是 EAP = PEAP、阶段 2 =“无”且无 CA 证书。

但在 Linux 上它不起作用。我查看了很多其他帖子,但都没有成功。到目前为止,我尝试编辑以/etc/NetworkManager/system-connections/删除system-ca-cert=true这个帖子但这一行一开始就不存在,我尝试按照第一个答案中所述修改文件,但我的配置文件看起来与他的非常不同。我尝试进行适当的更改,但没有建立任何连接。我也尝试查看这个帖子但无法让事情正常运转。

当我尝试连接时,以下是信息:

cat /var/log/syslog | grep Network

Jul  9 13:02:05 thinkpad NetworkManager[855]: <info>  [1531166525.8761] device (wlp3s0): Activation: starting connection 'XXXX' (XXXXXXXXXXXXXXXX)
Jul  9 13:02:05 thinkpad NetworkManager[855]: <info>  [1531166525.8764] audit: op="connection-activate" uuid="XXXXXXXXX" name="XXXXX" pid=1176 uid=1000 result="success"
Jul  9 13:02:05 thinkpad NetworkManager[855]: <info>  [1531166525.8769] device (wlp3s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jul  9 13:02:05 thinkpad NetworkManager[855]: <info>  [1531166525.8773] manager: NetworkManager state is now CONNECTING
Jul  9 13:02:05 thinkpad NetworkManager[855]: <info>  [1531166525.8788] device (wlp3s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jul  9 13:02:05 thinkpad NetworkManager[855]: <info>  [1531166525.8794] device (wlp3s0): Activation: (wifi) access point 'XXXXXX' has security, but secrets are required.
Jul  9 13:02:05 thinkpad NetworkManager[855]: <info>  [1531166525.8794] device (wlp3s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3536] settings-connection[0xXXXXXX,XXXXXXXXXXXXXXX]: write: successfully updated (keyfile: update /etc/NetworkManager/system-connections/XXXX (XXXXXXXXXXXXXXX,"XXXX")), connection was modified in the process
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3578] device (wlp3s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3584] device (wlp3s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3589] device (wlp3s0): Activation: (wifi) connection 'XXXX' has security, and secrets exist.  No new secrets needed.
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3590] Config: added 'ssid' value 'XXXX'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3590] Config: added 'scan_ssid' value '1'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3590] Config: added 'bgscan' value 'simple:30:-65:300'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3591] Config: added 'key_mgmt' value 'WPA-EAP'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3591] Config: added 'password' value '<hidden>'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3591] Config: added 'eap' value 'PEAP'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3591] Config: added 'fragment_size' value '1266'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3591] Config: added 'phase2' value 'auth=MSCHAPV2'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3591] Config: added 'identity' value 'XXXX'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3592] Config: added 'proactive_key_caching' value '1'
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3691] device (wlp3s0): supplicant interface state: disconnected -> authenticating
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.3864] device (wlp3s0): supplicant interface state: authenticating -> associating
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.4295] device (wlp3s0): supplicant interface state: associating -> associated
Jul  9 13:02:10 thinkpad NetworkManager[855]: <warn>  [1531166530.7104] sup-iface[0x563a1b190d00,wlp3s0]: connection disconnected (reason 3)
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.7156] device (wlp3s0): supplicant interface state: associated -> disconnected
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.7173] device (wlp3s0): Activation: (wifi) disconnected during association, asking for new key
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.7175] device (wlp3s0): state change: config -> need-auth (reason 'supplicant-disconnect', sys-iface-state: 'managed')
Jul  9 13:02:10 thinkpad NetworkManager[855]: <info>  [1531166530.8152] device (wlp3s0): supplicant interface state: disconnected -> inactive

我尝试查找“原因 3”,但几乎找不到解决方案。我尝试在设置文件中提供我的用户名和密码,但也没有用。它似乎试图使用 MSCHAPV2。没有 none 的设置。我也尝试了 MD5 和 GTC。这些都没有用。我尝试在网站上找到的设置文件中输入 none,但没有用,而且在其他地方有人说这样做无论如何都是无效的设置。

我不知道还有什么其他的想法。它适用于 Android。能否打印出它用于连接的设置?

(我用 XXXX 代替可能的识别信息,但它似乎与我网站日志中的实际名称正确匹配)

任何帮助都会受到感谢,哪怕只是在正确方向上的推动。谢谢!

相关内容