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 google.com
PING google.com (173.194.35.7) 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?
Set http_proxy shell variable
Type the following command to set proxy server:
How do I setup proxy variable for all users?
To setup the proxy environment variable as a global variable, open /etc/profile file:
Add the following information:
Save and close the file.
How do I use password protected proxy server?
You can simply use wget as follows:
Lynx has following syntax:
Curl has following syntax:
try this information it may help you.
Try reading up about using a proxy in combination with Ubuntu here.
That you cannot ping is to be expected. A proxy server is for relaying (and caching) HTTP, HTTPS, FTP protocols. Each has to be configured separately. When you ping, it is utilizing the ICMP protocol. Most proxy servers don't allow this. Also, most proxy servers do the DNS resolving for you (translating the www.google.com to an IP address); the reason why you don't get anything else but that first line is because you cannot resolve the domain.
Follow the guide I gave in the beginning and try again.