树莓派3 基于Ubuntu mate 16.04的无线WIFI连接
sudo nano /etc/network/interfaces
在文末添加
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -Dwext -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -B
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="xxx"
psk="xxxxxxxx"
}
重启
sudo reboot
重启以后,输入命令 :iwconfig 查看时候连接wifi
iwconfig