LinuxQuestions.org
Review your favorite Linux distribution.
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, 06: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, 08:37 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,102

Rep: Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719
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, 09: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, 11:26 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,102

Rep: Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:42 PM
How to Find who changed /etc/hosts file yuanjunliang Linux - Server 2 08-17-2009 10:10 AM
How to find hosts that users are logged into jtoddman Linux - Networking 0 11-14-2004 07:28 PM
find the devices.... alaios Linux - Networking 3 08-30-2004 04:01 PM
Linux can't find other hosts, by name, on LAN cornellS Linux - Networking 2 09-26-2003 05:39 PM


All times are GMT -5. The time now is 04:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration