From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,4af82ff335390ac6,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,4af82ff335390ac6,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-07-02 11:47:54 PST Xref: sparky comp.unix.ultrix:5418 comp.sys.dec:3862 Path: sparky!uunet!usc!sdd.hp.com!hp-cv!ogicse!psgrain!m2xenix!servio!chrisp From: chrisp@slc.com (Chris Pinkham) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: unique identification of DECStation Message-ID: <1992Jul2.222051.27703@slc.com> Date: 2 Jul 92 22:20:51 GMT Article-I.D.: slc.1992Jul2.222051.27703 Organization: Servio Corp, Beaverton Oregon, US 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? Thanks Chris