From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4af82ff335390ac6 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,4af82ff335390ac6 X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1992-07-06 04:05:36 PST Xref: sparky comp.unix.ultrix:5482 comp.sys.dec:3896 Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!bronze!mdchaney From: mdchaney@bronze.ucs.indiana.edu (M Darrin Chaney) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: Re: unique identification of DECStation Message-ID: <1992Jul6.160046.4119@bronze.ucs.indiana.edu> Date: 6 Jul 92 16:00:46 GMT Article-I.D.: bronze.1992Jul6.160046.4119 References: <1992Jul2.222051.27703@slc.com> Organization: Indiana University In article <1992Jul2.222051.27703@slc.com> chrisp@slc.com (Chris Pinkham) writes: >I need to extract something from a DECStation that uniquely >identifies that machine. On other platforms, I can use uname(2) >(Ultrix's version doesn't seem to return an idnumber), or gethostid(2) >(this is settable by the sysadmin on DECStations). > >The existing method involves the extraction of the ethernet address >from an ethernet device, but this has the drawback of requiring >knowledge of all supported device types (ln?, xn? etc.). > >Can anyone tell me if there is a neat way of extracting some hardware >bound identification? Is there a generic way of getting the physical >address of the default system network interface, for example? Some other, >undiscovered-by-me way? If you're thinking of using this as a "copy protection" scheme, don't. I'd be really PO'd if I bought your broken software (it's broken if it uses this method) and I couldn't run it on another workstation when mine went down. My productivity shouldn't be tied to a single machine. You'll just have to trust people. Of course, if you want it for something else, just tell us... Darrin -- mdchaney@iubacs mdchaney@bronze.ucs.indiana.edu mdchaney@rose.ucs.indiana.edu "It's a marvel of vegetable containment..."