proxy authentication in ubuntu 11.10

Asked by arun jose

in ubuntu 11.10 how to authenticate proxy internet server..?
here we hav username and password to authenticate it.but it is only asked in browser...not in terminal or proxy settings..?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#1

first open a terminal and type:

export http_proxy=http://username:password@proxyhost:port/
export ftp_proxy=$http_proxy

if it works please add the rows to the bash .bashrc file in your home directory

gksudo gedit $HOME/.bashrc

you need to setup a proxy row into /etc/apt/apt.conf file...

Here details https://help.ubuntu.com/community/AptGet/Howto#Setting_up_apt-get_to_use_a_http-proxy

in short:

gksudo gedit /etc/apt/apt.conf

Add this row:

Acquire::http::Proxy "http://username:password@yourproxyaddress:proxyport";

in all previous commands plese substitute your details for yourproxyaddress and proxyport username and password

Revision history for this message
arun jose (arunjose36) said :
#2

thank's a lot..... this solves the problem....

Revision history for this message
arun jose (arunjose36) said :
#3

Thanks marcobra (Marco Braida), that solved my question.