Re: change the hostname in FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-13-07 at 09:23 +0200, Andreas Wahlert wrote:
> Tyler Nally wrote:
> > If you know what it is *now*.. you can go to /etc
> > 
> > # cd /etc/
> > 
> > .. and do a ..
> > 
> > # grep knownhostname * */* */*/*
> > 
> > .. to search up to three levels deep for anything that
> > matches.  I found the match in...
> > 
> > /etc/sysconfig/network
> > 
> > 
> > On Wed, July 13, 2005 2:10, Andreas Wahlert said:
> > 
> >>Hi @all
> >>
> >>
> >>i'm just a little bit blind at the moment. I have a FC4 without X, only
> >>  console. Where can i change the hostname of the machine?? i have
> >>changed it in /etc/sysconfig/networking/devices/if*
> >>
> >>I can't find a file named "hostname" in etc.

> Ahhhhh
> 
> has to be changed in /etc/sysconfig/network

You should also change the host name in the /etc/hosts file.  Make sure
that you follow the proper syntax for this file depending on if you get
your IP by dhcp or if it is static.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux