创建配置文件:

1
2
cd /etc/NetworkManager/system-connections
sudo gedit SJTU

在SJTU配置文件中添加内容:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[connection]
id=SJTU
uuid=9e123fbc-0123-46e3-97b5-f3214e123456 # unique
type=802-11-wireless

[802-11-wireless-security]
key-mgmt=wpa-eap
auth-alg=open

[802-11-wireless]
ssid=SJTU
mode=infrastructure
mac-address=<MAC address>
security=802-11-wireless-security

[802-1x]
eap=peap;
identity=<username>
phase2-auth=mschapv2
password=<password>

[ipv6]
method=auto

[ipv4]
method=auto

连接SJTU网络:

image-20211022154431836