Internet not working in terminal
I am connected to network using a static IP, and a gateway.. I can access internet through Firefox by setting the proxy address, username and password in Advanced panel of the Firefox Options. But I cant access internet through any application in terminal. Neither does ping work, nor yum..! I have searched over internet, and got some results related to "resolv.conf" file, and "yum.conf" file but to no avail.. I am getting the following error in yum
Code:
[root]# yum update Thanks |
|
Quote:
As far as routing your HTTP traffic through a http proxy, I believe you are looking for something like this: http://yonitg.com/proxy-settings-for-the-command-line/ There are SOCKS proxies (e.g., TOR systems) that can handle all protocols, but I'm not sure what is available on your network. There are also some ways to tunnel through firewalls, if you are in a very restrictive situation... |
ryn the following command and paste in the output
ping mirrorlist.centos.org |
Depending on the distro you might get some proxies to work globally or near globally with some system wide proxy setting. If you have a proxy.pac then forget about most command line apps unless you discover the proxy.pac rules.
If it doesn't work with global then you can sometimes edit various config files to mark the correct way to connect. We'd have to know your distro and maybe more about this topology. The admin might have blocked ports or even a application firewall is in the path. |
It started working.. Thanks
Quote:
|
All times are GMT -5. The time now is 09:07 AM. |