LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-06-2004, 11:24 PM   #1
G-Rad
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Unhappy Could not look up internet address for .. This will prevent GNOME from operating corr


Hi,

I just installed Redhat 9 on my computer (AMD Athlon 800MHz, 384MB RAM if that helps).

After I sign in, the following message pops up:

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

What does this mean and what should I do?

If it helps at all, the default gateway for my network is 192.168.1.1 (but I've got no idea what the message means, so I don't really know if this will help).

Thanks,

Gerard.
 
Old 03-20-2004, 09:56 AM   #2
anaon
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
I've had the same problem and my gateway is the same too, I tried adding that to the /hosts file but nothing came of it.. so it's just frustrating to have to click the continue button everytime..

again if anyone knows something about this.. please!!!!
 
Old 03-30-2004, 05:35 PM   #3
jaggedsphere
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
me too......will continue googling.
 
Old 03-30-2004, 05:49 PM   #4
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
You essentially will need to add:

127.0.0.1 localhost localhost.localdomain

to your /etc/hosts file.

and if you do not have a /etc/hosts file, CREATE ONE, and add the above lines please.
 
Old 04-20-2004, 05:39 PM   #5
hal_robertson
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
maybe this will help you, too:

on RedHat/Fedora:

/usr/bin/redhat-control-network

edit your computer's eth0 connection, and give your computer a hostname
 
Old 04-20-2004, 08:49 PM   #6
jaggedsphere
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
i have it figured out:
add a line which looks like this in your etc/hosts file.
127.0.0.1 localhost.localdomain localhost CPE00508d512248-CM014310003069
the long string of random numbers and letters is computer specific you will need to find out yours. also, to edit this file you will need to be root....you could either goto the console andenter the following:

su
yourrootpassword
cd /
vi etc/hosts (i suggest u enter vi-h to see avilable commands for use with vi)

(the above is a text editor not easy to use unless you know how)
(move to the line you want to edit)
press insert(allows the entering of text(press esc to exit insert mode))
after entering your alterations you must save to do this:
damn i cant remember to save i am just a ill go and
anyone how to save with vi?

edit: it seems that the alterations are saved on exit so you could alterate and then exit and you are all good!



i know you must:
:
the dots brings u a command enter mode you use single letters to specify actions
x
x will exit

anyways i hope this does not u but i am 2 weeks new to linux.
good luck

Last edited by jaggedsphere; 04-20-2004 at 08:53 PM.
 
Old 05-10-2004, 10:23 AM   #7
walrus121
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 1
Posts: 22

Rep: Reputation: 15
The string of numbers that you refer to is irrelevant. I'm not sure why you have it, it might be your ethernet address number, which is like a serial number for your ethernet card. Anyway, the problem comes up if you name your computer during the setup process, but the name is not registered in a DNS. So all that you need in your /etc/hosts file is:

127.0.0.1 localhost.localdomain localhost

If your network uses DHCP, computer can look up a different hostname for your computer from a DNS, it will and will automatically set it for you. If you are just a home user with a modem, don't worry about it.
 
Old 05-10-2004, 12:03 PM   #8
jaggedsphere
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
actually Walrus that line was already in the file...so it obviously does not work in all situations.
 
Old 05-10-2004, 02:01 PM   #9
walrus121
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 1
Posts: 22

Rep: Reputation: 15
Due you have an additional hostname in front of the ip address, like this?

some.hostname 127.0.0.1 localhost.localdomain localhost

The problem on my machine was that I had that hostname there. I had to delete it.

Do you have any other lines in /etc/hosts?
 
Old 06-08-2004, 01:51 PM   #10
escale
LQ Newbie
 
Registered: Apr 2004
Location: Southwest US
Distribution: Got RH9 (Shrike) from Distro that came with Red Hat Linux 9 Bible - Christopher Negus
Posts: 8

Rep: Reputation: 0
I have RH9 ( Shrike)
Kernel: 2.4.20-8 on an i686

This was my solution so I don't have to close that message box all the time.

http://www.linuxquestions.org/questi...864#post979864

I edited the /etc/hosts file as the "root".

---Escale
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not look up internet address for x1-6-00-10-b5-f4-57-ac. This will prevent GNOM dr_zayus69 Linux - Software 2 01-13-2005 07:35 PM
Prevent user from accessing the Internet koy-b Linux - Security 2 07-17-2004 12:17 PM
This will prevent GNOME from operating correctly. bootydookie Linux - Newbie 12 07-12-2004 08:39 AM
Could Not Find Internet Address on startup of GNOME SAE Riddler Linux - Newbie 1 05-26-2004 11:21 AM
Gnome internet address error eats85 Linux - Networking 5 09-28-2003 03:30 PM


All times are GMT -5. The time now is 10:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration