home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16377 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.2 KB  |  25 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!news.nd.edu!sanger.chem.nd.edu!root
  3. From: root@sanger.chem.nd.edu (Doctor Math)
  4. Subject: Re: FAQ How to obtain my ethernet address?
  5. Message-ID: <1992Nov13.023631.27209@news.nd.edu>
  6. Sender: news@news.nd.edu (USENET News System)
  7. Organization: University of Notre Dame
  8. References: <34037@adm.brl.mil> <1du9g1INNj2o@fnnews.fnal.gov>
  9. Date: Fri, 13 Nov 1992 02:36:31 GMT
  10. Lines: 13
  11.  
  12. In article <1du9g1INNj2o@fnnews.fnal.gov> shah@fnalb.fnal.gov writes:
  13. >In article <34037@adm.brl.mil>, HACK@fcrfv2.ncifcrf.gov writes:
  14. >|> What is the command to obtain my Ethernet address?
  15. >Here's a little shell script I use:
  16. >#!/bin/sh
  17. >   # case prepend "08:00" which identifies this system as SGI.
  18. >                                    printf("08:00:%s:%s:%s:%s",$1,$2,$3,$4)
  19.  
  20. The problem here: an SGI box running 4DDN changes its ethernet address
  21. to begin with aa:0, as mine has done. This is reflected in the output
  22. from a command that I compiled from some C source someone posted here
  23. the last time this topic came up. I've misplaced the source since then.
  24. I remember it having to be run as root though...
  25.