🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.admin
Article #165

Re: help on ethernet address

#165
From: James Petts
Date: Fri, 22 Jan 1993 07:07
35 lines
2140 bytes
In article <g251H=dy0c@atlantis.psu.edu> Zhe, ZHE@ECLX.PSU.EDU writes:
>1) Where should I find out the ether net address, i checked /etc/ethers
and
>/usr/etc/ethers, /usr/etc/hosts, nothing is there except IP address and 
>hostname.
>
>2) Is there any utility in the unix that give me ethernet address ?


Type "netstat -ain". You will see something like:

horus 1# netstat -ain
Name Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
et0  1500  193.35.16   193.35.16.1        35528     0    35008     0  4784
                        224.0.2.2
                        224.0.0.1
                        08:00:69:02:0c:70
lo0  32880 127         127.0.0.1          21490     0    21490     0     0
                        224.0.0.1
horus 2#

The ethernet address is the six pairs of hex digits separated by colons 
on line 5 of the example shown above.

 ===> James Petts <===

*** CAUTION - READ THIS .sig AT YOUR OWN RISK! ***************************
*                                                * NOTE! VISIGOTH HAS NO *
* Q. Wenn ist das Nunstueck git und Slotermeyer? * CONNECTION WITH ANY   *
* A. Ja!... Beiherhund das Oder die Flipperwaldt * OTHER SITE AT         *
*    gersput!                                    * DEMON.CO.UK           *
*                                                *                       *
**************************************************************************
*  pettsj@visigoth.demon.co.uk (preferred), pettsj@cix.compulink.co.uk   *
**************************************************************************
Technical Details
Message-ID: <C18uGG.K2G@demon.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!visigoth.demon.co.uk!pettsj
References: <g251H=dy0c@atlantis.psu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.admin
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!visigoth.demon.co.uk!pettsj
From: James Petts <pettsj@visigoth.demon.co.uk>
Subject: Re: help on ethernet address
Message-ID: <C18uGG.K2G@demon.co.uk>
X-Xxmessage-Id: <A7854CEB2B010855@visigoth.demon.co.uk>
X-Xxdate: Fri, 22 Jan 93 07:04:11 GMT
Sender: news@demon.co.uk
Nntp-Posting-Host: visigoth.demon.co.uk
Organization: No Affiliation
X-Useragent: Nuntius v1.1.1d13
References: <g251H=dy0c@atlantis.psu.edu>
Date: Fri, 22 Jan 1993 07:07:28 GMT
Lines: 35