I have a need to transfer a data file between two pi's on a regular basis(every10 mins)
The pi's could be without internet connection.
I found this article on the forum which would seem to do the job
Transfer .txt between two RPi (no internet,no pc)
However it requires the etho on both to have static ip's
Thats fine but would that mean that one at least of the pi's could still connect to the Internet by wifi as normal, or would it be constrained to the static IP?
Thanks for any direction.
Re: connecting two pi's without internet
If the two unit are talking over cabled ethernet (I assume since you mention eth0:). Then the Wifi inteface wlan0 is a seperate thing and should not interfere ( or be interferred by ) the ethernet setup.
But of course you have to make sure that the static addresses are on a subnet which is seperate from the Wifi net.
But of course you have to make sure that the static addresses are on a subnet which is seperate from the Wifi net.
Re: connecting two pi's without internet
Thanks,
Where can I find out about subnet please?
Where can I find out about subnet please?
Re: connecting two pi's without internet
Not too easy to find a very clear guide on the subject tbh.
https://www.computernetworkingnotes.com ... mples.html
https://support.microsoft.com/en-in/hel ... ing-basics
To say it with as few words as possible. If your Wifi router assigns devices IP adresses that start with "192.168.0." then your static ethernet addresses need to start with something else like for example "192.168.17."
https://www.computernetworkingnotes.com ... mples.html
https://support.microsoft.com/en-in/hel ... ing-basics
To say it with as few words as possible. If your Wifi router assigns devices IP adresses that start with "192.168.0." then your static ethernet addresses need to start with something else like for example "192.168.17."
Re: connecting two pi's without internet
Thanks I will give it a go.
-
- Posts: 56
- Joined: Tue Feb 26, 2019 6:45 am
- Location: texas usa
Re: connecting two pi's without internet
could you use ,if you have 1 laying around a old router to connect em together,without having it hooked to the net?
remember ,never approach a computer thinking this will only take a minute
~~pi zero w and a 3b+
~~pi zero w and a 3b+
Re: connecting two pi's without internet
Router ))) ~~~(((WiFi [DHCP] --- RPi#1 --- Ethernet [StaticIP] <-----LAN cable -----> Ethernet [StaticIP] --- RPi#2
I have done similar one with an RPi3B and pcDuino (as WinXP equivalent setup).
the "story" here:viewtopic.php?f=63&t=216517&start=50
I have done similar one with an RPi3B and pcDuino (as WinXP equivalent setup).
the "story" here:viewtopic.php?f=63&t=216517&start=50
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
Re: connecting two pi's without internet
Thanks Guys. Looks a good solution.
With my project however, it needs to be mobile and the two pi.s will be powered via USB battery power packs.
I guess the router would need mains power. (i do have an old one).
I will post the result in due course.
With my project however, it needs to be mobile and the two pi.s will be powered via USB battery power packs.
I guess the router would need mains power. (i do have an old one).
I will post the result in due course.
Re: connecting two pi's without internet
Why the router? I see no point whatsoever in putting a router between the two.
BTW, there are a number of ways to accomplish this, and it does not necessarily require static IP addresses. One fairly simple way is to create a SAMBA share on one host and then mount the share on the other.
BTW, there are a number of ways to accomplish this, and it does not necessarily require static IP addresses. One fairly simple way is to create a SAMBA share on one host and then mount the share on the other.