*BSD News Article 68583


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newsrelay.netins.net!news.dacom.co.kr!usenet.seri.re.kr!news.cais.net!bofh.dot!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!satisfied.apocalypse.org!usenet.apocalypse.org!lowell
From: lowell@epilogue.com (Lowell Gilbert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: standalone PC and hostid
Date: 15 May 1996 16:03:31 GMT
Organization: Epilogue Technology Corp., Wakefield Mass., USA
Lines: 15
Message-ID: <LOWELL.96May15120332@kehleyr.epilogue.com>
References: <4n7m12$rua@fu-berlin.de> <31978133.1A22CDA8@lambert.org>
NNTP-Posting-Host: kehleyr.epilogue.com
In-reply-to: Terry Lambert's message of Mon, 13 May 1996 11:36:35 -0700

In article <31978133.1A22CDA8@lambert.org>,
 Terry Lambert <terry@lambert.org> writes:
   I believe the hostid is derived from the IP address.  This makes
   sense, since it is generally only used in a networking environment
   for things like floating license managers.

Actually, as of 2.1.0-RELEASE (I haven't checked anything more recent),
hostid is always zero.  Since I use hostid in some test code I write, I
have a line in my rc.local file to stick my IP address into 'kern.hostid'.

I will leave it to others to debate whether this should be default
behaviour in the way that Terry seems to think that it is.

Be well.
        Lowell