ejolson
Posts: 5205
Joined: Tue Mar 18, 2014 11:47 am

Re: RPi Zero Internet Connection over USBNET Cable

Thu Dec 31, 2015 5:45 pm

fruitoftheloom wrote:Plugged in other end to the USB Hub connected to the Zero, booted and automagically found the USBNET and set it as the Internet Enabled Connection.
The USB of the PC is apparently running in device mode and the Pi Zero in host mode. This would allow multiple PCs to be connected to a single Pi Zero. The other way around, described here, would allow multiple Pi Zeros to be connected to a single PC. Can you plug the hub into the PC and get it to work the other way around?

hippy
Posts: 7459
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: RPi Zero Internet Connection over USBNET Cable

Thu Dec 31, 2015 5:55 pm

ejolson wrote:The USB of the PC is apparently running in device mode and the Pi Zero in host mode. This would allow multiple PCs to be connected to a single Pi Zero.
Transfer cables usually have both sides running in host mode and are effectively two back-to-back USB to LAN connectors without external access to the LAN.

It should be possible to plug any number of transfer cables into either a Pi or a PC providing they are recognised and have suitable drivers.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5590
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: RPi Zero Internet Connection over USBNET Cable

Thu Dec 31, 2015 6:00 pm

[quote="fruitoftheloom"
...
I have a Belkin USB "Easy Transfer Cable" (recommended for Windows) connected to my Lubuntu PC. The USB Connection is shared (like Windows ICS) in Lubuntu so acts as a basic DHCP Server.
...
[/quote]
Somewhat similar, but not quite the same as one of these?:
http://www.cpmspectrepi.webspace.virgin ... Cable.html
which I think is what @hippy is referring to.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: RPi Zero Internet Connection over USBNET Cable

Thu Dec 31, 2015 9:23 pm

Other than an exercise into feasibility, why on earth would you recommend this >£10 cable for a £4 tiny form factor computer? And it's not even Zero specific, any computer with a host port will work. Better a £16 B+ from RS etc etc. Or if Zero-specific, get a cheap as chips micro-USB to USB-A and do the same thing with gadget ethernet.

If Zero is about low cost, then peripherals must be low cost too.

If Zero is about tiny size, get tiny peripherals, at any cost.

Else-wise get an A+/B+/2B.

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: RPi Zero Internet Connection over USBNET Cable

Thu Dec 31, 2015 9:43 pm

Well you did recommend it here: viewtopic.php?f=63&t=127071&p=873057#p873057

or was that a "proof of concept" recommendation? As you are prone to say: :?: :?: :?: :?: :?: :?: :?: :?: :?: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:

mikerr
Posts: 2825
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: RPi Zero Internet Connection over USBNET Cable

Fri Jan 01, 2016 12:49 am

ejolson wrote:
fruitoftheloom wrote:Plugged in other end to the USB Hub connected to the Zero, booted and automagically found the USBNET and set it as the Internet Enabled Connection.
The USB of the PC is apparently running in device mode and the Pi Zero in host mode. This would allow multiple PCs to be connected to a single Pi Zero. The other way around, described here, would allow multiple Pi Zeros to be connected to a single PC. Can you plug the hub into the PC and get it to work the other way around?
Alternatively as you say you can use multiple zeroes usb networked and powered by one B+ :

http://twitter.com/mikered/status/68255 ... 29/photo/1

Image
Android app - Raspi Card Imager - download and image SD cards - No PC required !

Return to “General discussion”