Hi everyone,
I've been having major issues getting WiFi to work reliably on my Raspberry Pi Zero 2 W when using Raspberry Pi OS Lite 64-bit. I used Raspberry Pi Imager v1.8.5 and tried all available versions of Raspberry Pi OS, both 32-bit and 64-bit, but none of them seemed to work consistently.
The WiFi sometimes worked on the first boot but not always.
After a reboot, it just failed to connect entirely and never worked again.
No obvious logs or errors explaining why it wouldn’t reconnect.
As a last attempt, I decided to flash Ubuntu Server 24.10 instead. To my surprise, WiFi now works flawlessly, even after multiple reboots. So, this seems to be a specific issue with Raspberry Pi OS.
Does anyone know how to fix WiFi on Raspberry Pi OS Lite 64-bit for the Zero 2 W? Or is Ubuntu Server a reasonable alternative? I plan to use this Pi with an RPI Camera 3 and several sensors, including BME280, RFM96W, and NEO-6M GPS. Which OS would be better to use for that purpose?
I also wanted to enable SSH over USB (gadget mode) but couldn't get it working. Here’s what I tried:
Flashed Raspberry Pi OS Lite 64-bit.
Edited config.txt and added: "dtoverlay=dwc2"
Edited cmdline.txt (I made sure to watch out for the spaces and wrote it all on a single line) and added after "rootwait" and before "quiet": "modules-load=dwc2,g_ether"
Created a blank file named ssh (even though I enabled SSH in Raspberry Pi Imager settings).
My PC recognized the RPi as a serial device, but I couldn't SSH into it.
Tried installing the RNDIS Gadget driver from this link: https://www.catalog.update.microsoft.co ... 009153023b.
Ran arp -a, but no IP address showed up for the RPi.
Enabled Internet Connection Sharing on my NIC, expecting it to provide an IP via DHCP, which if I understand right should give the RPI on the USB interface an IP from my DHCP server thus it should be able to access the internet and my network. Do I understand this right?
Did I miss something in setting up SSH over USB? Can I try this on the Ubuntu Server as well and will it work?
Any help with either the WiFi issue on Raspberry Pi OS or getting SSH over USB to work would be greatly appreciated!
Thanks!
I've been having major issues getting WiFi to work reliably on my Raspberry Pi Zero 2 W when using Raspberry Pi OS Lite 64-bit. I used Raspberry Pi Imager v1.8.5 and tried all available versions of Raspberry Pi OS, both 32-bit and 64-bit, but none of them seemed to work consistently.
The WiFi sometimes worked on the first boot but not always.
After a reboot, it just failed to connect entirely and never worked again.
No obvious logs or errors explaining why it wouldn’t reconnect.
As a last attempt, I decided to flash Ubuntu Server 24.10 instead. To my surprise, WiFi now works flawlessly, even after multiple reboots. So, this seems to be a specific issue with Raspberry Pi OS.
Does anyone know how to fix WiFi on Raspberry Pi OS Lite 64-bit for the Zero 2 W? Or is Ubuntu Server a reasonable alternative? I plan to use this Pi with an RPI Camera 3 and several sensors, including BME280, RFM96W, and NEO-6M GPS. Which OS would be better to use for that purpose?
I also wanted to enable SSH over USB (gadget mode) but couldn't get it working. Here’s what I tried:
Flashed Raspberry Pi OS Lite 64-bit.
Edited config.txt and added: "dtoverlay=dwc2"
Edited cmdline.txt (I made sure to watch out for the spaces and wrote it all on a single line) and added after "rootwait" and before "quiet": "modules-load=dwc2,g_ether"
Created a blank file named ssh (even though I enabled SSH in Raspberry Pi Imager settings).
My PC recognized the RPi as a serial device, but I couldn't SSH into it.
Tried installing the RNDIS Gadget driver from this link: https://www.catalog.update.microsoft.co ... 009153023b.
Ran arp -a, but no IP address showed up for the RPi.
Enabled Internet Connection Sharing on my NIC, expecting it to provide an IP via DHCP, which if I understand right should give the RPI on the USB interface an IP from my DHCP server thus it should be able to access the internet and my network. Do I understand this right?
Did I miss something in setting up SSH over USB? Can I try this on the Ubuntu Server as well and will it work?
Any help with either the WiFi issue on Raspberry Pi OS or getting SSH over USB to work would be greatly appreciated!
Thanks!
Statistics: Posted by Maraxen — Mon Mar 17, 2025 9:22 pm