Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Floyd Davidson <floyd@ptialaska.net>
Subject: Re: [Q]How to get ethernet hardware(MAC) address?
Date: 2000/11/27	[thread overview]
Message-ID: <87zoilh4s9.fld@barrow.com> (raw)
In-Reply-To: 8vtnc9$2mv$1@mailint03.im.hou.compaq.com

larry.gensch@compaq.com (Larry Gensch) wrote:
>	Paul Szabo <psz@maths.usyd.edu.au> writes:
>> Kim YuSung wrote:
>>> I want to get ethernet hardware address of my own network card ...
>> 
>> I often use
>> 
>>   /sbin/grep 'hardware address' /usr/adm/messages | \
>>     /usr/bin/tail -5 | \
>>     /usr/bin/sed -e 's/^.* vmunix: //' -e 's/^\(tu.:\) /\1      /' | \
>>     /sbin/sort -u
>> 
>> Hope this helps.
>
>Nah.  Too much typing:
>
>	$ netstat -i

This is probably system specifc.  On Linux netstat does not display
the hardware address.  But ifconfig of course does...

-- 
Floyd L. Davidson                          floyd@barrow.com
Ukpeagvik (Barrow, Alaska)



      reply	other threads:[~2000-11-27  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-24  5:00 [Q]How to get ethernet hardware(MAC) address? Kim YuSung
2000-11-23  5:00 ` Floyd Davidson
2000-11-26 14:00 ` Paul Szabo
2000-11-27  5:00   ` Larry Gensch
2000-11-27  5:00     ` Floyd Davidson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox