🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.ultrix
Article #7300

Re: How do you rename a DMS client?

#7300
From: Gareth Lee
Date: Wed, 27 Jan 1993 15:38
26 lines
1824 bytes
ccbjs@levels.unisa.edu.au writes:

>But how do we change it's hostname so that DMS refers to it by that name
>also? (I would prefer not to build a new client and then modify all it's
>configuration files...) Can we simply rename the /dlclient0/client.root
>directory and edit some magic DMS files?
>Can anyone suggest a recipe we should follow?

I think the name that DMS associates with a client machine is immaterial.
The name that a client machine uses after booting is the one set at the
top of the /etc/rc.local file and this doesn't need to be the same as the
DMS name.

For instance, our machines have full internet names, ie. 'fred.sys.uea.ac.uk'.
DMS cannot cope with a host name of this form. So we set the DMS name to
'fred'.  After the installation process is complete we edit /etc/rc.local to
specify the full name.  We then edit /etc/hosts (or YP) and add the full name
as the main machine name and make fred an alias.  This works fine!!

So once fred has booted it can call itself anything it likes so long as the
new name is registered in /etc/hosts (or YP/Bind etc. .).  It will however
probably be necessary to keep the old name as an alias of the new.

Hope this is useful.

Gareth Lee.
Technical Details
Message-ID: <gel.728149132@zen.sys.uea.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!gatech!swrinde!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!sys.uea.ac.uk!gel
References: <19677.2b65aad8@levels.unisa.edu.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!gatech!swrinde!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!sys.uea.ac.uk!gel
From: gel@sys.uea.ac.uk (Gareth Lee)
Newsgroups: comp.unix.ultrix
Subject: Re: How do you rename a DMS client?
Message-ID: <gel.728149132@zen.sys.uea.ac.uk>
Date: 27 Jan 93 15:38:52 GMT
References: <19677.2b65aad8@levels.unisa.edu.au>
Sender: news@sys.uea.ac.uk
Organization: UEA School of Information Systems, Norwich, UK.
Lines: 26
Nntp-Posting-Host: zen.sys.uea.ac.uk