1

My computer is connected to two wired networks and a wireless network, as you can see in the network settings: network settings

The currently selected network is actually a Raspberry Pi Zero connected via a USB cable. I would like to know the IP address of the Pi itself, so hence my question:

How can I list all devices connected on a certain Wired network connection?

  • 2
    What about sudo arp-scan --localnet? You need to sudo apt-get install arp-scan first though. – Byte Commander Dec 5 '16 at 22:27
  • @ByteCommander The problem is that that lists all of the IP address on all of the networks, instead of only a single one. – Todd Sewell Dec 5 '16 at 22:29
  • You can specify the network to scan by finding out your IP on that network and specifying that and the slice/subnet mask instead of --localnet. See man arp-scan. The IP and subnet mask can likely be found in the output of ifconfig. – Byte Commander Dec 5 '16 at 22:32
  • Do you have an Ethernet connector like the one here: raspi.tv/2015/… ? – Terrance Dec 5 '16 at 22:45
  • 1
    That's a virtual connection through the USB connector, not an actual Ethernet connection to your network. That is a direct connection only to your computer. The 4th step states "You can SSH into it using raspberrypi.local as the address. " which is setup by the RPi to your computer only. – Terrance Dec 5 '16 at 23:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.