Internet access problem
Markus Schönhaber
ubuntu-users at list-post.mks-mail.de
Tue Nov 10 20:03:04 UTC 2009
R Page-Jones:
> Markus Schönhaber wrote:
>> R Page-Jones:
>>
>>
>>> When I put wget http://www.google.com in the command I get:
>>> robin at robin-desktop:~$ wget http://www.google.com --2009-11-09
>>> 19:48:47-- http://www.google.com/ Resolving www.google.com...
>>> 1.0.0.0 Connecting to www.google.com|1.0.0.0|:80...
>>>
>> Not even remotely good. You should never see a public name
>> resolved to the address 1.0.0.0 (hm, and I thought we had name
>> resolution already eliminated from the list of possible problems).
>> Please show the output of (on the command line)
>> cat /etc/hosts
>> and
>> cat /etc/resolv.conf
>>
> Results as follows:
> robin at robin-desktop:~$ cat /etc/hosts
> 127.0.0.1 localhost
> 127.0.1.1 robin-desktop
>
> # The following lines are desirable for IPv6 capable hosts
> ::1 localhost ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
Looks good.
> robin at robin-desktop:~$
> robin at robin-desktop:~$ cat /etc/resolv.conf
> # Generated by NetworkManager
> nameserver 192.168.1.1
> robin at robin-desktop:~$
Looks like what is to be expected, too.
And doesn't explain why www.google.com resolves to 1.0.0.0.
>>> If I click update manager and then click the "check" box it says
>>> "Downloading Package Information". After a couple of minutes a
>>> message comes up "An Error Has Occurred" with the following details:
>>> W: Failed to fetch
>>> http://gb.archive.ubuntu.com/ubuntu/dists/karmic/Release.gpg Cannot
>>> initiate the connection to gb.archive.ubuntu.com:80
>>> (2a01:450:10:1::10). - connect (101: Network is unreachable) [IP:
>>> 2a01:450:10:1::10 80]
>>>
>> Hm, interesting. gb.archive.ubuntu.com is resolved to a correct
>> address. Although it doesn't help you much since you've probably have no
>> IPv6 connectivity. What does
>> host gb.archive.ubuntu.com
>> show?
>> If you go to
>> System/Administration/Software Sources
>> an change "Download from:" to "Main server", does "check" in update
>> manager work better?
>>
> No, it is the same.
Then I'm out of ideas.
Just a last shot in the dark: since update manager tries to connect to
an IPv6 address - do you see any improvement if you disable IPv6?
You could add
ipv6.disable=1
to the boot options.
Easier, and maybe something worth trying first, is disabling IPv6 only
for Firefox: Type
about:config
in the URL bar and press return, accept the warning, and type ipv6 in
the filter bar. You should see the
network.dns.disableIPv6
entry. Double click it to change it's value tor true.
Does that cause any improvement?
--
Regards
mks
More information about the ubuntu-users
mailing list