[comp.sys.sun] Ethernet address lookup

ggordon@bbn.com (12/08/90)

Could anyone tell me a way to find the physical ethernet address of a
machine running SunOS? I need a way to do it from inside a C program so I
can determine it for a machine at runtime. 

[[Ed's Note: The archives on titan contain a C program that pulls the
physical ethernet address from a machine. The author's introduction is
included in v9n284, and the location is given below. Minimally, you should
be able to use the code to see how to pull the information you need in a C
program. -bdg]]

FTP:	Hostname : titan.rice.edu (128.42.1.30)
	Directory: sun-source
	Filename : enet.shar

Archive Server Address: archive-server@rice.edu
Archive Server Command: send sun-source enet.shar

Thanks in advance,
    Geoff Gordon

PS: please send replies to ggordon@bbn.com, I will summarize and post to
    the net. GG