Table of Contents
This updated guide explains how to Find Devices Connected to the Network Using Debian through clear steps, practical examples, and important checks that help prevent common errors.
In this article, TipsMake. com will describe how to install and use Nmap to find devices connected to your network.
Step 1: Open the Debian Terminal
Launch the Terminal application in the system by going to the Activities tab in the top left corner of the Debian screen. Then in the search bar, type terminal. When the Terminal icon appears, click it to launch the tool.
Step 2: Install the Nmap Network Scanning Tool
Now in the Terminal application, run the following command as sudo to install the Nmap network scanning tool.
$ sudo apt-get install nmap
When prompted for a password, enter the sudo password.
When prompted for a password, enter the sudo password
The system will give you the Y / N option to confirm the installation. Click Y to confirm and then wait for a while until the installation is complete on the system.
Step 3: Get the IP Range / Subnet Mask of the Network
Nmap needs a network ID to scan connected devices on a specific network. So, to find the network ID, you will need the IP address and subnet mask.
Run the following command in Terminal to find the system's IP address and subnet mask:
$ ip a
Command output
The above output indicates that the system is using IP address 192.168.72.164 / 24. / 24 indicates the subnet mas to be 255.255.255.0. That means the network ID is 192.168.72.0 and the network range is from 192.168.72.1 to 192.168.72.255.
Step 4: Scan the Network for Device (S) Connected Using Nmap
Now you have the network ID. Run the Nmap scan with the -sn option with the following syntax:
$ nmap –sn
In this example, the command would be:
$ nmap -sn 192.168.72.0/24
Using the Nmap option with the -sn option does not scan ports, it only returns a list of live hosts:
List of live hostsFAQ
What is the easiest way to Find Devices Connected to the Network Using Debian?
Start with the requirements in this guide, then follow each step in order. Check the result after every major change so problems are easier to identify.
Can beginners follow these instructions?
Yes. The process is organized into practical steps, and you can repeat any step before moving forward.
What should I check if the method does not work?
Confirm your software or device version, permissions, settings, file format, and internet connection when the task depends on online services.
Reader Comments 0
Sign in with email or Google to join the discussion.