Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!lownlab!kiely From: kiely@lownlab.UUCP (James P. Kiely) Newsgroups: net.bugs.4bsd Subject: hostid Message-ID: <161@lownlab.UUCP> Date: Fri, 9-May-86 11:24:08 EDT Article-I.D.: lownlab.161 Posted: Fri May 9 11:24:08 1986 Date-Received: Sun, 11-May-86 03:47:19 EDT Organization: Lown Cardiovascular Laboratory, Harvard University Lines: 13 Keywords: hostid gethostid sethostid hostname gethostname sethostname On all of the systems I have looked, "hostid" is not being set in /etc/rc.local. What is the purpose of the ``hostid(1)'' and ``{g,s}ethostid(2)'' calls? The manual page for ``hostid(1)'' states that this is "... normally set to the host's Internet address ... by giving a hexadecimal argument ...". How do you convert an Internet address with multiple decimal points into a hexadecimal number (or an int for ``sethostid(2)'') ? Is this obsoleted by ``hostname(1)'', ``{g,s}ethostname(2)'' ? -- NAME: James P. Kiely USPS: Lown Cardiovascular Laboratory USENET: ...!harvard!lownlab!kiely Harvard School of Public Health PHONE: +1 617 732 1307 665 Huntington Avenue Boston, MA 02115-9915