Skip to content

Setting up SSH and optinally Wi Fi

Thomas W. C. Carlson edited this page Apr 14, 2022 · 6 revisions

Background

Edit (4/14/22): You can configure this from the RPI Installer.

After flashing Raspberry Pi OS on your SD card, we now need to set up the wi-fi and SSH services
Summary:

  • The next step is to create an SSH file.
  • Next, create a WPA supplicant file. This is what allows us to connect to our Wi-Fi automatically.
  • Our SSH file then enables SSH on Raspberry Pi.
  • Once we power on our Raspberry Pi our next steps are to locate its IP on our network.

Steps

  1. Create a file called ssh with no file extension in any directory. We are going to move this file later.

  1. Create another file called wpa_supplicant with the .conf extension and put the following information in the file with you Wi-Fi information.
country=us
update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
 scan_ssid=1
 ssid="MyNetworkSSID"
 psk="Pa55w0rd1234"
}
  1. Plugin your SD card with the Raspberry Pi OS installed on it. Then cut and paste the ssh and wpa_supplicant.conf file into the boot directory.

  1. You can now plugin your SD card into your Raspberry Pi.
Clone this wiki locally