2022年9月6日 星期二

[network, wpa] How to setup the Wi-Fi WPA before the PI boot up

How to setup the Wi-Fi WPA before the PI boot up

井民全, Jing, mqjing@gmail.com


Insert the SD card to your host and follow the procedure.


Step 1: cd to boot-drive

Step 2: 

touch wpa_supplicant.conf


vi wpa_upplicant.conf


country=us

update_config=1

ctrl_interface=/var/run/wpa_supplicant


network={

 scan_ssid=1

 ssid="MyNetworkSSID"

 psk="Pa55w0rd1234"

}




Reference

  1. https://www.raspberrypi-spy.co.uk/2017/04/manually-setting-up-pi-wifi-using-wpa_supplicant-conf/