Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ut-ngp.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!ut-sally!ut-ngp!lee From: lee@ut-ngp.UUCP (William L. Lee III) Newsgroups: net.bugs.uucp Subject: Re: How to change nodenames Message-ID: <952@ut-ngp.UUCP> Date: Thu, 20-Sep-84 22:29:59 EDT Article-I.D.: ut-ngp.952 Posted: Thu Sep 20 22:29:59 1984 Date-Received: Wed, 26-Sep-84 03:39:14 EDT References: <750@enea.UUCP> <1126@t4test.UUCP>, <2723@mit-eddie.UUCP> Organization: U.Texas Computation Center, Austin, Texas Lines: 23 For those of you with System 3 or System 5 binaries, here's some "magic" that should allow you to change your nodename if you only have a binary license and your vendor didn't supply a little utility that would change the compiled in nodename (or fix uucp to read the nodename out of a file). The magic goes like this (comments to the right)- adb -w /unix /dev/kmem ?m xxxx # replace xxxx if your adb doesn't know how to # properly map the kernel, otherwise ignore utsname+9/S # this should print the current nodename utsname+9/w 'ne' 'wn' 'am' 'e'*100 # fix /dev/kmem utsname+9?S # check again utsname+9?w 'ne' 'wn' 'am' 'e'*100 # fix /unix utsname+9/S # check to make sure its right utsname+9?S # ditto ^D # EOF Be sure you make a copy of /unix before you modify it in case you make a mistake. Flames about adb'ing kernels to /dev/null. Bill Lee Cyb Systems, Inc. ...ihnp4!ut-sally!cyb-eng!lee