ftp can't connect, works with cygwin, (Full Version)

All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started



Message


cmiluser -> ftp can't connect, works with cygwin, (Oct. 12, '06, 4:33:11 PM)

I see some other posts about this, and saw the solution. I did not see the reason why, or did I miss it?

Problem: After installing "pkg-current-bin35.sh", ftp no longer resolve ip addresses correctly. I can run "ftp ftp.interopsystems.com" just fine from cygwin, but it doesn't work on the interix shell (after executing the install script).

% ftp ftp.interopsystems.com
ftp: ftp.interopsystems.com: temporary failure


However, ping works just fine.

% ping ftp.interopsystems.com
PING ftp.interopsystems.com (64.235.106.194): 56 data bytes
64 bytes from 64.235.106.194: icmp_seq=0 ttl=238 time=78.125 ms
...


Solution: Add the following line to /etc/hosts

64.235.106.194  ftp.interopsystems.com


Now the ftp works, and I can do a pkg_update.

Question Why does ping know how to resolve "ftp.interopsystems.com", but the newly installed ftp that was installed with the installer script not work?




Rodney -> RE: ftp can't connect, works with cygwin, (Oct. 12, '06, 5:47:43 PM)

It will depend on two things: what's in /etc/resolv.conf and what's in the registry.

Let's start with /etc/resolv.conf first.
What does it have for the "nameserver" IP address.




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.063