You are not logged in.

#1 2004-12-27 21:12:14

hesperidae
Member
Registered: 2004-07-26
Posts: 22

hostname error when starting gnome

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!
Happy Holidays!

Hesperidae

Offline

#2 2004-12-27 21:15:15

Notze
Member
From: Germany
Registered: 2004-12-22
Posts: 46

Re: hostname error when starting gnome

You should have an entry in your /etc/rc.conf like this:
HOSTNAME="yourhost"
Just change the name to whatever you like.

Offline

#3 2004-12-27 21:39:26

hesperidae
Member
Registered: 2004-07-26
Posts: 22

Re: hostname error when starting gnome

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......

Offline

#4 2004-12-27 21:43:50

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: hostname error when starting gnome

follow the directions at http://wiki2.archlinux.org/index.php/St … and%20DHCP for changing your hostname properly (both rc.conf & /etc/hosts)

Offline

#5 2004-12-27 22:58:03

hesperidae
Member
Registered: 2004-07-26
Posts: 22

Re: hostname error when starting gnome

AHA!!!

Looks like that's gonna do it.

Thanx a million!

Hesperidae

Offline

#6 2004-12-27 23:38:15

Jet2k5
Member
Registered: 2004-10-03
Posts: 37

Re: hostname error when starting gnome

You can just add another line to your /etc/hosts, for example this is what I have for mine lol " matrix " tongue

127.0.0.1               localhost.localdomain   localhost
124.0.0.1               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.

Offline

#7 2005-03-23 22:50:53

gujeroo
Member
From: didjabringabeeralong
Registered: 2005-03-23
Posts: 17
Website

Re: hostname error when starting gnome

Hello everyone.

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.

Cheers
Michael


$>man woman
no manual entry for woman

Offline

#8 2005-03-24 00:06:18

puntmuts
Member
Registered: 2005-02-22
Posts: 138

Re: hostname error when starting gnome

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 .
Done. Goodbye.

Offline

Board footer

Powered by FluxBB