LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-15-2004, 12:50 AM   #1
verstapp
Member
 
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.
Ideas?
Usual newbie disclaimer: Funny, it worked under XP.
 
Old 03-15-2004, 03:44 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,467

Rep: Reputation: 153Reputation: 153
"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.
127.0.0.1 localhost.localdomain localhost


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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


All times are GMT -5. The time now is 08:52 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