LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems with logging into GNOME (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-logging-into-gnome-41973/)

krystriana 01-18-2003 07:45 PM

Problems with logging into GNOME
 
Hi,

I recently installed RedHat 8. I chose to install both the KDE and GNOME environments, and until tonight, never went into GNOME. When I enter GNOME, I receive the following message:

Could not look up INTERNET address for DHCPPC2. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding DHCPPC2 to the file /etc/hosts

Not sure what to add to /etc/hosts since my router on my network does DHCP.

Help!

Thanks,

-Krys

oot 01-18-2003 08:08 PM

Perhaps it wants the address of your router for DHCP? Try adding the following line to /etc/hosts:

<address of router> DHCPPC2

c4_4ya 01-18-2003 08:37 PM

Assuming that the name of your RH8 computer is DHCPPC2, you should add the entry to /etc/hosts (see oot's post). You must make sure that the entry is the same case (upper/lowercase) that you named your machine [avoid using mixed case names when dealing with hostnames and DNS, use all lowercase]. Make sure that you have an entry in /etc/sysconfig/network that looks like what you put in /etc/hosts:

NETWORKING=yes
HOSTNAME=DHCPPC2 (i would change this to dhcppc2!!)

Then I would modify your entry in /etc/hosts to reflect this new name. It would look like this:

127.0.0.1 dhcppc2 localhost.localdomain localhost

This entry would assign these 3 names to your machine, and point them to your loopback address (127.0.0.1).

Reboot afterwards and the errors should disappear.

Also, on DHCP enabled hosts, make sure that you never map any IP address to your computername in the /etc/hosts file, because if you get a different IP, you will be back to square 1.

If your RH 8 computername is something other than DHCPPC2, then respond and we'll go from there.

krystriana 01-19-2003 07:27 PM

Looks like that fixed my problem!!! Thanks c4_4ya and oot!!!

-Krys;)


All times are GMT -5. The time now is 03:36 AM.