From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7052669dc7abfe9e X-Google-Attributes: gid1164f8,public From: Nikola Milutinovic Subject: Re: Change hostname Date: 1997/07/29 Message-ID: <33DE323A.70E0@EUnet.yu>#1/1 X-Deja-AN: 260278167 References: <870076575.6140@dejanews.com> <33DD017A.1FFE@EUnet.yu> <5rkvt8$ime$1@starburst.uk.insnet.net> Organization: EPS JP Elektrovojvodina Reply-To: milutinn@EUnet.yu Newsgroups: comp.sys.dec Steven Berry wrote: > > Nikola Milutinovic wrote in article <33DD017A.1FFE@EUnet.yu>... > >stefan.osterman@upnet.se wrote: > >I'm not sure, but you cantry command hostname, perhaps it can change the > >host name. Frankly, I doubt it. Machine/Host name is something > >fundamental to that particular instance of Digital UNIX and I don't > >think you can change it easily. With the expertize I have I could try > >it, but I wouldn't guarantee success. > > > >The cleanest way is to re-install, I'm afraid. > > > > how about the netsetup command? All you'd need to do is restart network > services on the machine. > > Steven Berry > sb@m4.net That would change the host name only. What about machine name? Yeah, sure, all network commands should work just fine, but what if something doesn't? When you setup BIND, adding domains to your host names, the machine name changes also. Now, Digital UNIX can recognize domain in a host name and it makes no confict. But if you make the machine name and host name something that doesn't match, won't it just "drop dead" at some point? Situations where you tamper with something that is fundamental and you're not sure of all the implications are *very* susceptable to Murphy's Law. In other words, you'll find out that it doesn't work when you load your machine fully and set it up for work. Well, if this hasn't turned our friend away from this idea, then this is what you should check: 1. machine name in /etc/rc.config, 2. kernel configuration files at /sys and /sys/config, 3. host name with netsetup or look for config files for INet (I think I saw it in /etc/rc.config as well), 4. *good luck*. Nix. -- +---------------------------------------------+ | | | E-mail: home: milutinn@EUnet.yu | | work: nikola@ev.ns.ac.yu | | Telphone: ++381 21 621222 ext. 2281 | | Smoke signal: puff--puff------puff---PUF | | | +---------------------------------------------+