Assuming you're using the hardware mentioned in the "raspi.tv" article, the problem is that you're using an Ethernet straight-through cable when you need a crossover cable.
Gigabit Ethernet ports have "auto-crossover"/"auto-uplink" functionality built in, so you can connect any two ports using any type of cable, but older hardware, like the 10Base-T ...
It is possible to forward traffic from the wired interface (eth0?) to the usb0 interface. Because you do not have provided any details about your network configuration I can only guess. You have to enable ip forwarding. There are several ways to do it: within /etc/sysctl.conf or by systemd-networkd or with /proc/sys/net/ipv4/ip_forward. Because you have ...
I borrowed the RPI 3B from a friend's friend. hence I don't know the
hostname so that I can ping the RPI to know its IP address.
Raspberry Pi is a board without any internal storage hence it doesn't matter where you got this. You installed your own operating system (a downloaded image file) on the SD-Card and because of that, you have formated (remove any ...
Install a VPN for example Hamachi.
First install it on your PC and create a network, then :
sudo apt-get update
sudo wget https://www.vpn.net/installers/logmein-hamachi_126.96.36.199-1_armhf.deb
sudo dpkg -i logmein-hamachi_188.8.131.52-1_armhf.deb
then install and join network :
sudo hamachi login
sudo hamachi join my_network
Another way is to ...
Try swapping the two Raspberries around: I would expect that the one you connect via the Ethernet will still be the one that cannot be pinged.
The problem then lies in the router (or whatever device you have which provides the Internet access to the rest of your network). ping sends data via Internet Control Message Protocol (ICMP), so that's what you ...
How simultaneously do you need it to be? If "within a couple of seconds" is fine, then just call your scripts sequentially via SSH:
sshpass -p 'raspberry' ssh email@example.com python take_photo.py &
sshpass -p 'raspberry' ssh firstname.lastname@example.org python take_photo.py &
You may want to setup a passwordless login to make the commands simpler.
If you need to ...
You have two default routes:
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
The default route is used for all ip packages that destination address does not belong to ...
As you mentioned, it's easy to do it on Windows OS, however, it's a bit different on Raspberry Pi and Linux.
I have looked up guides but they all seem to mention using the pi as a
DHCP server, not too sure what I want/need this.
In your situation, the phone is a device that has an internet connection. Obviously, the devices/clients must connect to ...