From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,f983deca748588b X-Google-Attributes: gidfc89c,public X-Google-Thread: fa528,f983deca748588b X-Google-Attributes: gidfa528,public From: Floyd Davidson Subject: Re: [Q]How to get ethernet hardware(MAC) address? Date: 2000/11/27 Message-ID: <87zoilh4s9.fld@barrow.com>#1/1 X-Deja-AN: 698265091 Sender: floyd@barrow.com References: <8vl7tq$9gk$1@news2.kornet.net> <3A211779.41C6@maths.usyd.edu.au> <8vtnc9$2mv$1@mailint03.im.hou.compaq.com> Organization: __________ Content-Type: text/plain; charset=us-ascii User-Agent: gnus 5.8.3/XEmacs 21.1.9/Linux Mime-Version: 1.0 Newsgroups: comp.unix.programmer,comp.unix.tru64 larry.gensch@compaq.com (Larry Gensch) wrote: > Paul Szabo 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)