Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5385

Troubleshooting • USB gadget on a Zero W, what I'm missing

$
0
0
Hi,

I'm trying to get connect in SSH on a ZeroW, over the USB connector.
I follow several tuto on this and they all according on the same very simple steps :

1. Burn ISO on SD card
2. Before booting Pi, on boot partition add "dtoverlay=dwc2" in config.txt
3. add "modules-load=dwc2,g_ether" just after rootwait in cmdline.txt
4. create an empty file "ssh" on boot.
5. insert SDcard then startup Pi
6. use the USB (not the "pwr" one) and connect it to a computer.
7. You should have a new wired network

I'm on Ubuntu, and indeed I can see something with the command "ip -c a" that a new interface has been create, but nerver get an IP, then just stay like this. This interface regularly change its name (new try to create something I guess) and the virtual MAC change as well.
But I just can't reach the Pi.

Now some precision about the steps above :
- I'm burning the 32bit Raspbian
- Step 2 & 3 are crote on the "bootfs" partition, not "boot".
- I do not understand why there is need to create a "ssh" empty file on this partition.

I tried to read UART interface using GPIO and a USB / terminal DB9 connector, I'm seeing nothing (using minicom on ubuntu, it's a bit tricky but works most of the time).

I'm officially stuck (and bored).

Any idea to improve this situation ?

Statistics: Posted by BenjiDuke — Fri Dec 13, 2024 1:19 pm



Viewing all articles
Browse latest Browse all 5385

Trending Articles