You are not logged in.

#1 2010-09-28 08:16:50

theta
Member
From: India
Registered: 2010-01-16
Posts: 174

[SOLVED] - Running behind proxy

I have an http_proxy which i use to surf the web. It works fine in firefox. But when I try to do anything via konsole (I have KDE on Arch x86_64) I get a "no route to host" error.
Using wget:

[theta@boolean-pc ~]$ wget http://download.songbirdnest.com/installer/windows/i686-msvc8/Songbird_1.8.0-1800_windows-i686-msvc8.exe
--2010-09-28 13:40:14--  http://download.songbirdnest.com/installer/windows/i686-msvc8/Songbird_1.8.0-1800_windows-i686-msvc8.exe
Resolving download.songbirdnest.com... 74.201.255.108
Connecting to download.songbirdnest.com|74.201.255.108|:80... failed: No route to host.
[theta@boolean-pc ~]$ 
 
[theta@boolean-pc ~]$ sudo pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from mir.archlinux.fr : No route to host
error: failed retrieving file 'core.db.tar.gz' from distrib-coffee.ipsl.jussieu.fr : No route to host
error: failed retrieving file 'core.db.tar.gz' from distrib-coffee.ipsl.jussieu.fr : No route to host

I have naturally already exported the http_proxy variable.
Please help
Apoorv

Last edited by theta (2010-09-28 11:13:53)

Offline

#2 2010-09-28 10:01:07

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: [SOLVED] - Running behind proxy

There are other variables you need to set too. Different programs look and different vars (annoying!)

Here's mine:

http_proxy=http://proxy.fukawi2.local:3128
https_proxy=http://proxy.fukawi2.local:3128
ftp_proxy=http://proxy.fukawi2.local:3128
HTTP_PROXY=http://proxy.fukawi2.local:3128
HTTPS_PROXY=http://proxy.fukawi2.local:3128
FTP_PROXY=http://proxy.fukawi2.local:3128
no_proxy=127.0.0.0/8,localhost

Last edited by fukawi2 (2010-09-28 10:02:08)

Offline

#3 2010-09-28 10:25:00

theta
Member
From: India
Registered: 2010-01-16
Posts: 174

Re: [SOLVED] - Running behind proxy

I exported all the variables, but still no result.
Could this be related to KDE?

Offline

#4 2010-09-28 10:37:39

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [SOLVED] - Running behind proxy

I ended up using a combination of squid and ip tables...

Offline

#5 2010-09-28 11:15:08

theta
Member
From: India
Registered: 2010-01-16
Posts: 174

Re: [SOLVED] - Running behind proxy

Sorry
It was a stupid mistake on my part.
I hadn't used the export command in the .bashrc file. It used to work without that in gnome but obviously doesn't in KDE.

Offline

#6 2010-09-28 23:29:15

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: [SOLVED] - Running behind proxy

Allan wrote:

I ended up using a combination of squid and ip tables...

???
Ya wot?

Offline

#7 2010-09-29 01:50:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [SOLVED] - Running behind proxy

Yeah... laptops and moving between networks are fun...  I am behind a proxy at work for http only so I just start squid when at work and then use ip tables to point all port 80 traffic that way.   It works quite well.

Offline

Board footer

Powered by FluxBB