Problem resolving host - Fedora behind proxy server
i have internet connection on my laptop through a proxy server,
i set system wide proxy settings and got my web browsers working fine but there is a problem with getting internet connection on my terminal. There is no problem updating some software like netbeans. Code:
[idlecool@hackbox ~]$ ping google.com |
proxy is just that - an application layer tool to handle a given type of
requests. It handles http/https. ping is not tcp, it's low-level ip, and the proxy knows nothing about it. To be able to ping you need a default router/gateway set-up, and its firewall needs to permit your ICMP traffic. Cheers, Tink |
Do the following:
Code:
#nslookup www.google.com As per Tink, your proxy will only apply to specific protocols like HTTP, HTTPS, FTP etc. Thanks, Yas |
my main concern is yum is not working...
This is the output. Code:
[idlecool@hackbox ~]$ sudo nslookup www.google.com |
Well you wouldn't need to control either the proxy/router - you'd only need access to your proxy server (that is a username/password - which I assume you've configured?)
Post the output of: Code:
# cat /etc/resolv.conf Cheers Yas |
this is the output
Code:
[idlecool@hackbox ~]$ cat /etc/resolv.conf |
type export on the terminal and check the output for the values of http_proxy and ftp_proxy
you might have to set the environmental variables http_proxy and ftp_proxy with respect to your connections |
My advice at this stage is to contact your network administrator.
From what I can see there is no configuration issue - but your box for some reason cannot resolve host names. The proxy would not return this kind of error - but rather something like "Unable to connect" or "Connection Refused". Maybe your DNS is down/not working - and you need to change to a different DNS - which your admin could help you with. |
All times are GMT -5. The time now is 03:04 AM. |