geekinchief
Posts: 3
Joined: Thu Sep 06, 2018 3:01 pm

SSH over USB with Raspberry Pi 3B?

Thu Sep 27, 2018 7:16 pm

I want to control my headless Raspberry Pi 3B via a USB cable connection to my PC. I know how to do this (and it works really well) for the Pi Zero W, but following the same instructions for the 3B doesn't work.

fruitoftheloom
Posts: 21681
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: SSH over USB with Raspberry Pi 3B?

Thu Sep 27, 2018 7:30 pm

geekinchief wrote:
Thu Sep 27, 2018 7:16 pm
I want to control my headless Raspberry Pi 3B via a USB cable connection to my PC. I know how to do this (and it works really well) for the Pi Zero W, but following the same instructions for the 3B doesn't work.

USB requires a Host / Client relationship.


The RPi Zero can run in either Host or Client (on the go / gadget mode)

https://blog.gbaman.info/?p=791


The RPi 3B can like your PC can only be a USB Host, therefore what you wish to achieve is not feasible....

....unless you use a USBNET Cable:

https://www.raspberrypi.org/forums/view ... 6&t=131042
Retired disgracefully.....
......to a more gentile life !

sajeevank
Posts: 14
Joined: Mon Feb 25, 2019 11:25 am

Re: SSH over USB with Raspberry Pi 3B?

Mon Jul 15, 2019 9:14 am

Hi,

Shall You share the steps required for communicating Raspberry Pi 3 B+ with an Ubuntu Laptop, through SSH, with USBNET cable?
I think USBNET cable need to be connected to one of the USB Host ports of Raspberry Pi 3 B+(not in USB slave port). Right?

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

Re: SSH over USB with Raspberry Pi 3B?

Mon Jul 15, 2019 9:29 am

sajeevank wrote:
Mon Jul 15, 2019 9:14 am
Hi,

Shall You share the steps required for communicating Raspberry Pi 3 B+ with an Ubuntu Laptop, through SSH, with USBNET cable?
I think USBNET cable need to be connected to one of the USB Host ports of Raspberry Pi 3 B+(not in USB slave port). Right?
Neither RPi3B nor RPi3B+ has a USB slave port. Only host ports.

fruitoftheloom
Posts: 21681
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: SSH over USB with Raspberry Pi 3B?

Mon Jul 15, 2019 12:05 pm

removed as unhelpful response.....
Last edited by fruitoftheloom on Mon Jul 15, 2019 12:47 pm, edited 2 times in total.
Retired disgracefully.....
......to a more gentile life !

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

Re: SSH over USB with Raspberry Pi 3B?

Mon Jul 15, 2019 12:12 pm

drgeoff wrote:
Mon Jul 15, 2019 9:29 am
sajeevank wrote:
Mon Jul 15, 2019 9:14 am
Hi,

Shall You share the steps required for communicating Raspberry Pi 3 B+ with an Ubuntu Laptop, through SSH, with USBNET cable?
I think USBNET cable need to be connected to one of the USB Host ports of Raspberry Pi 3 B+(not in USB slave port). Right?
Neither RPi3B nor RPi3B+ has a USB slave port. Only host ports.
Correct. But a "UBSNET" cable (i.e. one designed to connect two USB hosts via a fake ethernet link) should make that a moot point.

Unfortunately I don't have one so can help directly.

If the "USBNET" cable present to each end as an ethernet devicve it should be just a matter of configuring the interfaces apropriately.
Attempts to contact me outside of these forums will be ignored unless signed in triplicate, sent in, sent back, queried, lost, found, subjected to public enquiry, lost again, and finally buried in soft peat for three months and recycled as firelighters

Return to “Troubleshooting”