[5176] in RedHat Linux List
Re: Renaming localhost on standalone machine
daemon@ATHENA.MIT.EDU (Cyber-Babushka)
Tue Nov 19 13:25:19 1996
Date: Tue, 19 Nov 1996 13:00:20 -0500 (EST)
From: Cyber-Babushka <u6ed4@wvnvm.wvnet.edu>
Reply-To: Cyber-Babushka <u6ed4@wvnvm.wvnet.edu>
To: Red Hat List <redhat-list@redhat.com>
cc: Dirk Laurie <redhatter@calvyn.puk.ac.za>
Resent-From: redhat-list@redhat.com
> I know this is purely cosmetic, but...
>
> I have a machine at home with no networking as yet, so I didn't
> install any networking support. Now any prompt containing \h
> says 'localhost'. I've changed /etc/HOSTNAME and put a line
> in /etc/rc.d/rc.local, and user login sessions actually come
> up with the right HOSTNAME, but this does nothing to \h.
I have the same situation you do. Try this:
#cd /etc/sysconfig
and see if you have a file there called 'network'. Mine had two lines:
NETWORKING=no
HOSTNAME=localhost
I changed 'localhost' to the name I wanted. This worked for me.
bonni
C++ Turbo Vision archive: http://brooks.wvn.wvnet.edu/tvhome
__ __
IC | XC | bonni mierzejewska "The Lone Quilter"
---+--- | u6ed4@wvnvm.wvnet.edu
NI | KA | Kelly's Creek Homestead, Maidsville, WV
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null