tldr: Pi4 can't establish wifi when booted from USB3 SSD anymore. But can, when booted from USB2 or SD Card.
update2 & Solution: I found another line in the syslog (mmc1: Controller never released inhibit bit(s).
) and soon after found this thread.
The solution was to wipe the SSD, remove all the partitions it had and flash it again with the Pi Imager.
update1: with the SSD plugged into a USB2 port instead of a USB3 port the pi auto connects to my wifi. Weird.. could it be a power supply issue?
After preparing an SSD flashed with Pi OS Lite 64 and disconnecting the LAN cable, I attempted to connect my Raspberry Pi 4 to my wifi network. Despite multiple attempts over the course of three days, I was unable to connect the device to my network.
My troubleshooting attempts included changing the Network Configuration to NetworkManager, disabling Power Safe Mode, and attempting various other solutions to no avail.
- NetworkManager: Runs well, sees all surrounding networks, but fails to connect to mine.
Error: Connection activation failed: (7) Secrets were required, but not provided.
- Disabling Power Safe Mode by adding the following line into /etc/rc.local
iw dev wlan0 set power_save off
However, I was able to successfully connect to my network by booting from an SD Card using the same Pi OS and settings by flashing it with the same computer and Pi Imager.
What is particularly puzzling is that the Pi had been working flawlessly with the SSD for over four weeks, including connecting to wifi. Additionally I also have a HDD which I experimented with that also worked until I replaced it with the SSD, and even the HDD boots and cannot connect to the Wifi now.
I am currently at a loss for any further troubleshooting steps and would appreciate any advice.
Please let me know what else I could try. Thanks!