Join your Raspberry Pi to your Wi-Fi network
You can use the Raspberry Pi in headless mode, that is, without an attached keyboard, monitor, or network cable. If you are using an attached monitor and keyboard, proceed to Configure the Raspberry Pi camera.
-
On your computer, create a file named
wpa_supplicant.conf
. -
Copy the following text and paste it into the
wpa_supplicant.conf
file:country=US ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="
Your Wi-Fi SSID
" scan_ssid=1 key_mgmt=WPA-PSK psk="Your Wi-Fi Password
" }Replace the
ssid
andpsk
values with the information for your Wi-Fi network. -
Copy the
wpa_supplicant.conf
file to the SD card. It must be copied to the root of theboot
volume. -
Insert the SD card into the Raspberry Pi, and power the device. It joins your Wi-Fi network, and SSH is enabled.