A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

-1

ip route get 1.2.3.4 | awk '{print $7}' I think Raspbian Buster didn't answer to ping, that'as why Raspberry may not appears in IPscanners. On more time, with a VPN the problem is solved.


2

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 ...


1

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 ...


4

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 ...


-2

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_2.1.0.203-1_armhf.deb sudo dpkg -i logmein-hamachi_2.1.0.203-1_armhf.deb then install and join network : sudo hamachi login sudo hamachi join my_network * Another way is to ...


1

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 ...


1

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 pi@192.168.0.2 python take_photo.py & sshpass -p 'raspberry' ssh pi@192.168.0.3 python take_photo.py & You may want to setup a passwordless login to make the commands simpler. If you need to ...


1

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 ...


2

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 ...


Top 50 recent answers are included