All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
ftp can't connect, works with cygwin,
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
ftp can't connect, works with cygwin, - Oct. 12, '06, 4:33:11 PM
|
|
|
cmiluser
Posts: 1
Joined: Oct. 7, '06,
Status: offline
|
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?
|
|
|
RE: ftp can't connect, works with cygwin, - Oct. 12, '06, 5:47:43 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
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.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|