Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Login Error
#1

I have been try to resolve this problem since I installed Fedora, I am not quite sure what it is but would like that error message to go away everytime i login. Here is the error message i revieve upon logging in:

 

Could not look up internet address for (My Host) Thsi will prevent GNOME from operating correctly. It may be possible to correct the problem by adding (My Host) to /etc/hosts.

 

I have added my host to the hosts file using Gedit, even so nothing changed the error message again popped up during the next login. I also added my ip instead of the host name, again nothing changed, if you have any tips tricks or can solve the problem I would greatly appreciate it.

Reply
#2

can you post your hosts file here please

 

cheers

 

anyweb

Reply
#3

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

 

Here you go anyweb :)

Reply
#4

hmm looks fine

 

so... what are your iptables rules, tell us how is this box getting access to the internet ?

 

direct connection via eth0 or what ?

 

do iptables -L and paste the output of that here

 

cheers

Reply
#5

Chain INPUT (policy ACCEPT)

target prot opt source destination

RH-Firewall-1-INPUT all -- anywhere anywhere

 

Chain FORWARD (policy ACCEPT)

target prot opt source destination

RH-Firewall-1-INPUT all -- anywhere anywhere

 

Chain OUTPUT (policy ACCEPT)

target prot opt source destination

 

Chain RH-Firewall-1-INPUT (2 references)

target prot opt source destination

ACCEPT all -- anywhere anywhere

ACCEPT icmp -- anywhere anywhere icmp any

ACCEPT ipv6-crypt-- anywhere anywhere

ACCEPT ipv6-auth-- anywhere anywhere

ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED

REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Reply
#6
hmm, so how is this connected to the internet ? directly or via some hardware router/firewall ?
Reply
#7
I am just directly hooked up to the modem, no router nothing...
Reply
#8

you need an entry in /etc/hosts for your hostname and your lan ip.

 

192.168.0.2 hostname.domain hostname

Reply
#9

I added my ip and for the hell of it the 192.168.0.2 and there error still occurs...

 

 

 

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

24.230.210.3 localhost.localdomain localhost

192.168.0.2 localhost.localdomain localhost

 

 

This is in what order i edited it so if you have any other ideas that night work that would be great thnx peeps

 

 

Greets to the Linux-Noob Team

Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Human Verification
Please tick the checkbox that you see below. This process is used to prevent automated spam bots.

Forum Jump:


Users browsing this thread: 1 Guest(s)