Proxy setttings not working in Ubuntu 11.10

8,928

Solution 1

I was having this problem when I first installed Ubuntu 11.10. I don't know which of the following steps solved it, but this is what I did:

  • Open a terminal

  • Run export HTTP_PROXY=http://<myproxy>:<port> to set up the proxy server for that terminal session

  • Run sudo apt-get update

  • At this point, the update manager popped up and asked if I'd like to install c. 300 updates, which I did

  • Restart

  • Install dconf with sudo apt-get install dconf-tools

    or Using Software Center Install via the software center

  • Run dconf-editor, select system > proxy > http and click enable (as per the tutorial in teleblog's answer)

And now it all seems to work :)

Solution 2

This tutorial worked for me:

First. You must install dconf-tools in the following ways:

sudo apt-get install dconf-tools

or Using Software Center Install via the software center

Second. Run dconf-tool the way:

dconf-editor

Third. In the Configuration Editor menu select System>> proxy

Goto “system >> proxy” change “mode” to manual and select “use-same-proxy“.
Goto “system >> proxy >> http” give your proxy information there and select “enable” option.
Goto “system >> proxy >> https” give your proxy information there, do the same things on ftp part.
Make sure socks have “0” (zero) on “port” and nothing on “Host” field.

http://loewyi.com/info/proxy-problem-google-chrome-ubuntu-11-10/

Share:
8,928

Related videos on Youtube

Prakash
Author by

Prakash

Updated on September 18, 2022

Comments

  • Prakash
    Prakash almost 2 years

    I always use a proxy to connect to the internet in Windows as well as in previous versions of Ubuntu, but in Ubuntu 11.10 it seems that the proxy settings I set in the GUI are not being applied system-wide.

    I can access the internet in Firefox with its own proxy settings. I can access internet in the terminal (i.e. I am able to use apt-get for some small programs). But in Ubuntu software centre or update manager it is not working.

    • Martin McNulty
      Martin McNulty over 12 years
      I have the same problem - if I set manual proxy settings in Firefox, I can access the internet, but if I set it to use the system proxy settings (even though they're the same!), connections just time out.
    • Admin
      Admin over 11 years
      I have the same issues but after reading <a href="askubuntu.com/questions/89437/… </a> it worked. The link is : askubuntu.com/questions/89437/… Hope it works for you too.
  • Prakash
    Prakash over 12 years
    of course i did it. but it does not work for complete system even after clicking "Apply System Wide" button For Eg : i am unable to use internet in update manager and softwrae centre
  • flo
    flo over 12 years
    Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
  • Eliah Kagan
    Eliah Kagan about 12 years
    su doesn't work (and has never worked) by default in Ubuntu, for becoming root. You need to use sudo instead. sudo -s is the proper equivalent of su.