先使用iwlist wlan0 scan0 进行扫描,然后把要加入的ssid和psk写到/etc/wpa_supplication/wpa_supplication.conf中 :
network={
ssid="INTELIoT"
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
eap=TTLS PEAP TLS
psk="inteliotg"
}
先使用iwlist wlan0 scan0 进行扫描,然后把要加入的ssid和psk写到/etc/wpa_supplication/wpa_supplication.conf中 :
network={
ssid="INTELIoT"
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
eap=TTLS PEAP TLS
psk="inteliotg"
}