Re: Problem with DHCP, /etc/hosts and GNOME

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

 




On Thu, 8 Apr 2004, Keven Ring wrote:

> >
> > - Or, alternativeley, is there a way to ignore the hostname provided by
> >the DHCP connection and just stick to localhost.localdomain ? I found a
> >similar option in Anaconda but it doesn't seem to work.
> >  
> >
> In my /etc/sysconfig/network file, I have the following:
> 
> NETWORKING=yes
> HOSTNAME=localhost.localdomain
> 
> Then, my /etc/hosts file has:
> 
> 127.0.0.1   localhost.localdomain localhost
> 
> It works for me with DHCP.

You can also set DHCP_HOSTNAME in /etc/sysconfig/networking/devices/ifcfg-eth0
(configurable by redhat-config-network)

Satish



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

  Powered by Linux