LinuxQuestions.org
Visit Jeremy's Blog.
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 09-12-2002, 07:38 AM   #1
Foxtrick
LQ Newbie
 
Registered: Sep 2002
Distribution: Mandrake9.0
Posts: 8

Rep: Reputation: 0
Lost internet :/


I think after mandrake crashed, and it did a error check I knocked off my inet, not sure how(im on windows atm).

Now whenever I start mandrake I get the error at the beginning :

Could not look up address pc1-mapp1-5-cust131-not.cable.ntl.com
This will prevent Gnome from working correctly.
It may be possible to fix by adding ^^ to file /etc/hosts.

Something like that anyway.

Ive looked in that dir and theres several files one called hosts.conf one called host. and another one that has slipped my mind.

Help me

Last edited by Foxtrick; 09-12-2002 at 08:35 AM.
 
Old 09-12-2002, 07:48 AM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Can you post what the file

/etc/hosts

looks like?
 
Old 09-12-2002, 08:44 AM   #3
Foxtrick
LQ Newbie
 
Registered: Sep 2002
Distribution: Mandrake9.0
Posts: 8

Original Poster
Rep: Reputation: 0
host.conf has this :

order hosts,bind
multi on


hosts has this :

127.0.0.1 localhost.localdomain localhost

hosts.allow has this :

#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#

hosts.deny has this :


# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!



Hope thats enough info to help you help me
 
Old 09-12-2002, 05:16 PM   #4
Druaga
Member
 
Registered: May 2002
Location: Canada
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
looks like your hosts file should have another interface listed other than just the localhost.
What do you get from the command?:
ifconfig
 
Old 09-12-2002, 05:48 PM   #5
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
I think the hosts file is fine.
Your hosts.conf looks fine.
Your hosts.allow and deny are basically empty.

How do you access your ISP?

Dialup or ethernet?
 
Old 09-12-2002, 09:51 PM   #6
Foxtrick
LQ Newbie
 
Registered: Sep 2002
Distribution: Mandrake9.0
Posts: 8

Original Poster
Rep: Reputation: 0
ethernet nic card connected via cat5 cable to a cable modem.
 
Old 12-10-2005, 07:25 AM   #7
Paranoise
LQ Newbie
 
Registered: Dec 2005
Location: Lancaster, England
Distribution: Fedora 4
Posts: 1

Rep: Reputation: 0
I'm using Fedora 4.

I had the same problem and then I added this line:

127.0.0.1 localhost.localdomain dhcppc0

to the hosts file.

To test, I logged out and back in again and did not get the GNOME error.

My hosts file now contains the original entry and the line I added:

127.0.0.1 localhost.localdomain localhost
127.0.0.1 localhost.localdomain dhcppc0

Replace dhcppc0 with the machine name that GNOME complains about, log out then log in, you should NOT get the GNOME error.
 
  


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
Lost internet connection RonCum Linux - Networking 4 04-30-2005 08:53 PM
Lost access to internet KunoNoOni Linux - Networking 2 04-25-2005 10:02 AM
Lost internet connectivity wremote SUSE / openSUSE 3 03-19-2005 11:03 AM
Lost internet using netconfig scottie Linux - Newbie 12 10-28-2003 08:50 PM
HELP!!! Internet connection LOST FNC Linux - Networking 9 07-12-2002 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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