[comp.sys.sgi] Finding the Ethernet card arp address

randy@tessa.iaf.uiowa.edu (randy frank) (04/03/91)

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,

--
rjf.
Randy Frank, Engineer                       |  (319) 335-6712       
University of Iowa, Image Analysis Facility |  73 EMRB              
randy@tessa.iaf.uiowa.edu                   |  Iowa City, IA 52242  

mas@everest.corp.sgi.com (Michael A. Schulman) (04/03/91)

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