If I have 2 raspberry pi's and I wanted to transfer\receive data with a LAN cable connected to them both(do i need a crossover cable?) how would I get the data from the LAN port? with a python script or bash file? how could i send and receive data from the command line?
Asked
Active
Viewed 1,120 times
1 Answers
0
You could just connect both of them to one another with a normal internet cable, and give them both a static IP. You could also just connect them to your network. Would probably be easier. I don't know if that is possible in your current setup though.
If they have the same default gateway (and subnet mask), and you give them an IP in between your chosen subnet mask, you should be able to just SSH or SFTP from one Pi to another.
But like @Jsotola stated, it is not really a RPi specific question.
Mats de Waard
- 128
- 10