LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Resolving <www.some remote host>.... failed: Host not found. (https://www.linuxquestions.org/questions/linux-newbie-8/resolving-www-some-remote-host-failed-host-not-found-337247/)

koodoo 06-26-2005 03:50 AM

Resolving <www.some remote host>.... failed: Host not found.
 
Hi,

I was trying to get WineX through CVS and while runnning the WineCVS.sh script got the following error :
Code:


koodoo@knapsacker:~$ sh WineCVS.sh

Fetching default scripts:


--14:23:16--  http://winecvs.linux-gamers.net/WineCVS/defaults.tar.gz
          => `defaults.tar.gz'
Resolving winecvs.linux-gamers.net... failed: Host not found.
Fetching failed!

koodoo@knapsacker:~$

Also if I say :

wget <some HTML page> I get the same error :
Resolving www.<that remote host>... failed: Host not found.

I am connected to the Internet via a proxy server.

Now this is because the script is not able to resolve the name of the host. So for that to work I may have to set some environmental variable specifying the address of the proxy server. I did some research and found that I have to edit the wgetrc file for the proxy settings.

But I am not sure. Never done this before. Please help me in this.

hfawzy 06-26-2005 04:04 AM

When I was behind a proxy server, before running wget, I was setting the enviroment variable http_proxy (and ftp_proxy), like that:
Code:

export http_proxy=http://server:port
This should work.

koodoo 06-27-2005 08:48 AM

Quote:

Originally posted by hfawzy
When I was behind a proxy server, before running wget, I was setting the enviroment variable http_proxy (and ftp_proxy), like that:
Code:

export http_proxy=http://server:port
This should work.

Hi, thanks a lot for the help.
I tried what you said, wget worked but the WineCVS.sh script didn't.

Here's what I did and what I got :
Code:


koodoo@knapsacker:~$ export http_proxy=http://10.10.11.1:8080
koodoo@knapsacker:~$ export ftp_proxy=http://10.10.11.1:8080
koodoo@knapsacker:~$ sh WineCVS.sh
Fetching default scripts:


--19:26:29--  http://winecvs.linux-gamers.net/WineCVS/defaults.tar.gz
          => `defaults.tar.gz'
Resolving winecvs.linux-gamers.net... failed: Host not found.
Fetching failed!


koodoo@knapsacker:~$

Thanks in anticipation.


All times are GMT -5. The time now is 02:01 AM.