LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-31-2010, 05:06 AM   #1
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Rep: Reputation: 32
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?
 
Old 03-31-2010, 07:37 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by ashok.g View Post
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???
 
Old 03-31-2010, 08:15 AM   #3
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by TB0ne View Post
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.
 
Old 03-31-2010, 10:26 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by ashok.g View Post
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.
 
  


Reply

Tags
computers, devices, find, intranet



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reverse dns to find all virtual hosts for an ip address rogerdal Linux - Networking 3 12-24-2011 02:42 PM
How to Find who changed /etc/hosts file yuanjunliang Linux - Server 2 08-17-2009 09:10 AM
How to find hosts that users are logged into jtoddman Linux - Networking 0 11-14-2004 06:28 PM
find the devices.... alaios Linux - Networking 3 08-30-2004 03:01 PM
Linux can't find other hosts, by name, on LAN cornellS Linux - Networking 2 09-26-2003 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration