How to find devices connected to the network using Debian
Sometimes you need to find out which device is connected to your network. It could be for a number of reasons such as slower internet speed than usual, you notice some suspicious activity (someone is stealing your WiFi) or when troubleshooting.
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.

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

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:

The above results show that there are 3 devices currently connected on the network.
You should read it
- How to See Who's Connected to Your Wi Fi
- How to Find the SSID on a Computer
- How to fix 'Connected Devices Platform User' service error using up RAM on Windows
- Watch out for Wifi networks when using Android devices
- Test on computer network with answer P9
- Learn about Home Area Network (HAN)
- What is Network TAP? How does it help secure the system?
- How to Find Your IP Address on a Mac
May be interested
- How to upgrade Debianin every two year period, debian will have no changes. program and feature versions remain the same during this time.
- What is Network TAP? How does it help secure the system?a network tap is a hardware device that you place in a network, especially between two connected devices of a network (such as a switch, router, or firewall) to monitor network traffic.
- How to Install Gradle on Debian 10gradle is a popular build tool primarily designed for software development in java. in this article, we will guide you through the steps you need to take to install gradle on debian 10.
- Notable changes and additions in Debian 11 'Bullseye'debian is one of the oldest, most stable and flexible linux distributions in the free and open source world.
- Do not destroy the Debian system!debian is a powerful and reliable system, but new users are still very easy to ruin the system, by not doing everything the way debian does.
- How to Find Your IP Address on a Macwhen your mac is connected to a network, it is assigned an address on the network called an ip address. the ip address is four sets of digits separated by periods, with up to three digits per set. if the mac is connected to a network as...
- Debian 10 Buster, New features in Debian 10 Busterdebian 10 buster has been released. let's explore the new features in debian 10 buster through the following article!
- Steps to fix Network Discovery not working in Windows 10the network discovery feature allows you to discover other devices connected to the same network, as long as they also have the feature turned on. usually, it is used to share files or other devices such as printers.
- How to Restart Debian Using the Command Linethe linux operating system can run without a reboot not only for a few weeks but for years. but sometimes there's a good reason to reboot your linux system after a week or two, depending on the situation.
- 9 best Debian-based Linux distributionsfortunately, debian's flexibility has made it a good base for other distributions, providing a more pleasant experience for those new to linux.