FTP Newbie can ping, telnet but not FTP

FTP Newbie can ping, telnet but not FTP

Post by David Heithol » Tue, 08 Feb 2000 04:00:00



I have a 2 machine network that seems to have all functionality except for
ftp.

My Little home Network:  Linux (Redhat 6.1) on Intel machine intended to be
the server (but I chose the workstation Linux installation).  eth0 is
working fine.
W98 Machine with 3com309d card.  These 2 machines are connected by BNC (thin
coax cable) with appropriate T terminators on each end.

Linux box can ping W98 box.
W98 box can ping Linux box.
W98 box can telnet to Linux box.  No problems with telneting.

But ftp is unsuccessful.  When I try to ftp on the W98 box, Here is what I
get in the MSDOS window:

ftp> open 204.191.151.1 (this is the Linux box IP address)
Connected to 204.191.151.1
Connection closed by remote host

When I try to get the Linux box to ftp to itself I get this message:

421 Service not available.  Remote server has closed connection

At the suggestion of a friend and without understanding, I have looked at
/etc/inet.conf and changed this line:
Original line:
ftp      stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -l -a
New line:
ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd

This had made no difference to the behavior of ftp.

It seems that I need to configure the Linux box to allow ftp access to
remote machines.  Thus far it is not clear to me from RedHat documentation
or all that I have found on the net what I need to do.

Any help is much appreciated.  Thanks very much in advance.

David Heitholt

 
 
 

FTP Newbie can ping, telnet but not FTP

Post by Quiney, Philip [HAL02:HH00:EXCH » Tue, 08 Feb 2000 04:00:00



> When I try to get the Linux box to ftp to itself I get this message:

> 421 Service not available.  Remote server has closed connection

It would seem possible with RedHat 6.1 to install a system without the
ftp server package (choosing 'workstation' may have been the problem as
it is not supposed to be a 'server'). I suggest you check it is
installed with the following command...


My box returns...

anonftp-2.8-1
ftp-0.15-1
gftp-2.0.4-1
ncftp-3.0beta19-2
tftp-0.15-1
wu-ftpd-2.5.0-9

It is wu-ftpd that you need.

Mount the RedHat CD (The one you used for installing) and go to the RPMS
directory (something like /mnt/cdrom/redhat/RPMS)

Install it with the folowing...


or press the TAB key to expand the file name instead of the '*')

Quote:> At the suggestion of a friend and without understanding, I have looked at
> /etc/inet.conf and changed this line:
> Original line:
> ftp      stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -l -a

I would put this back to what it was...

Regards

Phil Q

--

Phil Quiney                             CSIP Demonstrator

Telephone: +44 (1279) 402363            London Rd, Harlow,
Fax:       +44 (1279) 402885            Essex CM17 9NA,
                                        United Kingdom.

"This message may contain information proprietary to Northern
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."

 
 
 

FTP Newbie can ping, telnet but not FTP

Post by David Heithol » Wed, 09 Feb 2000 04:00:00


Philip Quiney, Tom Eastep - Thanks very much for the very quick help.  This
completely did the trick. It seems that in choosing the RedHat workstation
install I missed installing the ftp server.  I can ftp at will now.  Now to
switch the Gnome to KDE and begin setting up installation of Oracle8i.

Thanks !    - - David




> > When I try to get the Linux box to ftp to itself I get this message:

> > 421 Service not available.  Remote server has closed connection

> It would seem possible with RedHat 6.1 to install a system without the
> ftp server package (choosing 'workstation' may have been the problem as
> it is not supposed to be a 'server'). I suggest you check it is
> installed with the following command...


> My box returns...

> anonftp-2.8-1
> ftp-0.15-1
> gftp-2.0.4-1
> ncftp-3.0beta19-2
> tftp-0.15-1
> wu-ftpd-2.5.0-9

> It is wu-ftpd that you need.

> Mount the RedHat CD (The one you used for installing) and go to the RPMS
> directory (something like /mnt/cdrom/redhat/RPMS)

> Install it with the folowing...


> or press the TAB key to expand the file name instead of the '*')

> > At the suggestion of a friend and without understanding, I have looked
at
> > /etc/inet.conf and changed this line:
> > Original line:
> > ftp      stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -l -a
> I would put this back to what it was...

> Regards

> Phil Q

> --

> Phil Quiney                             CSIP Demonstrator

> Telephone: +44 (1279) 402363            London Rd, Harlow,
> Fax:       +44 (1279) 402885            Essex CM17 9NA,
>                                         United Kingdom.

> "This message may contain information proprietary to Northern
> Telecom so any unauthorised disclosure, copying or distribution
> of its contents is strictly prohibited."

 
 
 

FTP Newbie can ping, telnet but not FTP

Post by michael andrese » Wed, 09 Feb 2000 04:00:00



> I have a 2 machine network that seems to have all functionality except for
> ftp.

> My Little home Network:  Linux (Redhat 6.1) on Intel machine intended to be
> the server (but I chose the workstation Linux installation).  eth0 is
> working fine.
> W98 Machine with 3com309d card.  These 2 machines are connected by BNC (thin
> coax cable) with appropriate T terminators on each end.

> Linux box can ping W98 box.
> W98 box can ping Linux box.
> W98 box can telnet to Linux box.  No problems with telneting.

> But ftp is unsuccessful.  When I try to ftp on the W98 box, Here is what I
> get in the MSDOS window:

> ftp> open 204.191.151.1 (this is the Linux box IP address)
> Connected to 204.191.151.1
> Connection closed by remote host

> When I try to get the Linux box to ftp to itself I get this message:

> 421 Service not available.  Remote server has closed connection

> At the suggestion of a friend and without understanding, I have looked at
> /etc/inet.conf and changed this line:
> Original line:
> ftp      stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -l -a
> New line:
> ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd

> This had made no difference to the behavior of ftp.

You may have another ftp installed, e.g. wu.ftpd
try a whereis in.ftpd or a whereis wu.ftpd as root ...
or just look in /usr/sbin and /sbin for wu.ftpd or in.ftpd
Quote:

> It seems that I need to configure the Linux box to allow ftp access to
> remote machines.  Thus far it is not clear to me from RedHat documentation
> or all that I have found on the net what I need to do.

You gave the access free by uncommenting the line in inetd.conf. If my
guess is correct, there should be a line in either /var/log/messages or
/var/log/warn as "could not execute in.ftpd"
HTH

M
--
signature free area.

 
 
 

1. ftp newbie can pnig, telnet but not ftp

I have a 2 machine network that seems to have all functionality except for
ftp.

My Little home Network:  Linux (Redhat 6.1) on Intel machine intended to be
the server (but I chose the workstation Linux installation).  eth0 is
working fine.
W98 Machine with 3com309d card.  These 2 machines are connected by BNC (thin
coax cable) with appropriate T terminators on each end.

Linux box can ping W98 box.
W98 box can ping Linux box.
W98 box can telnet to Linux box.  No problems with telneting.

But ftp is unsuccessful.  When I try to ftp on the W98 box, Here is what I
get in the MSDOS window:

ftp> open 204.191.151.1 (this is the Linux box IP address)
Connected to 204.191.151.1
Connection closed by remote host

When I try to get the Linux box to ftp to itself I get this message:

421 Service not available.  Remote server has closed connection

At the suggestion of a friend and without understanding, I have looked at
/etc/inet.conf and changed this line:
Original line:
ftp      stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -l -a
New line:
ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd

This had made no difference to the behavior of ftp.

It seems that I need to configure the Linux box to allow ftp access to
remote machines, but it is not clear tome from REdHat documentation and all
that I have found thus far on the net what I need to do to do this
configuring.

Any help is much appreciated.  Thanks very much in advance.

David Heitholt

2. ansi term

3. ftp/telnet open processes lagging ftp/telnet startup

4. drivers/video/matrox/matroxfb_base.h:52:25: video/fbcon.h: No such file or directory

5. Http Proxy with prefetch of active page?

6. newbie: ping ok --no telnet ftp

7. How can I force grep to put out a filename?

8. ping 2nd NIC works, but not ftp or telnet

9. slip:ping/pong works but not ftp/telnet (tcp)

10. SLIP P-t-P: ping works but not ftp and telnet

11. ping ok, not telnet ftp http

12. Can not ping/telnet/ftp from our box to any other box on our network