View Full Version : [ubuntu] Problem with Proxy
August 11th, 2009, 05:29 PM
Lately, I am observing this problem and am not sure if I'm the only one.
I setup a proxy using Systems->Preferences->Network Proxy
Click on Apply System-Wide
Using the same procedure I remove the proxy and click on Apply System-Wide, nothing works. I mean I can get the browser running by setting the proxy manually but anything that I do using the shell and or perhaps the Update Manager does not work.
I'm thinking this is a bug and was hoping if anyone solved it... Its getting really annoying to restart Ubuntu everytime I change my proxy. Any help is appreciated. Thanks
August 11th, 2009, 05:34 PM
Did you close your browser and re-open it after making the proxy settings?
Also, try opening a new terminal, and type:
export | grep http_proxy
Do you see anything returned after you remove your proxy settings?
August 11th, 2009, 05:39 PM
Thanks for the reply...
Yes... I still see that the http_proxy variable is set to use my proxy... Ah... this looks like the one creating a problem... I removed the proxy and clicked "Apply System-wide" but it doesn't show me any change...
August 13th, 2009, 12:50 AM
August 13th, 2009, 03:29 AM
Sorry... Nothing really to say; I can't replicate the issue. Are you using Ubuntu 9.04 i386?
August 13th, 2009, 03:33 AM
Yes... (I have see an almost similar issue in another post:
I tried resolving it using the steps there but it still persists.)
If this is the case, considering that the variable is not being set, is there a way I can do this manually at least? I don't mind running a shell script or some other manual procedure as long as it can fix my problem without asking me to restart.
August 14th, 2009, 04:22 AM
There is a way to manually set your proxy settings. When you open a terminal, type:
This unsets your proxy for the terminal you have open. This is only temporary, meaning next time you run a new login shell (run su -l, or launch a new terminal) your proxy settings will be the system settings. This change will not affect your web browser (unless you're running w3m...). Firefox has a way to manually set its proxy config through "Edit" -> "Preferences" -> "Advanced" -> "Network" -> "Settings...".
To set your terminal proxy settings more permanently, add it to one of bash's configs. "/etc/bashrc" sets it for all users, while "~/.bashrc" sets it for just your user.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.