Closed realchandan closed 7 months ago
I wonder if this might be a problem with Raspberry Pi OS (or your router), rather than a problem with Raspberry Pi Imager? Is your Raspberry Pi able obtain an IP address from your router over LAN if you don't set any customisation options in Raspberry Pi Imager?
P.S. If you're able to (temporarily) attach an HDMI monitor/TV and a USB keyboard to your Raspberry Pi, that'll make it much easier to diagnose what's going on.
The issue has occurred across four different routers (yes, I have four routers: D-Link, TP-Link, an ISP router, and another Raspberry Pi acting as a router). This isn't just a problem that popped up today prompting me to file a bug report. I've been dealing with this issue for months now, and I finally got so fed up that I decided to file this bug report.
I also faced a similar issue when using an HDMI monitor to flash the system. I don't remember exactly how I resolved it back then, but I think it involved unsetting the locale settings or something similar.
Let me try updating the system without any custom settings and see if it manages to obtain an IP address. I'll update you on whether this approach works.
I've been dealing with this issue for months now
Have you tried asking for help on the forums ?
I haven't tried the forums yet.
I flashed the same image without any customization to my Pi 4 and connected a LAN cable. I also rebooted the router, but it still doesn't connect.
I think if anyone used the same image and customization, they would encounter this issue too.
I got it working, but I had to do two things differently. I applied the same customizations as shown in the screenshots, but I set the "Wireless LAN Country" to "GB" (despite not being from the GB), and I had to uncheck "Set locale settings."
It looks like the Pi is only meant to be used in the GB! 🤣
What channel/frequency is your wifi on?
I’m guessing it’s not one that is allowed in the region according to the regulatory domain blob.
Not sure why Ethernet wouldn’t work though. A lot more information would need to be provided to look into it. Maybe the output from journalctl would tell us something.
It's 2.4 GHz Channel 1, and I have set the country code to India in the OpenWrt wireless AP settings. Yeah, I also couldn't figure out why the LAN port didn't work either. Anyway, I've come up with a solution for flashing memory cards:
Tried to reproduce the issue here and everything just worked as expected. I used the settings you gave in the first screenshot and the same image running on a pi5. WLAN connected as expected and I was able to ssh in.
It would probably be a good idea to drill down and figure out why it's not working out of the box in your case, but if you're happy with your workaround and want to leave it here, no worries.
I'd like to leave it here. I've probably flashed memory cards countless times over the last few months, and today alone, about 10 times.
I managed to flash both my RPi 4 and RPi 5. I will soon flash the RPi 3 once I buy a memory card. If I find the strength and time to dig deeper, I'll post an update here.
What happened?
I'm tired of flashing my SD card over and over again. I've flashed them dozens of times, and it can't just be a coincidence. I have both a Raspberry Pi 5 and a Raspberry Pi 4.
Problem: When I flash my SanDisk 64 GB memory card with the image file 2024-03-15-raspios-bookworm-arm64-lite.img, using custom options (see screenshots), I can't seem to get my Raspberry Pi to obtain an IP address from the router, either through WiFi or LAN. It doesn't even show up in the router. I've rebooted my router as well, but the problem persists. My router is running OpenWrt.
Version
1.8.5 (Default)
What host operating system were you using?
Windows
Host OS Version
Windows 10 Home Version 22H2
Selected OS
Raspberry Pi OS Lite 64-bit
Which Raspberry Pi Device are you using?
Raspberry Pi 5
What kind of storage device are you using?
microSD Card in a USB reader
OS Customisation
Relevant log output
No response