geteaddr.c

Phil Thomas valid!boris!phil at sun.com
Fri Aug 10 04:43:42 AEST 1990


 * There has been some discussion about how to retrieve the Ethernet
 * address of a Sun workstation.  Here is a program to do this.  Please
 * note that this program must be run as root or installed as a setuid
 * root executable since it must read /dev/nit.  This command also works
 * on Solbourne workstations.
 *
 * With SunOS4.1 the -a option to the command "ifconfig" will also
 * print the Ethernet address (if it is run by root).

[[Ed's Note: Placed in archives on titan. -bdg]]

FTP:	Hostname : titan.rice.edu (128.42.1.30)
	Directory: sun-source
	Filename : geteaddr.c
	Filesize : 2542 bytes

Archive Server Address: archive-server at rice.edu
Archive Server Command: send sun-source geteaddr.c



More information about the Comp.sys.sun mailing list