Comment 5 for bug 81057

Mac (mac-jones) wrote :

Turning of IPv6 did not work here, but the ping thing is weird !!
-------------------------------------------------------------------------------------
http://www.ubuntuforums.org/archive/index.php/t-78271.html
---

I have also been having trouble with my DSL-604T router. I disabled ipv6 in the aliases file (changed alias net-pf-10 to alias-net-pf-10 off), which has fixed web browsing.

With apt-get, I get a failure to connect, as it seems to resolve gb.archive.ubuntu.com to 1.0.0.0. However, if I ping gb.archive.ubuntu.com and then immediately run apt-get, it works:

root@redbug:~# apt-get update
66% [Connecting to gb.archive.ubuntu.com (1.0.0.0)]
root@redbug:~# ping gb.archive.ubuntu.com
PING gb.archive.ubuntu.com (82.211.81.182) 56(84) bytes of data.
64 bytes from gb.archive.ubuntu.com (82.211.81.182): icmp_seq=1 ttl=46 time=14.1 ms
64 bytes from gb.archive.ubuntu.com (82.211.81.182): icmp_seq=2 ttl=46 time=14.1 ms

--- gb.archive.ubuntu.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 14.122/14.151/14.180/0.029 ms
root@redbug:~# apt-get update
Get:1 http://gb.archive.ubuntu.com breezy Release.gpg [189B]
Hit http://gb.archive.ubuntu.com breezy Release
Hit http://gb.archive.ubuntu.com breezy/universe Packages
Fetched 189B in 0s (782B/s)
Reading package lists... Done
root@redbug:~#

This works for a short time, then apt-get seems to "forget" the address, and I'm back to square one; another ping and it starts working again (by short time, I mean no longer than the time it has taken to compose this post; maybe five minutes or so?)

My router software version is 1.00B02T02.UK.20040618. I'm reluctant to upgrade it on the grounds that it is working perfectly with my PC when booted into Windows XP and Mandrake 10.1 (using ftp, pop and smtp); so far it is only Ubuntu that has a problem (of course, the same issue might occur with other bang up to date distros).