home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!spool.mu.edu!umn.edu!news.cs.indiana.edu!babbage.ece.uc.edu!ucunix.san.uc.edu!ewilson
- From: ewilson@ucunix.san.uc.edu (Eliot Wilson)
- Subject: Re: Hostid on RS/6000
- Message-ID: <Bzq11v.BJy@ucunix.san.uc.edu>
- Organization: University of Cincinnati
- References: <36950@sophia.inria.fr>
- Date: Wed, 23 Dec 1992 16:41:55 GMT
- Lines: 35
-
- In article <36950@sophia.inria.fr> amara@delta.inria.fr (Fethi AMARA) writes:
- >Hi,
- >does the hostid command under AIX 3.1 (or 3.2) on RS/6000 returns a hard
- >coded value (same on sparc).
- >
- >Thanks.
- >Fethi.
-
- No. The value can be set by root. Here's text from the man page under AIX 3.2.2
-
- The hostid command displays the identifier (either a unique host
- name or a numeric argument) of the current local host as a hexa-
- decimal number. This numeric value is expected to be unique
- across all hosts and is commonly set to the address of the host
- specified by the InternetAddress or HostName parameter. The root
- user can set the hostid command by specifying a hexadecimal
- number for the HexNumber, InternetAddress, or HostName parameter.
- The host id is set to the hostname by the /etc/rc.net file.
-
- For a similar constant value under AIX 3.x look at 'uname -m'.
-
- -ELiot
-
-
- >-----------------------------------------------------------------------
- >Fethi Amara, MALIN Lab. |email: amara@sophia.inria.fr
- >I.N.R.I.A Sophia Antipolis |Phone: (33)93.65.77.84 Fax: (33)93 65 77 83
- >mail: P.B. 93, 06902 Sophia Antipolis Cedex / France
-
-
- --
- Eliot Wilson Univ. of Cincinnati UG Computer Science
- A-in't IBM Cincinnati AIX Open Systems Solution Team
- I-t Internet: VNET:
- X-citing ewilson@ucunix.san.uc.edu supewils@DETVMIC5
-