Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-15-2004, 12:50 AM   #1
Registered: Feb 2004
Location: canberra australia
Distribution: Suse 9.0
Posts: 44

Rep: Reputation: 15
could not lookup internet address for localhost.localdomain

this message came up when I re-logged on a while ago, followed by a 'gnome may not run properly, are you really sure you want to log on?' one.
I since found that my previous shutdown hadn't been quite so elegant as it had appeared 'can't shutdown canna, in use by another machine' (this is a standalone PC) and that my /etc/hosts file had been trashed. Does anyone have sample hostname and hosts files so that I can logon without such errors?

Which brings us to the reason why I was re-logging on in the first place... I am one of the (very many, going by the number of posts) people who are unable to bring up eth0.
Usual newbie disclaimer: Funny, it worked under XP.
Old 03-15-2004, 03:44 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"Does anyone have sample hostname and hosts files so that I can logon without such errors?"

Here is my /etc/hosts file:

# Do not remove the following line, or various programs
# that require network functionality will fail. localhost.localdomain localhost

Be prepared. Create a LifeBoat CD.

Steve Stites


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
localhost.localdomain cryzpene Linux - Software 1 06-05-2004 11:57 AM
Can't lookup internet address for localhost.localadmin? joshnerl Linux - Newbie 8 04-13-2004 07:30 AM
localhost internet address pete_bogg Red Hat 2 10-31-2003 07:00 PM
Could not look up internet address for localhost? Rv5 Red Hat 4 09-29-2003 08:02 PM
localhost.localdomain blankx87@m-i-m. Linux - Newbie 1 11-17-2002 04:28 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:17 PM.

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