I've been flashing and re-flashing my SD card to no avail. The annoying things is that it was able to connect to the WiFi network on first start-up, and then it decided never to connect to the internet again.
My steps to reproduce are these:
- Flash raspbian image using
sudo dd bs=1m if=2020-02-13-raspbian-buster.img of=/dev/rdisk2 conv=sync. I'm on a Mac.
sudo touch /Volumes/boot/ssh
sudo cp wpa_supplicant.conf /Volumes/boot/
- Eject the SD card, insert it into the pi, and power it on.
- Nothing. The first time I used the pi, it worked perfectly. Then I restarted it and it has not worked since. It doesn't connect on WiFi or via Ethernet. My router doesn't show the device as connected.
I'm on a headless setup so I can't inspect what's going on internally. I've ordered a mini-HDMI adapter, but it will take some time before it arrives.
The red power LED is on, and the green one adjacent is flashing periodically. I understood this to be an indication that it has fully booted and is running.
I've noticed that the first time I flashed the image it took a lot longer than subsequent runs. I'm guessing that this is because many sectors have not been altered and aren't overwritten. I'm worried that it's not overwriting sectors that should be overwritten; for instance something that the pi is using on startup to decide not to connect to the network. I'm speculating, but it might be that I didn't correctly configure SSH to run on non-initial launches before that first restart, and there's a file somewhere in the main partition that the pi interprets as indicating second launch.
The troubleshooting guide doesn't have any section on this, so I'm not sure how to troubleshoot this. I'm suspecting a DHCP or DNS issue, but I don't know how to configure it differently by tweaking the boot sector. Nothing in my router logs (Verizon Fios, G3100) indicates that the device is being rejected.