Determining one's own IP address.

terryl at tekcrl.LABS.TEK.COM terryl at tekcrl.LABS.TEK.COM
Thu Dec 14 05:14:00 AEST 1989


In article <GNB.89Dec13170734 at baby.bby.oz.au> gnb at bby.oz.au (Gregory N. Bond) writes:
>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.


     Guilty as charged. I have never used a Sun in my life (gotta toe the
company line and use our own workstations, ya know!!! (-:), and probably
never will use a Sun.....

Help
Stamp
Out
Fascist
News
Software
!!!!
!!!!



More information about the Comp.unix.wizards mailing list