home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / misc / 22078 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.3 KB

  1. Path: sparky!uunet!think.com!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!madler
  2. From: madler@cco.caltech.edu (Mark Adler)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Re: Ethernet id
  5. Date: 17 Nov 1992 18:42:45 GMT
  6. Organization: California Institute of Technology, Pasadena
  7. Lines: 20
  8. Message-ID: <1ebef5INNosc@gap.caltech.edu>
  9. References: <BxM930.34I@usenet.ucs.indiana.edu> <HERRING.92Nov13093648@loke.iesd.auc.dk> <1992Nov16.185203.21871@cyantic.com>
  10. NNTP-Posting-Host: sandman.caltech.edu
  11.  
  12.  
  13. >> BTW, not all NeXT's have an ethernet address that begins 00 00 0f 00.
  14.  
  15. Did someone say that?  The first three bytes of the address belong
  16. to the manufacturer, so all NeXT's ought to start with 00 00 0f.  The
  17. last three bytes uniquely identify each NeXT, and so those are also
  18. the last three bytes of the hostid.
  19.  
  20. >> Try grepping through /usr/adm/messages for "Ethernet address".
  21.  
  22. This might not work.  messages appears to have a size limit, and stuff
  23. drops off of the beginning.  messages.old is the same, so it can drop
  24. off of there too.  Just for fun, I grepped for "Ethernet address" on
  25. every file in /usr/adm on a long-ago booted NeXT, and it wasn't there.
  26.  
  27. If you don't feel like rebooting, hostid seems the simplest way to me.
  28. Just take the last three bytes it gives, and stick 00:00:0f in front.
  29.  
  30. Mark Adler
  31. madler@cco.caltech.edu
  32.