10-02-2005
find computer names from IP addresses?
Arright, here's what I'm trying to do. I want to dig up currently active IP addresses on my subnet, and my present strategy is to ping every address until I find active ones, then ping them more often to verify their status. Next, I want to find the names of the computers associated with those addresses, and here's where I'm stuck. Is there any program or utility that I can use to find the names associated with these addresses?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all,
is there an easy way in ksh to sort the results of a find in say alphabetical order ?? e.g in my script i am doing a find for all servers
find . -name "server.xml"
and the output is not in any order.
thanks in advance. (4 Replies)
Discussion started by: cesarNZ
4 Replies
2. Shell Programming and Scripting
Hello,
i have a file contains the information like below
/home/username/domain.com/log/access
/home/username/domain23.net/log/access
/home/reseller/username/domain.com/log/access
using a loop i can read every line of the file but i wants to extract domain name like(domain.com,... (3 Replies)
Discussion started by: eyes_drinker
3 Replies
3. IP Networking
Hi all,
One of my computers (an iMac) was recently stolen, but I have been able to connect to it over the internet through Apple's 'back to my mac' feature. In order for the police to find these people they need to know the IP address of the stolen computer.
I suspect that I will have find the... (6 Replies)
Discussion started by: RJFoulston
6 Replies
4. Shell Programming and Scripting
Hi guys,
I need to check a few log files as below to find out whether certain ip addresses is present on these log files.
type8code0: ls -alt
-rw-r--r-- 1 root other 796219588 Mar 20 02:25 logfile
drwxr-xr-x 2 root root 1536 Mar 20 02:00 .
-rw-r--r-- ... (3 Replies)
Discussion started by: type8code0
3 Replies
5. Hardware
Hello
A friend and I recently got our hands on an old computer (a rainbow '83 I think), cleaned it, etc... And now we're trying to get the thing running. The problem is that the included OS is badly documented, so I thought of installing an old version of UNIX on it. So the questions are: Is that... (8 Replies)
Discussion started by: ijiboom
8 Replies
6. Red Hat
Hi, there, How to know location of a computer where its IP Address and Computer name is known? tx (5 Replies)
Discussion started by: budiantho_indra
5 Replies
7. Shell Programming and Scripting
Hi,
I have a file having following content.
<sip:9376507346@97.208.31.7:51088
<sip:9907472291@97.208.31.7:51208
<sip:8103742422@97.208.31.7:51024
<sip:9579892841@97.208.31.7:51080
<sip:9370904222@97.208.31.7:51104
<sip:9327665215@97.208.31.7:51104
<sip:9098364262@97.208.31.7:51024... (2 Replies)
Discussion started by: SunilB2011
2 Replies
8. UNIX for Dummies Questions & Answers
I am totally new to shell scripting. I want to see people from which domain access my website. I want to generate the domain names from IP addresses in the Apache access.log file.
There are around 54 log files. I concatenate all the files into one.
I am using Ubuntu 12.04 LTS.
So I... (4 Replies)
Discussion started by: Ronni
4 Replies
9. UNIX for Advanced & Expert Users
Hi,
I have a web server running on Debian 6.0.4 in a computer outside my university, but the web URL is blocked by my university, the security group of the university said because it was scanning computers inside university.
I could not find any applications in my web server are doing... (3 Replies)
Discussion started by: hce
3 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have a file with a list of bunch of IP addresses from different VLAN's . I am trying to find the list the number of each vlan occurence in the output
Here is how my file looks like
1.1.1.1
1.1.1.2
1.1.1.3
1.1.2.1
1.1.2.2
1.1.3.1
1.1.3.2
1.1.3.3
1.1.3.4
So what I am trying... (2 Replies)
Discussion started by: new2prog
2 Replies
RARPD(8) System Manager's Manual RARPD(8)
NAME
rarpd - reverse address resolution protocol daemon
SYNOPSIS
rarpd [-d]
DESCRIPTION
Rarpd listens on the ethernet for broadcast packets asking for reverse address resolution. These packets are sent by hosts at boot time to
find out their IP address. Rarpd looks up the six octet ethernet number in the /etc/ethers file finding a host name. This name is trans-
lated to the IP address of the host by a DNS lookup. The IP address is then sent to the host.
Before rarpd can start its service it first finds out what the IP addresses of the ethernets are. It will look through /etc/ethers to map
the ethernet addresses to host names. It then uses /etc/hosts to map the host names to IP addresses. If this lookup fails then several
RARP requests are broadcasted in the hope that some RARP server knows the addresses. The IP addresses are eventually set in the same way
as ifconfig(8). (The address is not changed if already set with ifconfig.) Note that the host names in the ethers and hosts files must
match exactly. The DNS can not be used yet, so a simple name can't be translated to a fully qualified name.
Rarpd exits after startup if there are no active ethernets, or if there is no ethers file.
Warning! Sun diskless workstations assume that the first RARP server that answers is the host they are to boot from. For this to work all
other Sun RARP servers delay their answer if they are not also the requestors boot server. The Minix rarpd does not have this kludge so it
will happily engage the Sun boot server to see who can answer the client first. Unless your Minix host can actually serve a Sun diskless
client, it is better not to list any more hosts in the ethers file than necessary.
OPTIONS
-d Turns on debugging messages. Debugging can also be turned on at runtime by sending signal SIGUSR1 or turned off with SIGUSR2.
SEE ALSO
ifconfig(8), ethers(5), hosts(5), set_net_default(8), boot(8), inetd(8), irdpd(8), nonamed(8).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
RARPD(8)