Apologies if this is the wrong place to post this.
Okay here's my story..
I'm running Ubuntu 8.04 and I connect to the net via a proxy, the address and port of which are 10.51.255.250 and 8080. A few weeks ago I discovered the keys for the Hardy Repository were outdated. I have got a perl script to update the keys for me, but it doesn't work because I'm behind a proxy it seems, and incidentally running ping from the terminal tells me the network is unreachable.
I've no problems with browsers, running apt-get or wget from the terminal, aps like skype or pidgin or even stuff like Flashget running under wine.
When I run the following:
Code:
http_proxy="http://10.51.255.250:8080/" ping -c 5 www.google.com
http_proxy="http://10.51.255.250:8080/" wget www.google.com -O /tmp/testgoogle
http_proxy="http://10.51.255.250:8080/" wget https://launchpad.net/~project-neon/+archive/ppa -O /tmp/testlaunchpad
https_proxy="http://10.51.255.250:8080/" wget https://launchpad.net/~project-neon/+archive/ppa -O /tmp/testlaunchpad2
Here's what I get:
Code:
mark@mark-laptop:~$ http_proxy="http://10.51.255.250:8080/" ping -c 5 www.google.com
connect: Network is unreachable
Code:
mark@mark-laptop:~$ http_proxy="http://10.51.255.250:8080/" wget www.google.com -O /tmp/testgoogle
--11:19:12-- http://www.google.com/
=> `/tmp/testgoogle'
Connecting to 10.51.255.250:8080... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: http://www.google.ie/ [following]
--11:19:17-- http://www.google.ie/
=> `/tmp/testgoogle'
Connecting to 10.51.255.250:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
[ <=> ] 5,393 --.--K/s
11:19:24 (2.41 MB/s) - `/tmp/testgoogle' saved [5393]
Code:
mark@mark-laptop:~$ http_proxy="http://10.51.255.250:8080/" wget https://launchpad.net/~project-neon/+archive/ppa -O /tmp/testlaunchpad
--11:20:13-- https://launchpad.net/~project-neon/+archive/ppa
=> `/tmp/testlaunchpad'
Resolving launchpad.net... 91.189.90.211
Connecting to launchpad.net|91.189.90.211|:443... failed: Network is unreachable.
Code:
mark@mark-laptop:~$ https_proxy="http://10.51.255.250:8080/" wget https://launchpad.net/~project-neon/+archive/ppa -O /tmp/testlaunchpad2
--11:20:58-- https://launchpad.net/~project-neon/+archive/ppa
=> `/tmp/testlaunchpad2'
Connecting to 10.51.255.250:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 49,813 (49K) [text/html]
100%[====================================>] 49,813 134.90K/s
11:20:58 (134.75 KB/s) - `/tmp/testlaunchpad2' saved [49813/49813]
So, I'm wondering is there something wrong with the proxy settings, and if so how to fix it?