Schollnw29
Posts: 1
Joined: Sun Mar 11, 2018 11:58 pm

PI 2 ssh over usb not working

Mon Mar 12, 2018 12:06 am

I have added ssh to boot and added dtoverlay=dwc2 and modules-load=dwc2,g_ether to cmdline.txt and config.txt but it is not showing up
WIN_20180311_19_04_32_Pro.jpg
WIN_20180311_19_04_32_Pro.jpg (97.22 KiB) Viewed 527 times

drgeoff
Posts: 10829
Joined: Wed Jan 25, 2012 6:39 pm

Re: PI 2 ssh over usb not working

Mon Mar 12, 2018 10:00 am

What exactly do you mean by "not showing up"? Can you ping the RPi?

I assume the micro-SD card visible in the photo is not the one that should be in the RPi. :)
Quis custodiet ipsos custodes?

User avatar
thagrol
Posts: 3178
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: PI 2 ssh over usb not working

Mon Mar 12, 2018 1:01 pm

Looks like you're trying to use the Pi2 as a USB gadget.

All Pi models with more than one USB port can't be used in this way. The on board USB hub chip (that also provides the ethernet port) prevents it.

Only Pi models with one USB port (zero, zeroW, zeroWH, A, and A+) support this.
Arguing with strangers on the internet since 1993.

Return to “Troubleshooting”