HOSTNAME

Mike Ramirez mike at thexxxhost.com
Wed Sep 1 13:55:32 UTC 2004


On Wed, 2004-09-01 at 07:43, Chadley Wilson wrote:
> On Wednesday 01 September 2004 13:53, Paul Howarth wrote:
> > Chadley Wilson wrote:
> > > On Wednesday 01 September 2004 13:35, malik malik wrote:
> > >>goto start > system settings > network
> > >>
> > >>there select DNS tab and enter ur hostname.
> > >
> > > Sorry man, I know about that one, I was actually referring to the
> > > physical file as I don't have a gui on the server. Some linux distro's
> > > keep it in a file called /etc/HOSTNAME but were is it set in fedora 1?
> >
> > A good place to look for such things is /etc/sysconfig :
> >
> > $ fgrep -i hostname /etc/sysconfig/*
> > fgrep: /etc/sysconfig/iptables-config: Permission denied
> > /etc/sysconfig/network:HOSTNAME=localhost.localdomain
> >
> > Paul.
> 
> mmm I have a very strange system here? there is nothing in /etc/hosts 
> and /etc/network  other than localhost.localdomain.
> but I still have  a hostname that won't change back to localhost.
> I will just have to add it to rc.local 
> thanks guys 
> I just thought there was another place? 
> -- 
> Chadley Wilson
> Production Line Supervisor
> Pinnacle Micro
> Manufacturers of Proline Computers
> ====================================
> Exercise freedom, Use LINUX
> =====================================

Try adding localhost to 127.0.0.1 localhost.localdomain
Cat of my /etc/hosts

cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost

-- 
Mike Ramirez <mike at thexxxhost.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040901/2bd980d7/attachment-0001.sig>


More information about the fedora-list mailing list