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