While in root, you need to edit the /etc/hosts file and add your computer in there for the loopback. For example:
127.0.0.1 localhost localhost.localdomain
127.0.0.1 WenchBeater
this is a sample of mine, WenchBeater is my computer name
Aragorn
Hi!
I have just installed redhat linux 9 for the first time. When I log in I get the following error message -->
"Could not look up internet address for dhcppc1. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding dhcppc1 to the file /etc/hosts."
Would appreciate any help with resolving this issue.
Thanks,
Max
While in root, you need to edit the /etc/hosts file and add your computer in there for the loopback. For example:
127.0.0.1 localhost localhost.localdomain
127.0.0.1 WenchBeater
this is a sample of mine, WenchBeater is my computer name
Aragorn
If you give a man a fire he'll be warm, if you light the man on fire he'll be warm for life.
Thanks for the reply.
One final question.
Can the computer name be set to anything and would it need to be set anywhere else?
Max
The computer name on the second row can be set to whatever you like, just don't put spaces in it.
Aragorn
If you give a man a fire he'll be warm, if you light the man on fire he'll be warm for life.
Thanks for the help.
![]()
I read the question differently so im going to answer it like this as well :P
If you want to change your hostname with red hat 9 you need to change the file /etc/sysconfig/network. This is where the hostname is read from when booting.
Should look something like this:
NETWORKING=yes
HOSTNAME=drink.beer.com
If you need to change the hostname while still running the machine then in a terminal type:
hostname (Whatever the hostname)
e.g. hostname Server, would call the machine "Server"
Its better to regret something you have done than to regret something you havent done :P
Bookmarks