Can't set up Pi Zero in headless mode!
Posted: Tue Jun 02, 2020 4:30 pm
Hi all, I'm brand new to Raspberry Pi and purchased my first Pi (Pi Zero... but not the W model... just the $5 Zero) yesterday!
I don't have a display/keyboard/mouse to use with it, so I was trying to do the setup in headless mode. I first downloaded the Raspberry Pi OS Lite version to my 8GB microSD, and then I followed the instructions from Tom's Hardware website to setup the Pi Zero in headless mode. Here's the link I followed:
https://www.tomshardware.com/reviews/ra ... ,6028.html
I did everything exactly as the post states. I added that last line to the config file, I added the line to the cmdline file, and I also created a ssh file, all exactly as described (note, the screenshot of the cmdline doesn't show the full image... don't worry, I didn't delete anything!):
I inserted the microSD into my Pi Zero and then plugged my microUSB to the Pi Zero and my laptop. I started PuTTY and tried connecting to "raspberrypi.local", but I keep getting an error saying "Unable to open connection to raspberrypi.local Host does not exist":
Furthermore, I can't even see the Pi in my device manager or anywhere. I've been searching throughout the web yesterday and today, but had no luck in fixing this problem. All solutions seem to be for the Pi Zero W, which doesn't work in my case since I'm not using WiFi to set it up. I formatted my SD card and tried multiple times, and still had no luck. It's really disappointing and frustrating since I was so excited but it doesn't work!
I would appreciate it if anyone had any guidance for what to do.
Also: something I noticed is that after inserting the microSD into my Pi Zero and powering it on, and then after I take it out and place it in my computer, the ssh file isn't there anymore. Furthermore, all of the stuff that came after the "modules-load=dwc2,g_ether" that I added to my cmdline file disappeared.
I don't have a display/keyboard/mouse to use with it, so I was trying to do the setup in headless mode. I first downloaded the Raspberry Pi OS Lite version to my 8GB microSD, and then I followed the instructions from Tom's Hardware website to setup the Pi Zero in headless mode. Here's the link I followed:
https://www.tomshardware.com/reviews/ra ... ,6028.html
I did everything exactly as the post states. I added that last line to the config file, I added the line to the cmdline file, and I also created a ssh file, all exactly as described (note, the screenshot of the cmdline doesn't show the full image... don't worry, I didn't delete anything!):
I inserted the microSD into my Pi Zero and then plugged my microUSB to the Pi Zero and my laptop. I started PuTTY and tried connecting to "raspberrypi.local", but I keep getting an error saying "Unable to open connection to raspberrypi.local Host does not exist":
Furthermore, I can't even see the Pi in my device manager or anywhere. I've been searching throughout the web yesterday and today, but had no luck in fixing this problem. All solutions seem to be for the Pi Zero W, which doesn't work in my case since I'm not using WiFi to set it up. I formatted my SD card and tried multiple times, and still had no luck. It's really disappointing and frustrating since I was so excited but it doesn't work!

Also: something I noticed is that after inserting the microSD into my Pi Zero and powering it on, and then after I take it out and place it in my computer, the ssh file isn't there anymore. Furthermore, all of the stuff that came after the "modules-load=dwc2,g_ether" that I added to my cmdline file disappeared.