Recently had to rebuild my system,
Now when I log into gnome i get this error:
"Could not look up internet address for myhost.
This will prevent GNOME from working correctly.
It may be possible to correct the problen by adding
myhost to the file /etc/hosts.
I've donated 5 hours of search time and decided to post here.
I've found the file but do not know how to add my entry and have been unable
to find adequate instruction.
It appears to want my IP address, but my IP is not static, so pointless.
Thanking you in advance for any help!
You should have an entry in your /etc/rc.conf like this:
Just change the name to whatever you like.
I changed the HOSTNAME= in my rc.conf already and that took me nowhere
toward eliminating the gnome startup error.
The hostaname reads correctly as the computer boots, and shows up
correctly on the home network.
Still the gnome error suggests editing /etc/hosts......
follow the directions at http://wiki2.archlinux.org/index.php/St … and%20DHCP for changing your hostname properly (both rc.conf & /etc/hosts)
Looks like that's gonna do it.
Thanx a million!
You can just add another line to your /etc/hosts, for example this is what I have for mine lol " matrix "
127.0.0.1 localhost.localdomain localhost 220.127.116.11 Matrix.localdomain Matrix
as you can see you must keep your localhost I dunno why but I run into some serious problems when It's not there. On the second line I just add my own host name. I keep the same ip-address change localhost to my own hostname in this case ' Matrix ' . Then you keep it at localdomain and the change the hostname which once again in this case is ' Matrix '
so pretty much just replace everything that says locahost in this file with the hostname that you want.
I did it the following way:
# # /etc/hosts: static lookup table for host names # #<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 cerebellum.localhost.localdomain cerebellum # End of file
where 'cerebellum' is the name of my host.
no manual entry for woman
127.0.0.1 localhost.localdomain localhost cerebellum
If you do not have a network device running in your configuration. Otherwise specify a new line containing your ip address and the name and domain of your computer. Example:
127.0.0.1 localhost.localdomain localhost 192.168.0.1 cerebellum.somedomain cerebellum
Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .