UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 15th, 2006, 08:26 AM
tbankar's Avatar
tbankar tbankar is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2006
Posts: 777 tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 9 h 40 m 37 sec
Reputation Power: 339
Question How to view IP address/computer names ?

hi ALL,
is there any command that i can use in fc4 to view my network computers names/ ip address.

thnx in advance.

Reply With Quote
  #2  
Old June 16th, 2006, 01:52 PM
playskool playskool is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 48 playskool Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 23 h 5 m 35 sec
Reputation Power: 0
Quote:
Originally Posted by tbankar
hi ALL,
is there any command that i can use in fc4 to view my network computers names/ ip address.

thnx in advance.


this is stored in /etc/hosts or /etc/inet/hosts depending. Not sure of a command though.................

Reply With Quote
  #3  
Old June 16th, 2006, 09:28 PM
Ehlanna's Avatar
Ehlanna Ehlanna is offline
Not a clue what to put ...
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2006
Location: in front of this keyboard
Posts: 815 Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 5 h 43 m 48 sec
Reputation Power: 243
I think that hostname and ifconfig -a would do what you want.
__________________
According to Sod's Law, buttered toast lands butter side down, when dropped.
Per nature, cats always land on their feet.
So, what happens when you strap buttered toast to the back of a cat and throw it out a window?
.

Reply With Quote
  #4  
Old June 17th, 2006, 03:08 AM
tbankar's Avatar
tbankar tbankar is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2006
Posts: 777 tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level)tbankar User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 9 h 40 m 37 sec
Reputation Power: 339
i want a specific command.

Reply With Quote
  #5  
Old June 17th, 2006, 05:21 AM
Ehlanna's Avatar
Ehlanna Ehlanna is offline
Not a clue what to put ...
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2006
Location: in front of this keyboard
Posts: 815 Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 5 h 43 m 48 sec
Reputation Power: 243
Specific comamnd in what what way? Do you mean, you type in command, and command spits out all the information you need? That sounds like will be writing a script. Did the hostname and ifconfig -a commands work for you?

Reply With Quote
  #6  
Old June 17th, 2006, 06:06 PM
babarsher babarsher is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 12 babarsher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 29 m 30 sec
Reputation Power: 0
You can do this by using nmap command....

nmap -sS -O 192.168.0.0/24

Change the IP with your network IP..


Regards,

Reply With Quote
  #7  
Old June 23rd, 2006, 03:39 AM
madmatrix madmatrix is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 10 madmatrix User rank is Private First Class (20 - 50 Reputation Level)madmatrix User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 h 11 m 52 sec
Reputation Power: 0
if you want to find IP for the machine,

then do a interactive query to name servers with nslookup

Reply With Quote
  #8  
Old June 23rd, 2006, 03:55 AM
edman007's Avatar
edman007 edman007 is offline
Trapped on the forums...help
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Aug 2003
Location: /Users/edman007
Posts: 4,617 edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)  Folding Points: 67263 Folding Title: Intermediate FolderFolding Points: 67263 Folding Title: Intermediate FolderFolding Points: 67263 Folding Title: Intermediate FolderFolding Points: 67263 Folding Title: Intermediate Folder
Time spent in forums: 1 Month 3 Weeks 3 Days 5 h 3 m 10 sec
Reputation Power: 788
Send a message via AIM to edman007
this is useful too (not all computers will respond though, depends on their config)

Code:
ping -b 192.168.1.0
arp -a


the ip you ping should be the Bcast (get from ifconfig), 255 and 0 can be used interchangeably (i think), the -b tells it to ping the entire network, after they get pinged you just need one, every pinged IP gets cached in your arp tabled, the next arp -a will list your arp table, which includes hosts names, if you know one hosts ip that did not respond you can ping them directly and then use arp again to get the hostname

your also might want to look into ettercap, that can do some very aggressive stuff to pull info about all the computers
__________________
Feed ME

Reply With Quote
  #9  
Old June 23rd, 2006, 04:21 AM
madmatrix madmatrix is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 10 madmatrix User rank is Private First Class (20 - 50 Reputation Level)madmatrix User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 h 11 m 52 sec
Reputation Power: 0
what if response to control messages are disabled ???

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > How to view IP address/computer names ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT