liunx wifi
ctrl_interface=/var/run/wpa_supplicant
update_config=1
network={
ssid="Sunny-xx"
#psk=""
psk=
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}
wpa_passphrase ssid pwd
# sudo vim /etc/network/interfaces
auto wlan0
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan2
iface wlan2 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf