Determining one's own IP address.

Gregory N. Bond gnb at bby.oz.au
Wed Dec 13 17:07:34 AEST 1989


In article <5215 at tekcrl.LABS.TEK.COM> terryl at tekcrl.LABS.TEK.COM writes:

	Well, as they say (whoever THEY are!! (-:), RTFM (at least for a BSD
   system):

	   sethostid(2), gethostid(2), hostid(1)

Not on suns.  The hostid is set in a prom, and has nothing to do with
ip address.  Things like mathematica use it for compy protection.

Greg.
--
Gregory Bond, Burdett Buckeridge & Young Ltd, Melbourne, Australia
Internet: gnb at melba.bby.oz.au    non-MX: gnb%melba.bby.oz at uunet.uu.net
Uucp: {uunet,pyramid,ubc-cs,ukc,mcvax,prlb2,nttlab...}!munnari!melba.bby.oz!gnb



More information about the Comp.unix.wizards mailing list