Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: HOWTO: Proxy Support

  1. #11
    Join Date
    Oct 2007
    Beans
    456

    Re: HOWTO: Proxy Support

    Quote Originally Posted by mozartlova View Post
    i don't suppose anyone knows how to include the following into a http_proxy
    variable that parses correctly when passed to wget (it seemingly doesn't
    work when you just type it into the 'details' section of the network proxy
    authentication either ...

    username is domain\username@company.com
    (i would imagine the "\" and "@" are the difficulties here)
    password is blah
    proxy server is proxy.company.com and
    port is 8080

    it works (of course) when you type it into the proxy authentication of a
    browser, but fails to parse for me (not when doing the "export http_proxy")
    when doing the wget.
    http_proxy=http://domain\\username@company.com:blah@proxy.company.co m:8080
    If you found the solution to your problem, or not - please come back and tell us. If it worked, mark the thread as solved, if it didn't ask for further help. A thankyou never hurts, too! A question is the beginning of knowledge.

  2. #12
    Join Date
    Jul 2010
    Beans
    1

    Exclamation Re: HOWTO: Proxy Support | apt-get

    When you use some proxy settings during installation (Ubuntu 10.04 server), these settings are saved in:

    /etc/apt/apt.conf:
    Acquire::http::Proxy "http://x.x.x.x:port";

    To setup a (different) proxy for apt-get, you should change this file also.

  3. #13
    Join Date
    Sep 2006
    Beans
    2
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: HOWTO: Proxy Support

    Quote Originally Posted by MegaJim View Post
    http_proxy=http://domain\\username@company.com:blah@proxy.company.co m:8080
    I had the same issue and this solution did not work for me. Any ideas anyone?
    username: OCS\username
    password: pass

    I tried http_proxy="http://OCS\\username:pass@proxy:8080/"; but I still get

    error 407 Proxy access denied.

  4. #14
    Join Date
    Apr 2006
    Beans
    348
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: HOWTO: Proxy Support

    Does you username have a "." in it? you will need to put a backslash in front of that aswell...

  5. #15
    Join Date
    Jun 2007
    Location
    Oklahoma City
    Beans
    115
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Proxy Support

    Quote Originally Posted by MegaJim View Post
    http_proxy=http://domain\\username@company.com:blah@proxy.company.co m:8080
    Thanks, that's what I was missing. My password also contains special characters (!@()) which need to be preceeded by a \.

  6. #16
    Join Date
    Apr 2010
    Location
    Brisbane QLD Australia
    Beans
    5
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Proxy Support

    Having been through this whole proxy setting business myself just recently, I thought it may be helpful to post a complete and definitive list of the places you should check for proxy server settings. Some of the files listed here are updated when you set your proxy server through the Ubuntu System > Preferences > Network Proxy dialog and choose yes to the question on whether you want to Apply these settings to the entire system.

    # /etc/environment
    # /etc/bash.bashrc
    # /etc/profile
    # /etc/apt/apt.conf
    # ~/bashrc
    # ~/profile
    # ~/bash_profile

    My Recommendation, if you do not have a user-name and password associated with your proxy access, is to set the proxy server using the Ubuntu System > Preferences > Network Proxy dialog. When applying these settings, ensure you choose to apply them to the entire system.

    If you do have a user-name and password to enter, then I would add the server settings to the /etc/environment and /etc/apt/apt.conf files. This will set your proxy server credentials for all sign-in accounts on your Ububtu desktop system.

  7. #17
    Join Date
    Aug 2006
    Location
    Paris
    Beans
    4
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: HOWTO: Proxy Support

    Hi all,
    thanks for the interesting post, I've lost hours myself trying to figure out how to do apt behind a proxy.
    Now I have another problem, I have drupal installed and it is unable to connect to the outside. How do we set proxy variables for web applications in php and perl?

    Denis

  8. #18
    Join Date
    Feb 2008
    Location
    Brazil
    Beans
    78
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Proxy Support

    Hello,

    May I please ask you what about Lubuntu distribution and Google Chrome? Lubuntu apparently comes with no global proxy setting, and Chrome Preferences can not locate the environment configuration.

    In my case, Lubuntu is installed on a Windows host running Virtualbox.

    Thanks.

  9. #19
    Join Date
    Feb 2008
    Location
    Brazil
    Beans
    78
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Proxy Support

    Quote Originally Posted by cirobr View Post
    Hello,

    May I please ask you what about Lubuntu distribution and Google Chrome? Lubuntu apparently comes with no global proxy setting, and Chrome Preferences can not locate the environment configuration.

    In my case, Lubuntu is installed on a Windows host running Virtualbox.

    Thanks.
    Have just found solution at:

    http://ubuntuforums.org/showthread.p...8#post11636648

  10. #20
    Join Date
    Jun 2012
    Beans
    1

    Re: HOWTO: Proxy Support

    ok I am new to ubuntu and I am installing it on my old pc. I was wondering what is the port on the back of my HTTP proxy. I am sorry if this sounds like a stupid question.

Page 2 of 3 FirstFirst 123 LastLast

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
  •