HOSTADDR(1) General Commands Manual HOSTADDR(1)NAME
hostaddr - show ethernet address, IP address or hostname
SYNOPSIS
hostaddr [-eia] [-E eth-device] [-I ip-device]
DESCRIPTION
Without any of the -eia options, hostaddr shows the ethernet address, IP address and hostname of the local host on one line in the given
order. With options only the wanted fields are shown, still in the same order, not in option order.
OPTIONS -e Show the ethernet address.
-i Show the IP address. This will not work if no IP address has been found by RARP or by setting it with ifconfig(8).
-a Show the fully qualified hostname. The IP address is shown again if it can't be translated to a host name. (This usually indicates
that the DNS reverse address translation tables are incomplete.)
SEE ALSO ifconfig(8), rarpd(8), nonamed(8), set_net_default(8), boot(8).
DIAGNOSTICS
"Timeout"
Hostaddr timed out trying to get the IP address. This means that the network connection is out of order or that the setup of the machine
is bad.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
HOSTADDR(1)
Check Out this Related Man Page
RARPD(8) System Manager's Manual RARPD(8)NAME
rarpd - reverse address resolution protocol daemon
SYNOPSIS
rarpd [-v] [-i interface ]
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 ethers map finding a host name. This name is translated 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 address and hardware address of the ethernet is.
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. This 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 host can actually serve a Sun diskless client, it
is better not to list any more hosts in the ethers file than necessary.
OPTIONS -v Be verbose. Show requests which the daemon is responding to.
-i Bind to the named interface. By default rarpd binds to the default interface for the local system type, if available.
SEE ALSO ifconfig(8), ethers(5), hosts(5),
AUTHOR
Derrick J. Brashear (shadow@dementia.org)
The man page is mostly from the Minix version, by Kees J. Bot (kjb@cs.vu.nl)
RARPD(8)
I am trying to set up my internet connection for my unix system and cannot seem to do it. I have a optimum on line service, and use a cable modem, with a usb. The 3 com ethernet card in my Gateway Labtop is recognized but when I hook up the usb and try and connect the usb is unrecognized. I... (14 Replies)
Hello again. Neo, thanks for your last reply.
I have a new question. How can I re-configure the host name and IP address information attached to my NIC? I remember seeing a command posted here that would cause the system to re-boot and require the information to be entered but I do not see it... (6 Replies)
I am having a problem getting my configuration to stick. After I installed my quad-card I did the following:
1. created hostname.qe0, hostname.qe1, hostname.qe2, hostname.qe3 files in my /etc directory.
2. In my /etc/hosts file I added the ip address of each interface and the name for each... (7 Replies)
I needed to get a machine's local IP address when not root (so no ifconfig).
Eventually, I arrived at this convoluted solution that grabs the unique local IP info from netstat...
netstat -n -t | awk '{print $4}' | grep -o "*\.*\.*\.*" |\
grep -v "127.0.0.1" | sort -u
...however I... (5 Replies)
Hi guys,
I have a SunBlade 2000 that I am trying to configure. It has been configured previously with an IP address, hostname, DNS and so forth. I want to configure it with a new IP address. How can I achieve this? It has been one of the most difficult tasks for me as I am not really... (6 Replies)
I run - telnet adl001 (where adl001 is a box name) and it works Ok
/etc/hosts file does not have resolution of the ip address for this name
where it can be found ?
Thanks (5 Replies)
Hi all,
I am getting some error messages during bootup
ifconfig :<hostname> bad address
and some more messages related to it.
I some how checked the /etc/hostanem.hme0 /etc/hosts file.
Entries in these files were proper.
If I am running the following command from root:
... (5 Replies)
I need to find the MAC address of the ethernet cards on the host machine from the C language. I have found a way to do this on Linux using socket(), ioctl() and the ifreq structure. But this does not seem to work on AIX, HP/UX and probably the others I need (Solaris, SCO, Alpha etc).
Is there a... (7 Replies)
hello,
I have a Linux server with two interfaces eth0 and eth1. I configured two IP addresses from two different networks on 2 interfaces, and I connected both interfaces on two different switches.
the IP address of eth0 is responding without problem to ping from equipment of its home network,... (25 Replies)
Hi folks,
i am using Oracle Red hat linux 6.5 64 bit operating system. but when i fire a command ifconfig -a it shows me no ip address has been assigned to this server except loop back address.then i done the following things
1)
#nm-connection-editor
2)
#service NetworkManager stop... (5 Replies)
I'm currently looking into ways to integrate the Telegram API into the forums:
Telegram Bots - Bot Code Examples
I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?).
Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)