LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-30-2004, 10:42 PM   #1
2782d4
Member
 
Registered: Feb 2004
Location: Nashville Tn
Distribution: adsf
Posts: 34

Rep: Reputation: 15
log on problom /etc/hosts.


when I go to log on I get this err


Could not look up internet address for lebanon-<myip addy>.midtn.chartertn.net.
This will prevent GNOME from operating correctly.
It may be possible to correct the problem by adding
lebanon-<myip addy>.midtn.chartertn.net to the file /etc/hosts.



What do I need 2 do 2 fix this thing.....


When this happen my httpd servers stop working :-(
 
Old 06-30-2004, 10:53 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
you have yourself answered your question.


It may be possible to correct the problem by adding
lebanon-<myip addy>.midtn.chartertn.net to the file /etc/hosts.


/etc/hosts

<your ip addy> lebanon- ....

Hope your DNS resolutions are good.

Last edited by ppuru; 06-30-2004 at 10:54 PM.
 
Old 06-30-2004, 11:03 PM   #3
2782d4
Member
 
Registered: Feb 2004
Location: Nashville Tn
Distribution: adsf
Posts: 34

Original Poster
Rep: Reputation: 15
what do I do now

This is the file what do I do from this point :-)



# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
 
Old 07-01-2004, 01:28 AM   #4
ujjwals
LQ Newbie
 
Registered: Jun 2004
Location: INDIA
Posts: 8

Rep: Reputation: 0
in the /etc/hosts file add

<your ip addy> lebanon-<myip addy>.midtn.chartertn.net alias name

this will solve your problem
 
Old 07-01-2004, 02:22 AM   #5
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
or simply

127.0.0.1 localhost.localdomain localhost lebanon-<ipaddy>....

Hope the ipaddy does not change often.
 
Old 07-02-2004, 04:26 AM   #6
GexNZ
LQ Newbie
 
Registered: May 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 21

Rep: Reputation: 15
Same Problem

Hey all,
I get the same problem, but only when i use DHCP. When I use a static address it logs in with out a problem.
The solutions above are of no use as my IP address will change often. Any solutions to this problem?
 
Old 07-02-2004, 04:48 AM   #7
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
if you can give a static hostname and add it as an alias to the 127.0.0.1 line

e.g.

127.0.0.1 localhost localhost.localdomain mylinuxpc
 
Old 07-02-2004, 09:34 AM   #8
GexNZ
LQ Newbie
 
Registered: May 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 21

Rep: Reputation: 15
Fixed

Thanks ppuru, worked a treat.
 
  


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
External Hosts Resolve but Local Hosts Do Not kjm9 Linux - Networking 7 11-19-2005 03:51 PM
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 09:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
problom with X server and Vmware TheShadow Linux - Newbie 0 09-08-2003 03:48 AM
Squid network config problom d-rez Linux - Networking 1 05-31-2002 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration