*BSD News Article 42270


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.hawaii.edu!ames!haven.umd.edu!hecate.umd.edu!mojo.eng.umd.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!lstein
From: lstein@genome.wi.mit.edu (Lincoln Stein)
Newsgroups: comp.unix.bsd
Subject: How to find ethernet address?
Date: 1 Feb 1995 21:09:15 GMT
Organization: Whitehead Institute for Biomedical Research
Lines: 12
Message-ID: <3got9r$75k@senator-bedfellow.MIT.EDU>
NNTP-Posting-Host: gonzo.wi.mit.edu

How do I find the ethernet address (not the IP address) of a SunOS 4.1
machine from within a shell script?  I know that I can look at the
boot messages in /var/adm/messages, but there must be some more clever
way.

Thanks,

-- 
========================================================================
Lincoln D. Stein                Whitehead Institute/MIT Genome Center
lstein@genome.wi.mit.edu	Cambridge, MA 02142
========================================================================