0

I am new to raspberries and networking, but I'm trying to make 3 or 4 raspberries communicate over a (local?) network. They are all located in the same room. I'm thinking of making one of the raspberries host computer and have the other raspberries send data to said host. How would I go about it and where to start? I'm planning to send images and/or text files. I would prefer to use python for coding.

I tried to get started just to send something with this tutorial https://www.youtube.com/watch?v=u6kuHMY5pHM, but it seems not to work for me.

Emi OB
  • 2,814
  • 3
  • 13
  • 29
  • Are all PIs connected to a switch? something that will distribute IPs (via DHCP?). Start by getting them all on the same wired/wifi network (e.g. with Internet access), then find their IPs, and make sure they can all `ping` one-another. Once you have this, you can start thinking at higher-order tasks. – Adam Smooch Nov 02 '21 at 13:11
  • Yes I can make them ping one-another. – Emil Vuorio Nov 02 '21 at 13:22
  • Great! What kinds of data would you like to send between them? – Adam Smooch Nov 02 '21 at 14:31
  • I would like to send text files and images, nothing more complicated. Sorry for late answer – Emil Vuorio Nov 09 '21 at 09:13
  • A much simpler way would be to use `scp` for that (assuming your Pis have `ssh` enabled). If you're in an academic exercise, this may be relevant for you: https://stackoverflow.com/a/775515/10761353 – Adam Smooch Nov 09 '21 at 15:59

0 Answers0