命令方式联网与界面network-manager方式联网
命令方式联网:
sudo vi /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=true
change the managed=true to managed=false
然后配置
sudo vi /etc/network/interfaces
add belows
auto wlp71s0
iface wlp71s0 inet dhcp
wpa-conf /home/xx/wpa_config.conf
wpa_config.conf文件的生成
wpa_passphrase ESSID PWD > wpa_config.conf
network-manager方式联网:
sudo apt-get install network-manager