What are the devices connected to my network?
How many and what are the devices on your network? It's easy to know, you need only a simple command!
To know what devices (computers, network printers, routers, hardware firewall, etc..) are connected to your network, you can use the command nmap.
If it isn't available on your system, you have to install it. For Ubuntu systems, please type:
sudo apt-get install nmap
Assuming that our network is 192.168.1.0, the command syntax is as follows:
nmap -v -sP 192.168.1.0/24 | grep -E 'to be up\.$|^MAC'
And here's what could be a possible output:
Host mygateway1.ar7 (192.168.1.1) appears to be up. Host 192.168.1.2 appears to be up.
Notes
Publication details
Category: Ubuntu and Linux
Published by: loryzz on date: 16.02.2008 11:18:35
Last edit by: loryzz on date: 02.04.2008 16:54:26
Ratings
Comments
4 user comments, 0 still waiting.
Comment by: CODAY on date: 20.06.2008 19:37:46
One thing to note is you can't see computers who drop ping packets they will be displayed as down.
Comment by: loryzz on date: 20.06.2008 19:57:45
Yes, it's not a 100% complete solution, but it's very useful for many application that concern networking.
Comment by: busby seo test on date: 30.10.2008 16:57:12
It’s basic stuff, but I know from my own peer interaction that many are not really online at all.
Comment by: seo techniques on date: 14.09.2009 18:28:57
I would like to thannk you for the efforts you have made in writing this article.
Leave a comment
All comments must be approved by site administrator.
Please write comments on topic. Spam will be never approved.
Ubuntu and Linux: Linked articles
Quando il tastierino numerico non funziona su Ubuntu published by loryzz in Ubuntu and Linux
Problemi di avvio F-spot? No grazie! published by loryzz in Ubuntu and Linux
Installare TeamViewer su Ubuntu published by loryzz in Ubuntu and Linux
How to install Java 1.6 on Ubuntu published by loryzz in Ubuntu and Linux
How to activate aMSN sounds on Ubuntu published by loryzz in Ubuntu and Linux
























Ritorna all'inizio
Based total comments
0 %
Comments percentage
0 %