Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Cannot disable proxy

  1. #1
    Join Date
    Feb 2009
    Beans
    4
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Cannot disable proxy

    Hello all,

    I have a problem with my laptop proxy settings. I am using ubuntu 8.10 and I use my laptop in my office, where a proxy must be configured. But when I return home and try to disable my proxy, it just doesn't.

    The way I disable my proxy is by System / Preferences / Network Proxy:
    In the proxy configuration tab, I select Direct internet connection (in my office I would select manual proxy configuration)

    After I do that I open a terminal and check if the http_proxy is still there. Bizarrely, it is.
    Code:
    [bahamut]david@bahamut ~ $ env | grep http
    http_proxy=http://x.y.z.q:3954/
    It's very annoying to unset this variable _every_ time that I open a new console. So, what am I missing here?

    Thanks for your help,
    David

  2. #2
    Join Date
    Feb 2009
    Location
    La Marsa, Tunis
    Beans
    33
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Cannot disable proxy

    Try editing the config file /etc/apt/apt.conf

    run sudo gedit /etc/apt/apt.conf

    clear the file then type the following before saving

    acquire::http:: proxy "false";

    this will tet you use apt-get, synaptics...without proxy but for other things I don't know I'm having the same problem. If someone else could help us...
    houcem@ubuntu:~$ echo bye

  3. #3
    Join Date
    Feb 2009
    Beans
    4
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Cannot disable proxy

    Hi,

    I tried that and apt-get still tries to connect thru proxy.
    I erased the file and no luck either.

    I have just discovered the location of the http_proxy value. It is on /etc/environment. I commented the http_proxy line and now it's working ok.

    So now I would like to know: why didn't it change automatically when I set 'direct internet connection' on my proxy preferences? Bug?

    Cheers

  4. #4
    Join Date
    Feb 2009
    Location
    La Marsa, Tunis
    Beans
    33
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Cannot disable proxy

    Probably yes I had the same problem.
    houcem@ubuntu:~$ echo bye

  5. #5
    Join Date
    Apr 2007
    Location
    Eastern USA
    Beans
    416
    Distro
    Ubuntu

    Re: Cannot disable proxy

    Quote Originally Posted by houcem View Post
    Try editing the config file /etc/apt/apt.conf

    acquire::http:: proxy "false";
    an extra space threw me off. try:
    Code:
    acquire::http::proxy "false";
    Quote Originally Posted by yuppienet View Post
    I have just discovered the location of the http_proxy value. It is on /etc/environment. I commented the http_proxy line and now it's working ok.

    So now I would like to know: why didn't it change automatically when I set 'direct internet connection' on my proxy preferences? Bug?
    Same also.
    Someone should write a bug report...

  6. #6
    Join Date
    Oct 2009
    Beans
    6

    Re: Cannot disable proxy

    HI,
    I resolved unsetting the environment variable http_proxy. After reboot, I didn't find the proxy settings anymore. Anyway, i think it is a real ubuntu bug since resetting proxy with System>Preferences didn't work.

  7. #7
    Join Date
    Aug 2007
    Beans
    4

    Re: Cannot disable proxy

    I have the same problem. I am now unable to connect to my wired internet connection. Could any of you give me instructions in more detail about 'unsetting http_proxy' which seems to work, from what i can make out from previous posts. Thanks.

  8. #8
    Join Date
    Apr 2007
    Location
    Eastern USA
    Beans
    416
    Distro
    Ubuntu

    Re: Cannot disable proxy

    I'm not sure if this is related, but I noticed that if you start up "gconf-editor" and change some settings, these settings are different from setting gnome settings with gconftool:
    Code:
    gconftool -s /system/http_proxy/use_proxy -t bool true

  9. #9
    Join Date
    Jul 2010
    Beans
    1

    Re: Cannot disable proxy

    I am not sure this will work or not. But It worked for me.

    system -> administration -> synaptic Package Manager -> setting -> preferences
    click network and check direct connection to network

  10. #10
    Join Date
    Mar 2007
    Beans
    44

    Re: Cannot disable proxy

    @ajkd: it didn't for me.
    @cong06: worked for me too... just seems like a bit of a stupid solution! I can't believe this bug is so old!!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •