LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Find all devices/hosts? (https://www.linuxquestions.org/questions/linux-networking-3/find-all-devices-hosts-799081/)

ashok.g 03-31-2010 05:06 AM

Find all devices/hosts?
 
How can I find all the devices(printers,etc...) and computers along with their OS if any installed that are connected in my intranet (devices/computers may be down here)?

I did this earlier using netstat or nmap not sure what I used and how I did.
Can anyone help me?

TB0ne 03-31-2010 07:37 AM

Quote:

Originally Posted by ashok.g (Post 3918917)
How can I find all the devices(printers,etc...) and computers along with their OS if any installed that are connected in my intranet (devices/computers may be down here)?

I did this earlier using netstat or nmap not sure what I used and how I did.
Can anyone help me?

Nmap will do this.

But if you knew you used netstat or nmap before, and knew they worked, why didn't you just try the commands, or read about what they did, and try it???

ashok.g 03-31-2010 08:15 AM

Quote:

Originally Posted by TB0ne (Post 3919062)
Nmap will do this.

But if you knew you used netstat or nmap before, and knew they worked, why didn't you just try the commands, or read about what they did, and try it???

When I did them previously they gave me the OS installed as well. But this time they aren't showing.
Also, the same command is showing different outputs in different kernel versions like some showing the MAC addresses some are not.

TB0ne 03-31-2010 10:26 AM

Quote:

Originally Posted by ashok.g (Post 3919118)
When I did them previously they gave me the OS installed as well. But this time they aren't showing.
Also, the same command is showing different outputs in different kernel versions like some showing the MAC addresses some are not.

Read the MAN pages on nmap. That's an option, and will only show up if you enable it. Also, some options only show up if you're running it as root. And remote systems can also be set up to *NOT* show information to remote queries, for security purposes.


All times are GMT -5. The time now is 02:57 PM.