Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!mips!sgi!shinobu!odin!everest.corp.sgi.com!mas From: mas@everest.corp.sgi.com (Michael A. Schulman) Newsgroups: comp.sys.sgi Subject: Re: Finding the Ethernet card arp address Message-ID: <1991Apr2.214506.7140@odin.corp.sgi.com> Date: 2 Apr 91 21:45:06 GMT References: <5201@ns-mx.uiowa.edu> Sender: news@odin.corp.sgi.com (Net News) Reply-To: mas@sgi.com Distribution: usa Organization: Silicon Graphics, Inc. Lines: 22 In article <5201@ns-mx.uiowa.edu>, randy@tessa.iaf.uiowa.edu (randy frank) writes: |> Hello, |> I recently set up a time lock software system based on the |> first four bytes from /etc/sysinfo. Now I find that the new GTX boxes |> on our net have the same four bytes and differ only by the latter data. |> (The scheme worked very well when we had PIs). What I need now is a |> unique identifier for each system that is less than 8 bytes long. I |> figured I would use the arp address of the ethernet card in the box |> but I can't seem to find the proper routine to extract this piece of |> information. If you can help please Email me a short code segment |> illustrating the proceedure. |> |> thanks in advance, You may want to use /etc/sysinfo -s . -- Michael Schulman Silicon Graphics Computer Systems 2011 N. Shoreline Blvd. Mountain View, CA 94039 mas@sgi.com