HOSTADDR.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- HOSTADDR(1) Minix Programmer's 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)
- 1