Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Paul Szabo <psz@maths.usyd.edu.au>
To: Kim YuSung <yskim@inzen.com>
Subject: Re: [Q]How to get ethernet hardware(MAC) address?
Date: Mon, 27 Nov 2000 01:00:25 +1100	[thread overview]
Message-ID: <3A211779.41C6@maths.usyd.edu.au> (raw)
In-Reply-To: 8vl7tq$9gk$1@news2.kornet.net

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.

-- 
Paul Szabo - psz@maths.usyd.edu.au  http://www.maths.usyd.edu.au:8000/u/psz/
School of Mathematics and Statistics  University of Sydney   2006  Australia


  parent reply	other threads:[~2000-11-26 14: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 [this message]
2000-11-27  5:00   ` Larry Gensch
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