From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9fcdef7700230619 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,9fcdef7700230619 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-20 07:37:32 PST Newsgroups: comp.sys.dec,comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!hookup!usc!cs.utexas.edu!swrinde!news.uh.edu!uuneo.neosoft.com!nmtigw!peter From: peter@nmti.com (Peter da Silva) Subject: Re: Need unique id for Alpha/osf1 box Message-ID: Sender: peter@nmti.com (peter da silva) Organization: Network/development platform support, NMTI References: <2rddcm$d48@sugar.NeoSoft.COM> <1994May19.223709.15916@midway.uchicago.edu> <2rgu13$dcm@uuneo.neosoft.com> Date: Fri, 20 May 1994 13:50:04 GMT Xref: bga.com comp.sys.dec:3256 comp.unix.osf.osf1:1649 In article <2rgu13$dcm@uuneo.neosoft.com>, Jerry Leslie 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?"