Re: Can only access Debian website through proxy



On Wed, Aug 4, 2010 at 11:23 PM, Jochen Schulz <ml@xxxxxxxxxxxxxxxx> wrote:

pierre poulos:
On Wed, Aug 4, 2010 at 7:48 PM, Jochen Schulz <ml@xxxxxxxxxxxxxxxx>
wrote:
pierre poulos:

Using Iceweasel, Google Chrome and Lynx I cannot access http;//
www.debian.org or any of the mirrors without using an external web
proxy.

What error message do you get?

It just sits on connecting.... then times out (sorry about the typo)

And what is the exact error message Iceweasel shows? I am asking because
I suspect you may have a global proxy configured somewhere and the
message would indicate that. You can also try



Failed to Connect

Iceweasel can't establish a connection to the server at www.debian.org.

Though the site seems valid, the browser was unable to establish a
connection.

* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network
connection.
* Is your computer or network protected by a firewall or proxy?
Incorrect settings can interfere with Web browsing.

$ env | grep -i proxy


Nothing, even as root


to see whether that is the case. Can you ping www.debian.org?


PING www.debian.org (61.5.210.7) 56(84) bytes of data.
64 bytes from www.debian.org (61.5.210.7): icmp_seq=1 ttl=50 time=56.8 ms
64 bytes from www.debian.org (61.5.210.7): icmp_seq=2 ttl=50 time=53.2 ms
64 bytes from www.debian.org (61.5.210.7): icmp_seq=3 ttl=50 time=57.3 ms
64 bytes from www.debian.org (61.5.210.7): icmp_seq=4 ttl=50 time=53.6 ms
64 bytes from www.debian.org (61.5.210.7): icmp_seq=5 ttl=50 time=61.4 ms
64 bytes from www.debian.org (61.5.210.7): icmp_seq=6 ttl=50 time=79.6 ms
64 bytes from www.debian.org (61.5.210.7): icmp_seq=7 ttl=50 time=51.1 ms
64 bytes from www.debian.org (61.5.210.7): icmp_seq=8 ttl=50 time=53.1 ms
64 bytes from www.debian.org (61.5.210.7): icmp_seq=9 ttl=50 time=56.3 ms
^C
--- www.debian.org ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8032ms
rtt min/avg/max/mdev = 51.189/58.093/79.622/8.136 ms

Have you
tried editing your sources.list to use ftp:// instead of http://?


Ok changing to ftp now..

cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux] - Official i386 NETINST Binary-1

deb ftp://http.us.debian.org/debian stable main contrib non-free
deb ftp://mirror.optus.net/debian/ lenny main contrib non-free
deb ftp://security.debian.org/ lenny/updates main contrib non-free
deb ftp://www.debian-multimedia.org/ lenny main

Now I do



apt-get update
Get:1 http://dl.google.com stable Release.gpg
[189B]
Hit ftp://http.us.debian.org stable
Release.gpg
Get:2 ftp://http.us.debian.org stable/main
Translation-en_AU
Ign ftp://http.us.debian.org stable/main
Translation-en_AU
Get:3 ftp://http.us.debian.org stable/contrib
Translation-en_AU
Ign ftp://http.us.debian.org stable/contrib
Translation-en_AU
Hit ftp://mirror.optus.net lenny
Release.gpg

Get:4 ftp://mirror.optus.net lenny/main
Translation-en_AU

Get:5 ftp://http.us.debian.org stable/non-free
Translation-en_AU

Ign ftp://mirror.optus.net lenny/main
Translation-en_AU

Get:6 ftp://mirror.optus.net lenny/contrib
Translation-en_AU

Ign ftp://mirror.optus.net lenny/contrib
Translation-en_AU

Get:7 ftp://mirror.optus.net lenny/non-free
Translation-en_AU

Ign ftp://mirror.optus.net lenny/non-free
Translation-en_AU

Hit ftp://mirror.optus.net lenny
Release

Get:8 ftp://mirror.optus.net lenny/main
Packages/DiffIndex

Ign ftp://http.us.debian.org stable/non-free
Translation-en_AU

Ign ftp://mirror.optus.net lenny/main
Packages/DiffIndex

Get:9 ftp://mirror.optus.net lenny/contrib
Packages/DiffIndex

Ign ftp://mirror.optus.net lenny/contrib
Packages/DiffIndex

Get:10 ftp://mirror.optus.net lenny/non-free
Packages/DiffIndex

Ign ftp://mirror.optus.net lenny/non-free
Packages/DiffIndex

Hit ftp://mirror.optus.net lenny/main
Packages

Hit ftp://http.us.debian.org stable
Release

Hit ftp://mirror.optus.net lenny/contrib
Packages

Hit ftp://mirror.optus.net lenny/non-free
Packages

Get:11 ftp://http.us.debian.org stable/main
Packages/DiffIndex

Ign http://dl.google.com stable/main
Translation-en_AU

Get:12 http://dl.google.com stable Release
[2544B]

Hit ftp://www.debian-multimedia.org lenny
Release.gpg

Ign ftp://http.us.debian.org stable/main
Packages/DiffIndex

Ign http://dl.google.com stable/main
Packages/DiffIndex

Get:13 ftp://http.us.debian.org stable/contrib
Packages/DiffIndex

Hit ftp://www.debian-multimedia.org lenny/main
Translation-en_AU

Get:14 http://dl.google.com stable/main Packages
[1067B]

Ign ftp://http.us.debian.org stable/contrib
Packages/DiffIndex

Hit ftp://www.debian-multimedia.org lenny
Release

Get:15 ftp://http.us.debian.org stable/non-free
Packages/DiffIndex

Hit ftp://www.debian-multimedia.org lenny/main
Packages/DiffIndex

Ign ftp://http.us.debian.org stable/non-free
Packages/DiffIndex

Hit ftp://http.us.debian.org stable/main
Packages

Hit ftp://http.us.debian.org stable/contrib
Packages

Hit ftp://http.us.debian.org stable/non-free
Packages

Err ftp://security.debian.org lenny/updates
Release.gpg

Cannot initiate the connection to
security.debian.org:21(2001:388:1034:2900::26). - connect (101 Network
is unreachable) [IP:
2001:388:1034:2900::26 21]
snip snip

Hmmmm is the security entry correct ?

All Web browsers Iceweasel, Chrome, Lynx still need outside proxy to access
www.debian.org