Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to connect to the internet via a Proxy server, but when I do add the lines Acquire::protocol::proxy "protocol://user:pass@hostname:port/"; etc.

It doesn't make any difference. Since I use the Ubuntu 13.10 Server edition, I only have access to a terminal. Can anyone help me??

share|improve this question
    
Where do you add those lines? –  Braiam Oct 31 '13 at 14:51
    
from root dir: /etc/apt/apt.conf –  Black Magic Oct 31 '13 at 14:54
add comment

1 Answer 1

First of all I am not sure if you are putting , in the line in apt.conf, It should be

Acquire::protocol::proxy "protocol://user:pass@hostname:port/";

You could try adding these into your ~/.bashrc

export protocol_proxy='protocol://user:pass@hostname:port/'

for different protocols. and then source ~/.bashrc

share|improve this answer
    
That sadly didn't work, is it worth mentioning I am running the server on a VMware server –  Black Magic Nov 1 '13 at 8:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.