Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: peter@nmti.com (Peter da Silva)
Subject: Re: Need unique id for Alpha/osf1 box
Date: Fri, 20 May 1994 13:50:04 GMT	[thread overview]
Message-ID: <id.YYN91.307@nmti.com> (raw)
In-Reply-To: 2rgu13$dcm@uuneo.neosoft.com

In article <2rgu13$dcm@uuneo.neosoft.com>,
Jerry Leslie <jleslie@igate.com> wrote:
> Chuck Pelizzari (chuck@alpha.bsd.uchicago.edu) wrote:
> : How about this:
> : alpha> uerf -r 300 | grep address | uniq
> :                       _hardware address: 08:00:2b:38:75:ff 

> That works until DEC Field Service swaps out the board with the ethernet
> controller on it, and doesn't move the ROM or whatever contains the 
> ethernet address from the defective board to the new one.

Oh, that's easy:

	cd /usr/sbin
	mv uerf uerf.orig
	cat > uerf << \!
	#!/bin/sh -f
	/usr/sbin/uerf.orig ${1+"$@"} | sed 's/old_addr/new_addr/'
	!
	chmod +x uerf
-- 
Peter da Silva                                            `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                       "Hast Du heute schon Deinen Wolf umarmt?"


      reply	other threads:[~1994-05-20 13:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-18 15:48 Need unique id for Alpha/osf1 box Bill Simpson
1994-05-18 23:58 ` Jerry Leslie
1994-05-19  8:21   ` Robin Fairbairns
1994-05-19 17:44     ` Jerry Leslie
1994-05-20 16:43     ` sean
1994-05-19 17:46 ` Death roll - Been there, done that...
1994-05-25  3:17   ` Hamish Marson
1994-05-25 14:06     ` Steve Lionel
1994-05-25 17:40       ` Carl J Appellof
1994-05-27  2:22       ` Bill Simpson
1994-05-27 13:10         ` Steve Lionel
1994-05-30 16:05     ` Andre Beck
1994-05-19 22:37 ` Chuck Pelizzari
1994-05-19 23:50   ` Jerry Leslie
1994-05-20 13:50     ` Peter da Silva [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox