Page 1 of 1

PI 2 ssh over usb not working

Posted: Mon Mar 12, 2018 12:06 am
by Schollnw29
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 528 times

Re: PI 2 ssh over usb not working

Posted: Mon Mar 12, 2018 10:00 am
by drgeoff
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. :)

Re: PI 2 ssh over usb not working

Posted: Mon Mar 12, 2018 1:01 pm
by thagrol
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.