Skip to content

This repository contains the steps to be reproduced to prepare a Raspberry Pi Zero W so that it can be accessed via SSH over Wifi without a screen.

License

Notifications You must be signed in to change notification settings

thisdev/RaspberryPiZeroW-Wireless-Cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaspberryPiZeroW-Wireless-Cli

This repository contains all it needs to prepare a Raspberry Pi Zero W so that it can be accessed via SSH over Wifi without a screen.

The following instructions are for Raspberry Pi OS Buster versions only. Config files from older and newer versions are different.

Important UPDATE: Doesn't work anymore from Raspberry Pi OS Bullsye on, because the user "pi" is no longer installed by default and therefore no access via SSH works. Temporary solution: For this, the "Raspberry Pi Imager" must be installed - This allows the configuration of a user when writing the image to an SD card.

  1. Get the latest Raspberry Pi OS (previously called Raspbian) image: raspberrypi.org
  2. Get Etcher.io to format the SD card and flash the Raspberry Pi OS image onto it
  3. Install Etcher and flash the image to the SD card.
  4. Remove and reinsert the SD card. You should now see the partition labeled with 'boot'
  5. On the root of the partition 'boot', create a file named shh (e.g. Terminal: 'touch ssh')
  6. Create another file 'wpa_supplicant.conf' (e.g. Terminal: 'touch wpa_supplicant.conf')
  7. With the use of your preferred texteditor (e.g. nano), edit the file 'wpa_supplicant.conf' as described below:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
country=DE
update_config=1

network={
    ssid="Name of the WiFi Network"
    psk="Password of the WiFi Network"
    key_mgmt=WPA-PSK
}

Edit:

  • country=YOUR_ISO_COUNTRY_CODE -- can be found on Wikipedia
  • ssid=
  • psk

Save the file.

  1. Eject the SD card, put it in the Pi and boot the device. Your Raspberry Pi Zero W should now connect to your WiFi with SSH enabled to connect to.

About

This repository contains the steps to be reproduced to prepare a Raspberry Pi Zero W so that it can be accessed via SSH over Wifi without a screen.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published