Link to home
Start Free TrialLog in
Avatar of cwilliso
cwilliso

asked on

FTP dosen't work at all !!!!

I just re-installed Red Hat 6.0, with LAN networking
and I cannot ftp to it.  I can ping from my Win98 PC, and
I can ping the Win98 PC from linux.  I can telnet from the Win98
PC though.  I notice the linux box trying to spawn the ftp daemon,
as my "ps -aef | grep ftp" command returns "in.ftpd -l -a".
I don't even get to a username
prompt, it just Says "Connection
closed by remote host" a few seconds
after typing "ftp linux1"

Help!!!!!!!!!!!!!
Avatar of n0thing
n0thing
Flag of United States of America image

Could you add your Windows hostname/IP address
in the /etc/hosts and try again ??
Also check if your /etc/hosts.allow /etc/hosts.deny if the IP adresses are present and if you've activated your wrapper.
Check in the /var/log/messages for any errors.
Avatar of cwilliso
cwilliso

ASKER

what is a wrapper?
More clues:

1.) ftp from the linux box to its-self
yields the message: "421 - Service not
available", yet ftp is in /etc/inetd.conf and /etc/services (unchanged from initial install)

2.) ipchains was installed but _not_ configured yet.  (this shouldn't affect LAN operations right?) Telnet works fine!!!

3.) The Network card is a DEC Tulip.  This shouldn't even matter if ping is working correctly, but I mentioned it because I'm out of ideas!

4.) I did not install Anonymous-Ftp.  Would this help me out at all?

5.) Ping and telnet both work perfectly.

6.) I really need to transfer files to this unix machine.  Is there any other way to do it.  (Samba didn't work either.)
If you didn't install anonymous ftp. Then you don't
have a ftp deamon. You'll need to install it.
Simply check in /usr/sbin to see if in.ftpd is there,
if it's not then you don't have any ftp deamon at
all. You could either download the source or the package or install it from your CD.  Should work fine after.
have you tried to reinstall your ftp software

for instance if you installed wu-ftp

#rpm --force -ivh wu-ftpd-2.5.0-9.i386.rpm
then
kill -1 1 (<-- this has your box reread your inetd.conf file)

if you are wanting to realy share files NFS is what you realy want ..
http://www.linuxdoc.org/HOWTO/NFS-HOWTO.html

but you should get your ftp to work... this way you can share files with just about an OS..

if you want some help with the NFS just make another trouble ticket and I will be glad to give what help I can..
anon ftp worked -- thanks.
ASKER CERTIFIED SOLUTION
Avatar of dobriain
dobriain

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial