修改/etc/wpa_supplicant/wpa_supplicant.conf
sudo vim /etc/wpa_supplicant/wpa_supplicant.conf
輸入wifi ap資訊
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=TW
network={
ssid = "wifi_ap_ssidname"
psk = "wifi_ap_password"
key_mgmt=WPA-PSK
}
存檔,重開機既可