* Change hostname
@ 1997-07-28 4:00 stefan.osterman
1997-07-28 4:00 ` Nikola Milutinovic
1997-07-29 4:00 ` Gaylord Holder
0 siblings, 2 replies; 6+ messages in thread
From: stefan.osterman @ 1997-07-28 4:00 UTC (permalink / raw)
Which is the easiest way to change the hostname, without having
to change all the license keys and everything.
I use DEC Unix 4.0b
Regards
/Stefan
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Change hostname 1997-07-28 4:00 Change hostname stefan.osterman @ 1997-07-28 4:00 ` Nikola Milutinovic 1997-07-29 4:00 ` Steven Berry 1997-07-29 4:00 ` Gaylord Holder 1 sibling, 1 reply; 6+ messages in thread From: Nikola Milutinovic @ 1997-07-28 4:00 UTC (permalink / raw) stefan.osterman@upnet.se wrote: > > Which is the easiest way to change the hostname, without having > to change all the license keys and everything. > Hi Stefan. Now, to answer your question. Actually, there are two names, machine name and host name. Machine name is assigned during the instalation and is somewhat dificult to change. That name refers to (among other) the configuration files for your current kernel build (ouch!). It is also refernced by several other processes/daemons. Host name is tha name of your machine on network. It simply maps name into IP address and is used by all network commands. Discrepancy between these two names is dangerous and sometimes fatal (if network is vital to the machine). 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. I hope I've helped you. Don't take my oppinion as final, ask some more, dig into it. Wish you 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 | | | +---------------------------------------------+ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Change hostname 1997-07-28 4:00 ` Nikola Milutinovic @ 1997-07-29 4:00 ` Steven Berry 1997-07-29 4:00 ` Kevin Oberman 1997-07-29 4:00 ` Nikola Milutinovic 0 siblings, 2 replies; 6+ messages in thread From: Steven Berry @ 1997-07-29 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Change hostname 1997-07-29 4:00 ` Steven Berry @ 1997-07-29 4:00 ` Kevin Oberman 1997-07-29 4:00 ` Nikola Milutinovic 1 sibling, 0 replies; 6+ messages in thread From: Kevin Oberman @ 1997-07-29 4:00 UTC (permalink / raw) "Steven Berry" <sb@m4.net> writes: > 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. Actually, it's not too hard. Have a second DNS A record added for the new name Change the reverse (PTR) record changed to the new name. /usr/sbin/netsetup and /usr/sbin/mailsetup If you are using NIS, you will probably also have to do a ypsetup. That should do most everything. Reboot the system and you should be there. Once everyone knows about the change (if anyone cares), have the old A record deleted from the DNS zone file. Viola! I last did this about 6 months ago, so I may have missed something, but I don't think so. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Change hostname 1997-07-29 4:00 ` Steven Berry 1997-07-29 4:00 ` Kevin Oberman @ 1997-07-29 4:00 ` Nikola Milutinovic 1 sibling, 0 replies; 6+ messages in thread From: Nikola Milutinovic @ 1997-07-29 4:00 UTC (permalink / raw) 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 | | | +---------------------------------------------+ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Change hostname 1997-07-28 4:00 Change hostname stefan.osterman 1997-07-28 4:00 ` Nikola Milutinovic @ 1997-07-29 4:00 ` Gaylord Holder 1 sibling, 0 replies; 6+ messages in thread From: Gaylord Holder @ 1997-07-29 4:00 UTC (permalink / raw) stefan.osterman@upnet.se wrote: > > Which is the easiest way to change the hostname, without having > to change all the license keys and everything. > > I use DEC Unix 4.0b Use 'hostname.' Easiest thing to do is change it in /etc/rc.config, then reboot. DEC licenses are keyed off of the system hardware id (see sysconfig(2), not the host name. Most other vendor's license work the same way, but check with your vendor to be sure. -- Gaylord ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1997-07-29 4:00 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1997-07-28 4:00 Change hostname stefan.osterman 1997-07-28 4:00 ` Nikola Milutinovic 1997-07-29 4:00 ` Steven Berry 1997-07-29 4:00 ` Kevin Oberman 1997-07-29 4:00 ` Nikola Milutinovic 1997-07-29 4:00 ` Gaylord Holder
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox