Find Devices that connected to network In Ubuntu

Find Devices that connected to network In Ubuntu

Find Devices that connected to network In Ubuntu

We will use terminal for finding out what devices are connected to your network in Linux. The process is very simple and easy to use even for beginners. Here we go:
Get nmap:
nmap is one of the most popular network scanning tool in Linux. Use the following command to install nmap in Ubuntu:
sudo apt-get install nmap
Get IP range of the network:
Now we need to know the IP address range of the network. Use the ifconfig command to find it out. Look for wlan0 if you are using wifi or eth0 if you are using Ethernet.

[email protected]:~$ ifconfig

wlan0 Link encap:Ethernet HWaddr 70:f1:a1:c2:f2:e9
inet addr: Bcast: Mask:
inet6 addr: fe80::73f1:a1ef:fec2:f2e8/64 Scope:Link
RX packets:2135051 errors:0 dropped:0 overruns:0 frame:0
TX packets:2013773 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1434994913 (1.4 GB) TX bytes:636207445 (636.2 MB)

The important things are highlighted in bold. As you see my IP is and the subnet mask is which means that the ip address range on my network varies from to
Scan the network:
It is advisable to use root privileges while scanning the network for more accurate information. Use the nmap command in following way:

[email protected]:~$ sudo nmap -sP
Starting Nmap 5.21 ( ) at 2012-09-01 21:59 CEST

Nmap scan report for neufbox (
Host is up (0.012s latency).
MAC Address: E0:A1:D5:72:5A:5C (Unknown)
Nmap scan report for takshak-bambi (
Host is up.
Nmap scan report for android-95b23f67te05e1c8 (
Host is up (0.36s latency).



Click one of our representatives below to chat on WhatsApp or send us an email to [email protected]

× Cantact us through Whatsapp