
Originally Posted by
skskal
Linux fedora core 2
GNOME
How can I stop dhcp client chaning hostname that it gets from dhcp server. In sort I want to have hostname equal to xxxxx.test.com instead of dch<ip address>.test.com.
I also changed HOSTNAME = xxxxx.test.com in \etc\sysconfig\network and still getting following alert message:
Could not look up internet address for xxxxx. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding xxxxx to the file /etc/hosts.
Log in Anyway Try Again
Any input to resolve this issue is appreciated.
Thanks
Found solution to the above mentioned alert message in one of the forum.
What I did is, I edited line 127.0.0.1 localhost.localdomain localhosts in /etc/hosts file as below and restarted machine.
127.0.0.1 localhost.localdomain xxxxx
Thanks
Bookmarks