连接到 WPA2/PEAP/MSCHAPv2 企业 WiFi 网络

连接到 WPA2/PEAP/MSCHAPv2 企业 WiFi 网络

我正在使用 Arch Linux 设置,但在使用网络管理器连接到学校的 WiFi 时遇到问题。我正在使用 nmcli 连接编辑器来设置我的系统连接。

这是我的网络文件的样子:

[connection]
id=MYID
uuid=MY_UUID
type=wifi
interface-name=wlp3s0

[wifi]
mode=infrastructure
ssid=MY_SSID

[wifi-security]
key-mgmt=wpa-eap

[802-1x]
ca-cert=/etc/ca-certificates/trust-source/anchors/ca.crt
eap=peap;
identity=USERNAME
password=PASSWORD
phase2-auth=mschapv2

[ipv4]
dns-search
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-seach=
method=auto

当我尝试激活连接时,它被卡住了

Passwords or encryption keys are required to access the wireless network 'SSID'.
connecting (need authentication)

返回之前:“错误:连接激活失败。”

这是 journalctl -ex 的输出(通常它说未能提供所需的机密)。

Mar 17 11:45:50 Amadeus NetworkManager[476]: <info>  [1552837550.4471] device (wlp3s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Mar 17 11:45:50 Amadeus NetworkManager[476]: <warn>  [1552837550.4512] device (wlp3s0): Activation: (wifi) asking for new secrets
Mar 17 11:45:50 Amadeus wpa_supplicant[561]: wlp3s0: Failed to initiate sched scan
Mar 17 11:45:50 Amadeus NetworkManager[476]: <info>  [1552837550.9868] device (wlp3s0): supplicant interface state: scanning -> inactive
Mar 17 11:47:50 Amadeus NetworkManager[476]: <warn>  [1552837670.4562] device (wlp3s0): No agents were available for this request.
Mar 17 11:47:50 Amadeus NetworkManager[476]: <info>  [1552837670.4563] device (wlp3s0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
Mar 17 11:47:50 Amadeus NetworkManager[476]: <info>  [1552837670.4589] manager: NetworkManager state is now DISCONNECTED
Mar 17 11:47:50 Amadeus NetworkManager[476]: <warn>  [1552837670.4610] device (wlp3s0): Activation: failed for connection 'WIFI_NAME'
Mar 17 11:47:50 Amadeus NetworkManager[476]: <info>  [1552837670.4613] device (wlp3s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Mar 17 11:47:50 Amadeus NetworkManager[476]: <info>  [1552837670.4643] device (wlp3s0): set-hw-addr: set MAC address to D2:CC:73:CD:EF:AD (scanning)
Mar 17 11:47:50 Amadeus NetworkManager[476]: <info>  [1552837670.5044] device (wlp3s0): supplicant interface state: inactive -> disconnected
Mar 17 11:47:50 Amadeus NetworkManager[476]: <info>  [1552837670.5048] device (wlp3s0): sup,

相关内容