szapo
Posts: 14
Joined: Mon Dec 10, 2012 7:36 pm

Ethernet between 3B+ and multiple Zero W

Thu Aug 16, 2018 6:17 am

Good morning!

I am thinking of building a 3-touchscreen system that consists of a Pi 3B+ and 2 or more Zero W, all powering a small touchscreen.
My software uses Java and Apache Thrift for RPC, hence I need to have all Zeros communicate with the "Master" 3B+ as fast as possible.
Apache Thrift uses TCP communication.

Now I read about this Ethernet gadget mode, and I am not sure if this is the thing that I need.

What I would like to achieve is to connect the Zeros via USB to the 3B+ and have a new network interface for each connected one on both sides, which allows me to do standard ethernet actions (TCP, UDP) between those devices.

Is that possible? And if so, what speeds are possible?

fruitoftheloom
Posts: 17277
Joined: Tue Mar 25, 2014 12:40 pm

Re: Ethernet between 3B+ and multiple Zero W

Thu Aug 16, 2018 9:00 am

szapo wrote:
Thu Aug 16, 2018 6:17 am
Good morning!

I am thinking of building a 3-touchscreen system that consists of a Pi 3B+ and 2 or more Zero W, all powering a small touchscreen.
My software uses Java and Apache Thrift for RPC, hence I need to have all Zeros communicate with the "Master" 3B+ as fast as possible.
Apache Thrift uses TCP communication.

Now I read about this Ethernet gadget mode, and I am not sure if this is the thing that I need.

What I would like to achieve is to connect the Zeros via USB to the 3B+ and have a new network interface for each connected one on both sides, which allows me to do standard ethernet actions (TCP, UDP) between those devices.

Is that possible? And if so, what speeds are possible?

Do you mean something like this ?

viewtopic.php?f=63&t=130815&p=874890#p874890
Adieu

szapo
Posts: 14
Joined: Mon Dec 10, 2012 7:36 pm

Re: Ethernet between 3B+ and multiple Zero W

Thu Aug 16, 2018 11:58 am

Apparently it is that easy.
Thank you for providing the link, this is very helpful and should be a prove that it works, which I will try out of course.

Sometimes you're just googling for the wrong terms ..

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

Re: Ethernet between 3B+ and multiple Zero W

Thu Aug 16, 2018 4:41 pm

szapo wrote:
Thu Aug 16, 2018 11:58 am
Sometimes you're just googling for the wrong terms ..
IP over USB is not ethernet.

szapo
Posts: 14
Joined: Mon Dec 10, 2012 7:36 pm

Re: Ethernet between 3B+ and multiple Zero W

Thu Aug 16, 2018 8:27 pm

Right you are, Harry :)

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

Re: Ethernet between 3B+ and multiple Zero W

Fri Aug 17, 2018 5:03 pm

szapo wrote:
Thu Aug 16, 2018 11:58 am
Apparently it is that easy.
A related resource is setting up this super-cheap cluster using 5 Pi Zero computers with root filesystems mounted over the USB Ethernet gadgets.

Return to “Advanced users”

Who is online

Users browsing this forum: No registered users and 11 guests