Results 1 to 5 of 5

Thread: updates via a proxy server having authentication

  1. #1
    Join Date
    Nov 2008
    Location
    Manipal,India
    Beans
    23
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    updates via a proxy server having authentication

    I am having problem updating my ubuntu 8.10 through the internet due to a proxy server.Also synaptic or any other system task that connects to the internet wont work.
    the error when i try to run apt-get in terminal is--
    (the full error is mainly a repetion of the following lines-)

    Err http://cudlug.cudenver.edu intrepid-updates/multiverse Sources
    407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
    Err http://cudlug.cudenver.edu intrepid-updates/universe Sources
    407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
    W: Failed to fetch http://cudlug.cudenver.edu/ubuntu/di...86/Packages.gz 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )

    W: Failed to fetch http://cudlug.cudenver.edu/ubuntu/di...86/Packages.gz 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )

    I have tried adding
    export http_proxy=http://userassword@my.proxy.serverort/
    export ftp_proxy=http://userassword@my.proxy.serverort/

    to the etc\bash.bashrc file but still i get the same error.

    I have also input the proxy configuration and authentication in "SYSTEM-->PREFEPRENCES-->NETWORK PROXY"

    Firefox works just fine with the proxy which asks for authentication each time i try to open a site.

    I also cant run Limewire,vuze,pidgin.
    I think the problem is with the password for the proxy server ---- it contains a "@".(might also be the username-----contains a "\")

    PLEASE HELP!!

  2. #2
    Join Date
    Aug 2005
    Location
    Lima - Peru
    Beans
    318
    Distro
    Ubuntu

    Re: updates via a proxy server having authentication

    I have the same issue, but my user name dont have the @ or \ is very simple... I think is a Ubuntu problem...
    Best Regards! / Saludos!
    Mario Lacunza
    Lima - Perú

  3. #3
    Join Date
    Nov 2008
    Location
    Manipal,India
    Beans
    23
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Re: updates via a proxy server having authentication

    I have found the solution to the problem............(i am not sure if you are having the same problem)(do you have a ISA proxy server. This solution will work only for ISA servers)
    It's not a ubuntu problem but a problem at authentication system for the the ISA proxy server.
    To get through it you need download NTLM (NTL maps).(download it here http://sourceforge.net/projects/ntlmaps/)
    First edit the server.cfg(use any text editor) file to enter your proxy ip address,domain name(the part of the user name before "\"),your user name(the part after the "\") and your password.(all these fields are clearly mentioned in the server.cfg file).
    Now run a terminal and navigate to the directory where the NTLM is extracted and run the main.py fle by typing "python main.py" (without quotes).
    It will give a message--
    NTLM authorization Proxy Server v0.9.9.0.1
    Copyright (C) 2001-2004 by Dmitry Rozmanov and others.
    Now listening at Nightbringer on port 5865
    DONOT CLOSE THE ABOVE WINDOW!!!
    Now open up another terminal window and export the http_proxy variable to point to the local loopback address(http://127.0.0.1) at the port specified in the message given by the main.py script
    for eg the default command should be
    export http_proxy=http://127.0.0.1:5865
    Now you can run updates etc. the usual way . For eg.
    sudo apt-get update

    If you get an error saying "unable to create socket on port XXXX ..." just edit the server.cfg file and change the port no. in the first line and then run main.py again.
    For a more detailed version on the above process(also for windows) and a video tutorial visit the link:
    http://ankurs.com/2009/02/ion-proxy-login-problem/

  4. #4
    Join Date
    Nov 2008
    Location
    Manipal,India
    Beans
    23
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Re: updates via a proxy server having authentication

    The problem with torrents and limewire is that the proxy server has blocked all peer to peer connections.
    Another restriction is that the server refuses to let me login after 12:29 am uptill 5:30 am.
    DOES ANYBODY HAVE ANY IDEA AS TO HOW THIN LIMITATION MAY BE REMOVED OR A WORKAROUND??????
    i am really pissed at not being able to download torrents.....

  5. #5
    Join Date
    Apr 2009
    Location
    Karnataka, India
    Beans
    2
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Exclamation Re: updates via a proxy server having authentication

    Even im using the ion connection...... anyone knows how to fix torrents....
    neeed serious help!!! its really frustating....

    (btw what are you mit computer guys doing??? ur supposed to know all this right? plz develop a workaround fast... even im trying hard!)

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
  •