I'm trying to connect to my Raspberry Pi Zero W using SSH over USB. I've seen other people do it, and I have tried multiple different tutorials over the last few days, but none of them worked. I've seen this question being asked and answered many times, but all answers i found seem to be outdated, because none of them worked.
I have connected my Pi to my computer (yes, I have used the correct USB plug) with a modified image of the latest version of raspbian stretch lite.
What I modified:
-Added an empty file called "ssh" to the root dir
-Added dtoverlay=dwc2
to config.txt
-Added modules-load=dwc2,g_ether
to cmdline.txt (after rootwait
)
Now, when i plugged the pi into my PC, It got recognized as a "Serial COM port".
It should be recognized as an RNDIS Gadget, according to the tutorials.
I then downloaded and installed the "Acer Inc. Other hardware - USB ethernet RNDIS gadget" driver from here.
Now, when i plug in my pi, it shows up like this in the device manager:
But I still could not ping it / connect to it via PuTTY.
Sorry for the german. It says "could not find host raspberrypi.local".
I then tried to find the IP address of the Pi in the new network, and i noticed it had none. My PC has an address (192.168.137.1) on the new network, just not the Pi.
Any Idea what I could do?
I still can't figure this out. I hope my progress so far will help others with the same problem, since all online resources seem to be outdated by around 3 years.