I'm trying to install Mandriva Spring 2010 for a friend on his laptop after MS Windows crashed. The installation appeared to work, but I've got an odd networking problem - firefox is unable to load URLs. Every URL I try returns a server not found error.

When I drop into bash I'm able to do the following

Code:

ping 66.102.9.103
ping google.com

However when I try

Code:

wget http://google.com

I just get a message that tells me that wget is "unable to resolve host address google.com'"

This is odd - ping is able to resolve google.com, but wget isn't. I assume that firefox and Konqueror both have the same problem. Could it be cause I've specified the http protocol? If so how do I fix it?

ping goats.com - IP address resolved to be 208.122.50.173. Replies are slow, but they work

I can imagine the machine being able to resolve a major site like google, but not the Goats web comic!

szboardstretcher

08-03-2010 08:22 AM

Try

Quote:

service firewall stop
or
service iptables stop
and
service iptables6 stop

then try again.

stormcloud

08-03-2010 10:00 AM

Hi,

Thanks for you advice. I don't have services called "firewall" or "iptables6" (I'm not using IPv6). I've also rebooted the machine a few times, so I don't think it's a service that is in a bad state.

Is the issue likely to be related to the eth0 device (in which case I'll send the configuration of ifcfg-eth0) or is it some other lookup service that handles name resolution? I've looked at /etc/hosts and it only contains an entry for 127.0.0.1

stormcloud

08-03-2010 01:25 PM

one other thing that might help (I'm clutching at straws here), in /etc/sysconfig/network, there is an entry I've never seen before:

Code:

CRDA_DOMAIN=IE

I'm not sure what this is about, or if it's relevant!

jefro

08-03-2010 03:07 PM

OK, then what does nslookup say?

Also most distros have a file to set wget and other apps if you have some odd network like a proxy. Do you have a proxy? Does the distro offer a system wide network setting? It may not be working for wget.

stormcloud

08-04-2010 03:18 AM

Hi jefro,

I'll have to get back to you with the nslookup details (my friend wanted the machine back, but we are still working on it!)

There shouldn't be a proxy - the machine is used on a home network. I've got a router that is connected directly to the broadband; the router also acts as my DHCP which I can see is correctly handing out IP addresses in my 192.169.xx.xx range.

This is the first time I've used the Mandriva Spring 2010 distro, so the might be some setting I've missed.

Cheers.

szboardstretcher

08-04-2010 10:03 AM

Are you using DHCP?

I would check /etc/resolv.conf to make sure a real dns server is in there.

To test, you can always use 4.2.2.2 which is an att dns server somewhere. Add that, and try. Do not do a network restart if you are using DHCP -- it will overwrite it.

catkin

08-04-2010 10:11 AM

Not all sites respond to ping; some sites have slower connections than others. Testing gave same results as OP

Sorry for the delay getting back to you - the owner wanted him machine back!

The change to /etc/resolv.conf worked a treat, but only as long at the machine isn't rebooted. Restarting the machine (or just the network service?) clears the file. Any ideas how to make it permanent?