System wide Proxy settings when on a windows network with a password

Posted by sav on Ask Ubuntu See other posts from Ask Ubuntu or by sav
Published on 2014-06-12T06:48:26Z Indexed on 2014/06/12 9:41 UTC
Read the original article Hit count: 265

I'm using Ubuntu on a windows network. I want to connect to the world wide web. I have followed the steps here which I have found very useful. However when I try to ping a website (eg: ping www.wikipedia.org) I get no reply. I can ping local computers on my network, but I need to go through our proxy to get to the world wide web.

I can even browse wikipedia using firefox, I just needed to enter the proxy configuration script location and my username and password.

I'm quite sure the reason I'm having this trouble is because I havn't entered a username and password. I'm not sure how to do this on a system wide level.

ultimately I would like to be able to use package managers like synaptic but first I need them to be able to connect to the internet.

EDIT

As sugested I created a /etc/apt/apt.conf file like

Acquire::http::Proxy "http://chrisav:[email protected]:8080";
Acquire::https::Proxy "https://chrisav:[email protected]:8080";
Acquire::ftp::Proxy "ftp://chrisav:[email protected]:8080";
Acquire::socks::Proxy "socks://chrisav:[email protected]:8080";

However I still cant ping wikipedia

when I try installing stuff I get

chris@chris-Ubuntu:~$ sudo apt-get install kate
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package kate

© Ask Ubuntu or respective owner

Related posts about networking

Related posts about Windows