修改socket文件的拥有者权限:
sudo chown -R ubuntu:ubuntu/var/run/wpa_supplicant/
离线
离线
命令行测试:
wpa_cli -i wlx60fb00f2ccfb -p /var/run/wpa_supplicant/ scan
wpa_cli -i wlx60fb00f2ccfb -p /var/run/wpa_supplicant/ scan_result
wpa_cli -i wlx60fb00f2ccfb -p /var/run/wpa_supplicant/ status
离线