From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c7e71280c18bf042 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,c7e71280c18bf042 X-Google-Attributes: gid10b612,public From: ulm@vsnhd1.cern.ch (Ulrich Mueller) Subject: Re: Changing ethernet address on a DS5000/200 Date: 1996/06/05 Message-ID: #1/1 X-Deja-AN: 158560298 sender: ulm@vsnhd2.cern.ch x-nntp-posting-host: vsnhd2.cern.ch references: <4p28u5$34e@ratatosk.uio.no> to: kborge@ulrik.uio.no (Knut Borge) organization: European Organization for Nuclear Research, Geneva newsgroups: comp.sys.dec,comp.unix.ultrix >>>>> Knut Borge writes: > Does anyone have a program that will set the ethernetaddress on a > DS5000 running Ultrix (if it matters, version 4.2A) ? We just had to > replace the motherboard on one of our servers, the result was that a > critical software component that binds the license to the > ethernetaddress wouldn't run. Probably it is simplest if you take the chip containing the address from the old board. Or get an licence update for your software. > I tried to write a small program that set it with a SIOCSPHYSADDR > ioctl, but hung my workstation instead. If anyone has such a program > I hope to avoid the debug-run-reboot-debug-run-reboot cycle :-) I think this will not work. SIOCRPHYSADDR will always get the true "hardware" address. For example, it will still return 08-00-2b-* in spite of Decnet running (which modifies the physical address to aa-00-04-*). You could of course also patch the binary and remove the check for the physical address. That ioctl should be relatively easy to find. ;-) (F'up-To ignored.) -- Ulrich Mueller, ulm@vsnhd1.cern.ch, http://vsnhd1.cern.ch/~ulm/ CERN Div. PPE, CH-1211 Geneva 23, Phone +41 22 767 8658, Fax -9260