Quote:
Originally posted by iansworld
I just installed Suse 9.1. I keep getting a "hostname not found" message when shell windows open up. It stalls for a few seconds. Some apps, like emacs and gdb do this too.
What do I need to change to stop this annoying behavior?
- Ian
|
I would first check your /etc/hosts file. It should look something like this:
Code:
#
# /etc/hosts: static lookup table for host names
#
127.0.0.1 localhost
your IP address machines name machines alias
# End of file
Obviously, substitute "your IP address" for your IP address, "machine name" for the name of your computer and "machine alias" a name you can use to refer to your computer. The last two can be the same and you will set them in this file so it can be anything. The 127.0.0.1 address is the local loopback IP and that must (normally) be present. Localhost is the name of this address. Leave that line alone. I am surprised Suse didn't ask you to set this up during installation - Suse is a pretty sophisticated distro. Hope this helps.