LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-20-2003, 12:38 PM   #1
Arisen Sun
LQ Newbie
 
Registered: Mar 2003
Posts: 7

Rep: Reputation: 0
Hosts Error with Gnome


I have searched the forums here and found several posts explaining how to fix this problem, and I have also searched on google but all of the fixes I have tried are not working. I think that I am doing something wrong. I am getting this error message after I log in:

Could not look up internet address for Firewall. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding Firewall to the file /etc/hosts.

Here is what my hosts file looks like:


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


I have two network cards in my machine, and one is connected to my cable modem and one is connect to my LAN. Since I am using X I can configure it using the network configuration utility. What changes should I make so that this error goes away?
 
Old 03-20-2003, 12:48 PM   #2
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
>What changes should I make so that this error goes away?

Well, there is no TLD (Top level domain) called firewall.

So, attempting to look up your machine listed as :

localhost.localdomain.firewall will fail. Your machine doesn't know how to look up something in a .firewall domain.

I'm not entirely sure why you've changed that, but to make the error go away you would change :

192.168.0.1 localhost localhost.localdomain.firewall

to something like :

192.168.0.1 binky

where binky is your host name. Leave the 127. address as localhost though.

if you *have* a domain (say slickwilly.com) then :

192.168.0.1. binky binky.slickwilly.com

would be your entry.

Slick.
 
Old 03-20-2003, 01:11 PM   #3
Arisen Sun
LQ Newbie
 
Registered: Mar 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for your help Slick...I adjusted my hosts file a little (I was confused, but I understand it now) and everything is working great and that error message is gone! I'm not sure what I would do without these forums, but my sanity is intact because of people like you that are willing to help. Im really starting to love Linux, and I can see that what people have been telling me about Linux being superior to Windows is true...I am now a believer..and a user.

Now that EVERYTHING is working, I am going to take a nap =).
 
Old 03-20-2003, 02:46 PM   #4
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Woot!

I think I'll treat myself to a cookie

Slick.
 
  


Reply



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
/etc/hosts lookup error millertime Linux - Networking 9 08-06-2004 09:57 AM
/etc/hosts and gnome shanenin Linux - Software 2 01-09-2004 11:12 AM
/etc/hosts error ATM Linux - Newbie 1 09-15-2003 01:46 PM
/etc/hosts gnome problem stunhcterts Linux - Software 7 03-13-2003 05:22 AM
weird /etc/inittab /etc/hosts problem in Gnome scobapro Linux - Software 7 04-17-2002 12:31 AM

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

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