-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: PI 4 doesn't connect to wifi #901
Comments
I'm having the same problem, with Bookworm 64, but I'm am a Debian noob. So I switched to Ubuntu Server 24.04 and it works with the exact same OS customizations as was used for Debian. This just to tell the developers that the problem probably lies with the Raspbian OS support as Ubuntu works as it should. If I try to use |
Just stumbled across this passage while checking out some RPi kiosk software: Guess that explains why configuration of WIFI in RPI Imager no longer works on Bookworm. |
I'm pretty sure this is related... but I just wasted like 5 hours troubleshooting (countless reflashes of bookworm, bullseye, separate machines, sdcards, etc) being unable to SSH into a fresh RPI OS image (via rpi-imager, setting a default user, enabling ssh). Headless SSH works the INITIAL boot, but then any following boot I am not able to SSH until I first sign into the pi locally (via monitor and keyboard), and then I am able to headless ssh from another machine. Clearly there is something going on with Network Manager that does not initialize the connectivity unless the user is already logged in. I was able to fix this by leveraging the My money is on rpi-imager doing something wonky with this |
Nope, it should still work. Output of
Has the content of |
Thank you. Another potentially useful data point. Was it working in the 2023-10-10 image and then broken in the 2023-12-05 image? |
After writing the image to a micro sd card (or usb etc), a firstrun.sh file should have been created on the boot partition. There is a line:
can you check if the psk is correct? You can also check if the file /etc/NetworkManager/system-connections/preconfigured.nmconnection has been generated (which it should). |
just ran into this using I did not have a I think my problem is that Ubuntu 22.04 LTS package repositories are delivering a really old version of rpi-imager. My |
+1 for rpi 5 |
As a general point, I strongly recommend that users do not use v1.7.2 was released before Raspberry Pi 5, and before the Bookworm release - so it's perfectly expected that it would fail to configure for new hardware and new software. -- Are any of these failing PSKs using non-ASCII characters? |
You mean
Not here. |
Host OS Version Selected OS Which Raspberry Pi Device are you using? What kind of storage device are you using? OS Customisation Comments
Just ascii chars. |
I have a Raspberry Pi 3 Model B. I installed Raspberry Pi OS, Bookworm64 with rpi-imager on my macOS using a Micro SD, setting up WiFi and everything. Note: After the installation, I changed my locale from Everything was working perfect. After a power outage, the WiFi didn't want to reconnect, prompting me to enter my password again and again even though I was sure the password was correct. After hours of troubleshotting I decided to remove the underscore in my SSID. I also removed the I reconnected to my new WiFi using |
Rpi 3A+ Installed bookworm lite 32bit, windows rpi-imager, setting wifi, rsa keys. Plugged SDcard to RPi, no wifi connection, plugged hdmi monitor and keyboard, shows ip addr 127.0.0.1 Managed to enter cmd "nmcli radio wifi on" - working fine even afer reboot |
I also have this problem. Rpi 4B. I lost around ~4 hours flashing and trying different setups, from setting wpa_supplicant.conf to setting the NetworkManager .nmconnection. Bullseyes LITE 32-bit can set the wifi and ssh connection with the Imager. Is this problem already fixed for newer build versions? Thanks |
I am seeing the same here |
Could you please try against the Bookworm release from 19th November? |
@tdewey-rpi The latest release is working for me. Thanks!
|
Same here! I am using Thank you @tdewey-rpi !! |
While I'd love to accept the credit, true credit must go to @XECDesign, who has championed this (and additionally, drawn my attention more acutely). We'll be introducing steps to avoid this sort of issue going forward - with the hope you won't even notice that being introduced! |
What happened?
It may be an issue with Raspbian itself.
I just flashed raspbian lite 64 to RPI4, pre configured the wifi and boot.
It doesn't connect to the wifi.
I verified that the name & password are correct.
I'm not sure how to diagnose it to know better if it's an issue with rpi imager.
I can access the shell with keyboard & hdmi.
Update:
I re-flashed without configure the WIFI in rpi-imager.
Then I configured manually the WIFI through
sudo raspi-config
and it connected successfully. Something is invalid in rpi-imager.Version
1.8.5 (Default)
What host operating system were you using?
Windows
Host OS Version
Windows
Selected OS
Bookworm 64
Which Raspberry Pi Device are you using?
Raspberry Pi 4B, 400, and Compute Modules 4, 4S
What kind of storage device are you using?
USB SSD
OS Customisation
Relevant log output
July 4th 2024
The text was updated successfully, but these errors were encountered: