Linux-Noob Forums

Full Version: Login Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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.


can you post your hosts file here please

 

cheers

 

anyweb


# 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 :)


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


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

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

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

 

192.168.0.2 hostname.domain hostname


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