扫描并列出 WIFI 热点
1nmcli device wifi rescan
2
3nmcli device wifi list
4IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY
5 80:8F:1D:73:F1:21 403 FORBIDDEN Infra 1 405 Mbit/s 100 ▂▄▆█ WPA1 WPA2
6 24:69:68:64:B4:F1 RAZON WIFI Infra 11 405 Mbit/s 100 ▂▄▆█ WPA1 WPA2
7 .....
连接 WIFI 热点
1nmcli device wifi connect "<SSID>"
将其中的 <SSID>
替换为附近的 WIFI 热点,比如上诉例子的 RAZON WIFI
,然后按提示输入密码即可。