|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
hi ALL,
is there any command that i can use in fc4 to view my network computers names/ ip address. thnx in advance. |
|
#2
|
|||
|
|||
|
Quote:
this is stored in /etc/hosts or /etc/inet/hosts depending. Not sure of a command though................. |
|
#3
|
||||
|
||||
|
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?. |
|
#4
|
||||
|
||||
|
i want a specific command.
|
|
#5
|
||||
|
||||
|
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?
|
|
#6
|
|||
|
|||
|
You can do this by using nmap command....
nmap -sS -O 192.168.0.0/24 Change the IP with your network IP.. Regards, |
|
#7
|
|||
|
|||
|
if you want to find IP for the machine,
then do a interactive query to name servers with nslookup |
|
#8
|
||||
|
||||
|
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 |
|
#9
|
|||
|
|||
|
what if response to control messages are disabled ???
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > How to view IP address/computer names ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|