Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!lll-winken!uunet!ns-mx!cadfx.ccad.uiowa.edu From: emcguire@cadfx.ccad.uiowa.edu (Ed McGuire) Newsgroups: comp.unix.questions Subject: Re: How do I find out my Ethernet address? Message-ID: <1417@ns-mx.uiowa.edu> Date: 3 May 90 23:40:01 GMT References: <2561@syma.sussex.ac.uk> Sender: news@ns-mx.uiowa.edu Lines: 17 From article <2561@syma.sussex.ac.uk>, by andy@syma.sussex.ac.uk (Andy Clews): > From article <1606@dinl.mmc.UUCP>, by noren@dinl.uucp (Charles Noren): > : On a Sun 3 (SunOS 4.0.3), how do I find out what my > : Ethernet address is? One answer is rebooting, but how > : do you find out without rebooting? > : Is there a command executable from sh(1)? > > You could try grep `hostname` /etc/hosts That will give you the Internet address, not the Ethernet address. What I do know is that `arp -a' will give you the Ethernet addresses of remote nodes. That is, you can get the Ethernet address of system `foo' by signing in on system `bar' and typing `ping foo;arp -a'. --- peace. -- Ed "So, when `thirtysomething' was over, she turned off the TV, collected her thoughts and called 350,000 of her closest friends."