I am trying to set up a Raspberry Pi Zero with Raspbian Stretch headlessly.
From my understanding, in order to accomplish this task requires three steps:
- Flash Raspbian to a microSD (I did so using Etcher).
- Add an empty
sshfile in the
- Add a
wpa_supplicant.conffile with my network information in the
The problem is, for some reason, both of the aforementioned files disappear after I try to boot up the Pi.
This is the process I use to create the files:
I create the files on the microSD card using
sudo(for me the directory is in
Ensure that both files are inside the
catthem to see all the right changes have been made).
Stick the card in the Pi.
When I cannot find the Pi on my network, I check the card and find that neither the
sshfile nor the
wpa_supplicant.conffile are in the
EDIT: I should note that I am using Ubuntu on the machine I use to write onto the microSD card--the Pi contains Raspbian as noted above.