home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6487 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!gatech!psuvax1!news.cc.swarthmore.edu!hirai
  3. From: hirai@cc.swarthmore.edu (Eiji Hirai)
  4. Subject: Re: Ethernet Interface hardware address
  5. Message-ID: <N0LPBX5C@cc.swarthmore.edu>
  6. Sender: news@cc.swarthmore.edu (USENET News System)
  7. Nntp-Posting-Host: gingko
  8. Organization: Swarthmore College Computing Center, Swarthmore, PA, USA
  9. References: <1992Aug20.180136.19653@draco.macsch.com>
  10. Date: Wed, 26 Aug 1992 01:44:51 GMT
  11. Lines: 17
  12.  
  13. sgi@kodiak.si.macsch.com (Son Giang) writes:
  14. > Is there a simple command to get the ethernet hardware address?
  15.  
  16. This is somewhat indirect but you can type "uerf -R -r 300 | more" and look
  17. at the entry that looks like:
  18.  
  19.     ln0: DEC LANCE Ethernet Interface, 
  20.     _hardware address: xx:xx:xx:xx:xx:xx  
  21.  
  22. But I assume that should be a more direct way.  I'm not a ioctl() sort of
  23. guy.  Anyone?
  24.  
  25. --
  26. Eiji Hirai <hirai@cc.swarthmore.edu>    :     :    :   :  : :: ::: :::: :::::
  27. Unix Hacker for Swarthmore College      :     :    :   :  : :: ::: :::: :::::
  28. Computing Center, Swarthmore, PA, USA.  Copyright 1992 by Eiji Hirai.
  29. I don't speak for Swarthmore College.   All Rights Reserved.
  30.