After many researching, I have concluded that this question must be plataform-dependent, so I am asking here the Unix/Linux one.

The best method I know until now to detect devices connected to my LAN (wired o wireless) is a neat program for Android named Fing .

Detecting devices on a LAN is not a easy/straightforward task, as long as some devices do not ask to ping, some others have open ports but even nMap does not detect both the device nor the open port, and so on.

Even specific tools that perform ping sweeps or ARP reading use to miss devices. For example: the above referred Fing does sometimes require a few refreshings until fully detecting everything (routers, managed switchs, NAS... etc) on a LAN.

What is the proper method, tool or procedure to perform (to obtain the more exhaustive results) this search from a Linux computer?

  • Open Source options preferred. Free encouraged. Payment alternatives only as last resource.

netdiscover uses active and passive scanning to detect hosts on the local network. It crafts ARP requests; probing for each possible address. After this (quick) scan is completed, it can continue running passively to detect hosts when they send ARP packets. The interface is very barebones and only shows discovered addresses, ARP count, and OUI manufacturer.

You can also use the -sn option of nmap to perform a host discovery scan. This scan has different behavior depending what user you run it as, and whether you are scanning a local network or not. It will list the hosts that are determined to be online.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.