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