Jump to content

Recommended Posts

Posted (edited)

Before I start, apologies if this seems like a rather basic question, but this is the first time properly using Ubuntu, and Google results have thrown me in all different directions! :o

 

I have installed Ubuntu (13.04) in work but am behind a proxy I have to authenticate to. I've set up the proxy details in the network settings but cannot find anywhere to add my credentials. I did did some googeling and one result pointed me tol /etc/apt/apt.conf and I had to add my proxy manually along with my username and password like so:

 

Acquire::http::proxy "http://username:[email protected]:80/";

 

Is this correct? I have to authenticate with a domain login and need to include the domain too. Will this work?

 

Acquire::http::proxy "http://DOMAIN\username:[email protected]:80/";

 

Thanks for the help. :)

Edited by Rawns
Posted (edited)

Correct, but that's just for your package manager (apt). It means your system can install and update itself through the proxy.

By the way, my 'Proxy' in the config line has a capital P, I don't know if that makes a difference.

 

 

In Ubuntu, click the Dash home bitton in the top-left and type proxy. Click the Network icon and set up your proxy settings here, either setting the proxy as above or entering a PAC file URL. Click the 'apply system wide' button. This will percolate through to other apps and Firefox.

Edited by jinnantonnixx
  • Thanks 1
Posted (edited)

I had to use CNTLM to get through our NTLM based proxy with our LEA on a linux box before, sometimes PAC files and the addnig of that line to the various config files just wont work.

 

Google CNTLM and it will set you on that path easy enough if you have problems with the Acquire path, though it does depend on how you connect to the web with your proxy/LEA.

Edited by rich_tech
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...