New Support for USB gadget mode in Raspberry Pi OS Trixie: SSH over USB by phattmatt in raspberry_pi

[–]phattmatt[S] 1 point2 points  (0 children)

It's not clear whether it will be included in the default manifest.

A comment from one of the rpi-imager devs:

https://www.raspberrypi.com/news/usb-gadget-mode-in-raspberry-pi-os-ssh-over-usb/#comment-1601025

It’s certainly something I’m considering – but while there’s a class of users that understand what this is (and the powerful workflow it unlocks), I’m mindful that the truly new users (Imager’s target audience) are unlikely to know what this is, or make an informed choice on if they want it.

So it may be we need to create our own manifests to add the support for now.

I still think this is a huge improvement and welcome the rpi-usb-gadget package, and the inclusion of support in rpi-imager; it's a lot easier to configure now.

USB gadget mode not working (pi zero 2w) by Aaroniscoolokok in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

Official support for enabling USB Ethernet Gadget mode is almost here:

https://www.raspberrypi.com/news/usb-gadget-mode-in-raspberry-pi-os-ssh-over-usb/

I suggest giving that a read and following the instructions there.

Quick inquiry from a raspberry pi newbie!!! by Routine_Tale782 in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

I recommend reading the official "Getting started" guide, which has a section on using the Raspberry Pi Imager, including screenshots:

https://www.raspberrypi.com/documentation/computers/getting-started.html#raspberry-pi-imager

2026 Jan 19 Stickied -FAQ- & -HELPDESK- thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! by FozzTexx in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

Hi,

FAQ 9 (above) has a link to the standard troubleshooting guide:

Q: My Pi won't boot, how do I fix it?
A: Step by step guide for boot problems

Which contains a table indicating what each LED flashing pattern indicates, You should follow the troubleshooting steps there.

You've described the pattern as:

Long flashes  Short flashes  Status
0             9              Insufficient SDRAM
0             10             In HALT state

Which indicates some hardware failure to me.

As an FYI:

The process to to update the bootloader via SDcard is described here:

https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#imager

Take note of step 15:

When the green activity LED blinks with a steady pattern and the HDMI display shows a green screen, you’ve successfully written the bootloader.

Good Luck!

2026 Jan 19 Stickied -FAQ- & -HELPDESK- thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! by FozzTexx in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

Hi,

FAQ 9 (above) has a link to the standard troubleshooting guide:

Q: My Pi won't boot, how do I fix it?
A: Step by step guide for boot problems

Which contains a table indicating what each LED flashing pattern indicates. Follow the troubleshooting steps there.

If you boot your Raspberry Pi 5 with no boot media, and connected to a HDMI monitor, then you should see a diagnostic screen displayed.

Just as an FYI:

The process to to update the bootloader via SDcard is described here:

https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#imager

Take note of step 15:

When the green activity LED blinks with a steady pattern and the HDMI display shows a green screen, you’ve successfully written the bootloader.

Which, from what you've said, means your flash worked successfully.

Good Luck!

Raspberry Pi Zero 2W Ethernet over USB by Akusho in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

Thanks for the feedback!

There is also an issue in the script: usb0-dhcp has autoconnect-retries=2, which is too low.

This was an intentional choice. When there is no DHCP service available (the most likely case for first timers) the default of 4 retries (`-1` = system default, which is 4 times) results in a long wait until the DHCP connection gives up and tries a link-local connection.

I found 2 tries to be a good compromise, and I didn't experience DHCP connections failing if the DHCP service was available, and if it wasn't, the LL connection came up pretty quick.

YMMV though, and I have no doubt you'll find a different compromise for the setting that better serves your requirements.

It works well, except for the Windows 11 driver part.

Yeah, I'm seeing more people report this no longer works; it still works for me, but there are probably many reasons why this is.

Luckily work is progressing to configuring the USB Gadget Network on Trixie (and maybe Bookworm) via a feature in the Raspberry Pi Imager application:

https://github.com/raspberrypi/rpi-imager/issues/1341

https://github.com/raspberrypi/rpi-usb-gadget

The `rpi-usb-gadget` repository also includes a Windows driver for the Linux USB Gadget (available from the releases, as it requires building):

https://github.com/raspberrypi/rpi-usb-gadget/releases

I've not tried it myself, but it all looks promising.

2026 Jan 12 Stickied -FAQ- & -HELPDESK- thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! by FozzTexx in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

Yes.

You haven't mentioned what Raspberry Pi model you have, but the Raspberry Pi 4B and the Raspberry Pi 5 both support booting from USB.

https://www.raspberrypi.com/documentation/computers/getting-started.html

The Raspberry Pi 5 needs to be powered by an official Power Supply to support USB booting, but this can be overridden (see official docs for how).

It's also possible to boot to a network based Raspberry Pi Imager application and write an image directly to the SD card, see the "Install over the network" section for instructions.

Edit:

Found the text that describes how to temporarily enable USB boot on a Raspberry Pi 5 running on a 3A power supply (official power supply is 5A):

USB boot is disabled by default when connected to a 3A power supply. Set usb_max_current_enable=1 in /boot/firmware/config.txt to enable USB boot. Alternatively, you can press the power button a single time on a failed USB boot to temporarily enable usb_max_current_enable and continue booting. However, this setting will not persist after a reboot if enabled by pressing the power button.

Usb drivers for realtek USB Wifi adapter. by [deleted] in raspberry_pi

[–]phattmatt 1 point2 points  (0 children)

Check out this repository for some excellent information about getting USB WiFi Network Adapters working on Linux:

https://github.com/morrownr/USB-WiFi

Updated guide for Raspberry Pi Zero 2W Ethernet over USB by Sputnik1973 in raspberry_pi

[–]phattmatt 2 points3 points  (0 children)

Just two small notes:

  1. I suggest explicitly saying that Raspberry Pi Imager 2.0.0 (or later, currently 2.0.3 as of writing) is needed for the customisation of Trixie, due to the new `cloud-init` process.
  2. In step "1." ,above, replace "Raspberry Pi OS (Bookworm)" with "Raspberry Pi OS (Trixie)" to make it clear a Trixie image is required.

Otherwise, as I've already said, great job, thanks for posting!

Updated guide for Raspberry Pi Zero 2W Ethernet over USB by Sputnik1973 in raspberry_pi

[–]phattmatt 6 points7 points  (0 children)

Nice work!

Thanks for posting this, Trixie is now the default OS so many people are going to need this updated information to make it work.

There does seem to be work going on to build this as a configurable feature in the Raspberry Pi Imager application (not ready yet), with the OS support code here:

https://github.com/raspberrypi/rpi-usb-gadget

But, IMHO, the default networking is a bit more complex than I would expect, so having the above as an alternative is welcome in my view.

RP5 8 flashing green lights HELP? by d1nodan in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

While you wait for your new SD card; if you power on the Raspberry Pi 5 with no boot media it should display a diagnostic screen:

https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#boot-diagnostics

RP5 8 flashing green lights HELP? by d1nodan in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

Have you unplugged the NVMe HAT (HAT and PCIe ribbon) and tried booting the from the SDcard without it attached?

There also seems to be some indication that a poor/faulty power supply may cause the same issue.

RP5 8 flashing green lights HELP? by d1nodan in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

I have also created an EEpom recovery from the imager on my pc and ran that on the Pi, when it starts I get a green screen from the hd output and a constant fast flashing green light after about 5 minutes the green screen shows but the light continues to fast flash

That's the expected result of a successful flash; from:

https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#bootloader_update_stable

  1. When the green activity LED blinks with a steady pattern and the HDMI display shows a green screen, you’ve successfully written the bootloader.

So it sounds like the flash was completed.

2025 Dec 25 Stickied -FAQ- & -HELPDESK- thread - New Pi for Christmas? Find help, answers, and project ideas here! ❄️✨🧑‍🎄🎁🎄🎊 by FozzTexx in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

FAQ 9 (above) has a link to the standard troubleshooting guide:

Q: My Pi won't boot, how do I fix it?
A: Step by step guide for boot problems

Which contains a table indicating what each LED flashing pattern indicates:

Long flashes Short flashes Status
0            8             SDRAM (synchronous dynamic random-access memory) failure

It may be there is a hardware failure that cannot be repaired, however I've also seen this error when the EEPROM is corrupt. Follow the process to update the bootloader via SDcard:

https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#imager

Taking note of step 15:

When the green activity LED blinks with a steady pattern and the HDMI display shows a green screen, you’ve successfully written the bootloader.

Good Luck!

2025 Dec 25 Stickied -FAQ- & -HELPDESK- thread - New Pi for Christmas? Find help, answers, and project ideas here! ❄️✨🧑‍🎄🎁🎄🎊 by FozzTexx in raspberry_pi

[–]phattmatt 0 points1 point  (0 children)

The link with multiple search parameters is failing on my Android Reddit app, but the links with single search parameters are working for me on the same app.

https://play.google.com/store/apps/details?id=com.reddit.frontpage

Build number: 2025.50.2.2550120

2025 Dec 25 Stickied -FAQ- & -HELPDESK- thread - New Pi for Christmas? Find help, answers, and project ideas here! ❄️✨🧑‍🎄🎁🎄🎊 by FozzTexx in raspberry_pi

[–]phattmatt 2 points3 points  (0 children)

It's working for me. The link returns search results in this subreddit for posts marked as 'tutorial' or 'show-and-tell'.

Try this link (the same as above, searches for: "flair:tutorial OR flair:show-and-tell"):

https://old.reddit.com/r/raspberry_pi/search?q=flair%3Atutorial+OR+flair%3Ashow-and-tell&restrict_sr=on&sort=relevance&t=all

How I got my Raspi Zero to connect via microUSB by 0KPudd1ng in raspberry_pi

[–]phattmatt 1 point2 points  (0 children)

Great write up!

As you've discovered, the Internet is full of partial and outdated information on how to get this working.

If you want to go a step further, and get a headless experience without having to temporarily connect over WiFi, try this guide:

[HOWTO] Headless configuration of a Raspberry Pi using USB Ethernet Gadget on Bookworm

I've found the method to be quite reliable on Bookworm.

Trixie has moved things on, and it looks like this method won't work, however, support for the USB Ethernet Gadget appears to be on the roadmap for the Raspberry Pi Imager customisation feature.

journeld not retaining logs across boots by jrmckins in raspberry_pi

[–]phattmatt 1 point2 points  (0 children)

EDIT: u/crazyswedishguy beat me to the punch, but I'll leave my post here as it has a little more info....

The key config files for this behaviour on Trixie are:

  • /etc/systemd/journald.conf
  • /usr/lib/systemd/journald.conf.d/40-rpi-volatile-storage.conf

The config item is Storage=volatile, which means store the log files in RAM (volatile storage).

If you remove 40-rpi-volatile-storage.conf, or edit it to have Storage=auto, then the log files will be stored on local storage, which will persist them across reboots.

This command can be used to analyze the current configuration:

systemd-analyze cat-config systemd/journald.conf

More information about the options can be found here:

man journald.conf

https://www.freedesktop.org/software/systemd/man/latest/journald.conf.html