Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: larry.gensch@compaq.com (Larry Gensch)
Subject: Re: [Q]How to get ethernet hardware(MAC) address?
Date: 2000/11/27	[thread overview]
Message-ID: <8vtnc9$2mv$1@mailint03.im.hou.compaq.com> (raw)
In-Reply-To: 3A211779.41C6@maths.usyd.edu.au

In article <3A211779.41C6@maths.usyd.edu.au>,
	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

-- 
Larry Gensch					   Larry.Gensch@compaq.com
Compaq Computer Corporation                        As usual, the standard
110 Spit Brook Road ZKO3-2/W17                     disclaimers apply, etc.
Nashua, NH 03062                                   Yada yada yada



  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 [this message]
2000-11-27  5:00     ` Floyd Davidson
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