Beaglebones configured as Master and Slave?

Hi

I have an application that requires two BeagleBones (White) one of them master and the other slave… Is it possible to reboot/execute commands on the slave via the Master through the Serial port? Is Serial port the best way to do handshaking between the two BBs?

Is Serial port the best way to do handshaking between the two BBs

Serial communication is a good way to interface computers.
Is it the best? I can think of a lot of ways to interface computer boards.

I think you are talking about inventing a protocol for communication between devices.
Think about making the command structure easy to validate, and easy to parse.

Jody

“Best” would be subjective. Ethernet ? <— faster. UART <— possibly simpler. There is also at least I2C and SPI, but honestly can not think of a good reason to use either of these in place of the first two I mentioned. Maybe I2S too ? But I do not know much about I2S.

"Best" would be subjective. Ethernet ? <--- faster. UART <--- possibly
simpler. There is also at least I2C and SPI, but honestly can not think of
a good reason to use either of these in place of the first two I mentioned.
Maybe I2S too ? But I do not know much about I2S.

I agree with William: Ethernet might be simpler, faster??, better??? but
for sure much more versatile, because you can create multiple parallel
connections!

If you build a local network with several BB(B)'s and your (hopefully
Linux?)
Laptop, then you create a little Server farm with one System with human
interfaces and in your case two “headless servers”. And, for such systems
you find “_all_” information you need on the WWW.

Specifically:
- ssh login without password
- scp without password
- ssh tunnel without password
- mount distant file systems without password
- Cluster with 10'000 BB's (did anyone try this???)
- And last but not least: Shutdown another BB without password:
dw@dw-UX31E:~$ ssh root@1.2.3.4 -X shutdown -h now
(I tried, it worked, I had to restart my server@home, lucky for me, I was
@home.....)

HTH