phil@sun.com (Phil Thomas) (08/14/90)
Archive-name: sun-geteaddr/09-Aug-90 Original-posting-by: valid!boris!phil@sun.com (Phil Thomas) Original-subject: geteaddr.c Archive-site: titan.rice.edu [128.42.1.30] Archive-directory: /sun-source Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti) * 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@rice.edu Archive Server Command: send sun-source geteaddr.c