debian@beaglebone:~$ sudo connmanctl
Error getting VPN connections: The name net.connman.vpn was not provided by any connmanctl> tether wifi disable
Error disabling wifi tethering: Already disabled
connmanctl> enable wifi
Error wifi: Already enabled
connmanctl> scan wifi
Scan completed for wifi
connmanctl> services
wifi_38d269cda75e_hidden_managed_psk
HuaWer_Pro wifi_38d269cda75e_4875615765725f50726f_managed_psk
DIRECT-04-Pantum P2200 Series wifi_38d269cda75e_4449524543542d30342d50616e74756d20503232303020536572696573_managed_psk
liuyi61 wifi_38d269cda75e_6c697579693631_managed_psk
ziru-302 wifi_38d269cda75e_7a6972752d333032_managed_psk
ChinaNet-7Z9h wifi_38d269cda75e_4368696e614e65742d375a3968_managed_psk
connmanctl> agent on
Agent registered
connmanctl> connect <ssid后面的字符串>
Agent RequestInput wifi_38d269cda75e_434d43432d323032_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory, Alternates=[ WPS ] ]
WPS = [ Type=wpspin, Requirement=alternate ]
Passphrase? <密码>
Connected wifi_38d269cda75e_434d43432d323032_managed_psk
connmanctl> quit
输入ifconfig -a 查看IP地址