You probably didn't install ftpd . It needs to be able to run (typically)
through inetd . If you had done an ftp install, the install script would
(probably) have set things up properly, including creating the missing
directory.
BTW, all the parenthetical qualifications are because you don't say what
distribution or version of Linux you installed, so I can't be sure what your
specific install scripts would have done.
Anyway, here's what to check by hand:
1. Go into /etc/inetd.conf and make sure the line for ftpd is uncommented.
2. In /etc/passwd, make sure there is an entry for user ftp.
3. In /etc/hosts.deny, make sure there is no entry for ftp. If there is an
entry that says (approximately - I don't have the exact wording at hand)
ALL:ALL, comment it out.
After you do all of this, restart inetd (as root, kill it, then run it) and
see if you can ftp in. Item 2, BTW (as well as all the remedies you
attempted) is needed only for *anonymous* ftp. Without this stuff (but with
items 1 & 3), you should still be able to ftp as a real (non-root) user.
Since your attempts are failing before you get a login prompt, they are more
general than anonymous ftp.
Also, once you get it running, you will probably want to restore some
protection in hosts.deny . Read "man 5 hosts_access" for how to set this up.
At 09:19 PM 7/30/99 -0700, Ken Wilson wrote [in part]:
>With FTP, I couldn't get a connection at first. I noticed from
>linuxconf that it was trying to connect to /home/ftp so I made a
>directory called /home/ftp and thought I would be fine. Not enough. I
>used chgrp and made the ftp directory owned by the ftp group and set
>ftp to the owner. Still not enough.
>
>Now my message is 'connected to ..Linux box..' then a few seconds
>later it says "connection refused by remote host". Do any of you have
>any ideas?
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA 94303-3603 [EMAIL PROTECTED]
----------------------------------------------------------------