PDA

View Full Version : [ubuntu] How can i apply proxy username and password for Software centre..?



aruntu
August 2nd, 2011, 09:29 AM
I have connected Firefox with my Wifi at my college but i am unable to connect the Ubuntu software center to the Internet because i don't know how to apply the proxy user-name and password to it.. I have checked out the network proxy thing but it does not help..

Using Ubuntu 11.04

srisharan
August 2nd, 2011, 09:40 AM
To enable internet through proxy in Ubuntu change proxy settings in network proxy(search in dash in 11.04 ).Then click on the details button to input username and password.You can also enable the apt to use proxy.Open apt.conf file

gksudo gedit /etc/apt/apt.conf

and the type your proxy settings in the following way



Acquire::http::proxy "http://user:pass@proxy:port/";
Acquire::ftp::proxy "ftp://user:pass@proxy:port/";
Acquire::https::proxy "https://user:pass@proxy:port/";

aruntu
August 2nd, 2011, 10:00 AM
To enable internet through proxy in Ubuntu change proxy settings in network proxy(search in dash in 11.04 ).Then click on the details button to input username and password.You can also enable the apt to use proxy.Open apt.conf file

gksudo gedit /etc/apt/apt.confand the type your proxy settings in the following way



Acquire::http::proxy "http://user:pass@proxy:port/";
Acquire::ftp::proxy "ftp://user:pass@proxy:port/";
Acquire::https::proxy "https://user:pass@proxy:port/";

I Already have this proxy code but should i replace or append the above code..

Acquire::http::proxy "http://172.16.16.2:3128/";
Acquire::ftp::proxy "ftp://172.16.16.2:3128/";
Acquire::https::proxy "https://172.16.16.2:3128/";

srisharan
August 2nd, 2011, 04:53 PM
I Already have this proxy code but should i replace or append the above code..

Acquire::http::proxy "http://172.16.16.2:3128/";
Acquire::ftp::proxy "ftp://172.16.16.2:3128/";
Acquire::https::proxy "https://172.16.16.2:3128/";

Ok then change the code to this.


Acquire::http::proxy "http://user:pass@172.16.16.2:3128/";


where user is your actual username and pass is you actual password

KHALED-LELA
November 8th, 2011, 02:06 PM
if i have password ended with @ ???????????