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

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




On Thu, 8 Apr 2004, Keven Ring wrote:

> >>> A quick browse through the networking scripts suggests that the
> >>> hostname will only change if it is "localhost".

> >> It's in the /etc/sysconfig/network-scripts/network-functions
> >> script.  There is a function called need_hostname().  Returns 0
> >> if the current hostname is "localhost", "localhost.localdomain"
> >> or "(none)".

useful info. thanks..

> DHCP Client:  Please set my host name to xxx.yyy.zzz.
> DHCP Server:  No chance.  Your host name is aaa.bbb.ccc
> DHCP Client:  Screw you.  I'm setting my hostname to mmm.nnn.ooo
> 
> Fine.  Is everyone happy now?

Exactly whats required for laptops :) - with one more step

DHCP Client: I'll make my own DNS entry in /etc/hosts for mmm.nnn.ooo

Satish



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