LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-18-2005, 05:49 PM   #1
MarxzWolf
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
could not find ubuntu address


I have just finished installing ubuntu 5.10 and when i login i get a message that says:

"Could not lookup internet address for ubuntu, this will prevent GNOME from operating correctly. adding ubuntu to file /etc/hosts may fix this problem"
I'm a newbie and have no idea what it mean by "add ubuntu to /etc/host"
does it want me to just type ubuntu and the end of the file or give an address?
 
Old 10-18-2005, 07:43 PM   #2
sab5
LQ Newbie
 
Registered: Dec 2004
Location: Dunedin, New Zealand
Distribution: RedHat Fedora
Posts: 1

Rep: Reputation: 0
Hi

Is your machines name ubuntu by chance?
You probably just need to add your machine name to the /etc/hosts file.
To begin with, there is quite a lot of stuff on the web about this problem and how to solve it. So you could have a look around the web first by copying the exact error message and pasting this into your search engine (I used google and got 637 hits).

The thing to do is to backup your /etc/hosts file first.

So, have a look at it to satisfy your curiousity:

less /etc/hosts

Then make a backup

cp /etc/hosts /etc/hosts_backup

then type

echo "127.0.0.1 ubuntu" >> /etc/hosts

Try starting X up again
If this hasn't solved the problem you can just go back to your original /etc/hosts file by

mv /etc/hosts_backup /etc/hosts

Best of luck
 
  


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
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 10:21 AM
How to find MAC address of a specified IP address ? longtongfish Programming 1 07-12-2005 03:26 PM
Find an IP Address worldgnat General 6 05-14-2005 12:30 PM
How do I find my IP address? Greenhorn Linux - Newbie 6 02-10-2003 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration