UP | HOME

Linux 无法连接企业 wifi(wpa/wpa2-Enterprise)

Table of Contents

1. 修改配置文件

vim /etc/NetworkManager/system-connections/你的wifi名字.nmconnection
在 [802-1x]
新增 phase1-auth-flags=32

2. 配置文件

2.1. 文件路径

/etc/NetworkManager/system-connections/你的wifi名字.nmconnection

2.2. example

[connection]
id=xxxxxxx
uuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
type=wifi
interface-name=wlp0s20f3

[wifi]
mode=infrastructure
ssid=xxxxxx

[wifi-security]
auth-alg=open
key-mgmt=wpa-eap

[802-1x]
eap=peap;
identity=username
password=userpwd
phase1-auth-flags=32
phase2-auth=mschapv2

[ipv4]
method=auto

[ipv6]
addr-gen-mode=default
method=auto

[proxy]

Author: JosephTseng

Lastmod: <2024-06-17 Mon>

License: CC BY-NC-ND 4.0

Last updated: 2024-06-18 Tue 00:03
Power by Emacs 29.1 (Org mode 9.6)
© 2017 – 2023 by JosephTseng