Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a Linux Ubuntu user and I have some problem setting the proxy on my entire system.

I go into the network settings of my Gnome and then I go to the Network Proxy settings mask and then I put my proxy for the HTTP Proxy* as Manual, then I click on the Applies to the entire system button, it ask me my password and it is finish

The problem is that if I open a shell, the network don't work and I can't ping anyting, infact I obtain only:

andrea@andrea-Studio-1555:~$ ping
PING ( 56(84) bytes of data.

and the cursor still blink and don't go on...

Why? What can I do to go out with my proxy in the shell?

share|improve this question

Ping is ICMP - which is on the "Network Layer". Your proxy is probably supporting only HTTP/HTTPS/FTP etc - which are on "Application Layer". To be able to ping (or send ICMP packets and receive responses) you need to enable ICMP on your firewall.

Please see OSI model:

In other words proxy which you have set up is not designed to proxy ICMP packets as it's "too high".

Also, you say that network doesn't work. Well, it does:

PING ( 56(84) bytes of data.

As if you don't have in your /etc/hosts then you have got reply form your DNS server so network works.

share|improve this answer

try wget google it will work, because of http request, ping is ICMP, an other layer in OSI model.


if you want to redirect a network for an app like Apt try to add the following line to the /etc/*.conf file

Acquire::http::Proxy "http://login:password@ServeurProxy:Port";

NTLM Possibility

If it didn't work, you are maybe in some windows network with NTLM auth, install with apt NTLMAPS or CNTLM (or download on their website the .deb). In github search NTLM for other langage stuff. After you have to apply that Tuts to make it works properly.

Search around "ntlm ubuntu apt.conf" in google it is a common problem, you can find other infos. Enjoy :)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .