Jump to content

APT (Ubuntu Server) and EMBC


Recommended Posts

Posted (edited)

Has anyone been having issues with APT and the EMBC Proxy. I've just installed a virtual ubuntu server (natty), entered the proxy when asked to and set the ip to dhcp. yet i can't seem access any apt sources.

 

EDIT: I can't seem to ping our router either...

 

Any idea's?

 

thanks

Edited by nathan
Posted
From memory when I had this issue a while ago i found that the proxy setting didn't propogate correctly, If you are using GUI you could try going to settings -> proxy and re-running proxy settings over the system.

If your running full terminal you may try editing your .bash file as explained here -> https://help.ubuntu.com/community/AptGet/Howto#Setting_up_apt-get_to_use_a_http-proxy

 

thanks for the reply, i've tried that but it didnt work.

 

I'm not sure what's going on as i can't even ping our router. I'm also at another site and just installed another virtual instance (differnent server) and i'm getting the same thing. The virtual server gets the dhcp stuff just fine, yet i can't ping anything!! hmmmmmm.

Posted (edited)

define in apt.conf

 

Acquire::http::proxy "http://192.168.x.x:8080/";
Acquire::ftp::proxy "ftp://192.168.x.x:8080/";
Acquire::https::proxy "https://192.168.x.x:8080/";

 

edit: support for ftp,https

Edited by CyberNerd
Posted
I'm not sure what's going on as i can't even ping our router

 

only just read that bit.

 

post your /etc/resolv.conf /etc/network/interfaces and output of netstat -rn

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...