Problem with DHCP, /etc/hosts and GNOME
Satish Balay
balay at fastmail.fm
Thu Apr 8 16:08:54 UTC 2004
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
More information about the fedora-list
mailing list