Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot ftp

Status
Not open for further replies.

vintl

Technical User
Jun 9, 2000
72
MY
hi,
i got this problem ftp-ing from windows machine to linux which is conencted by utp cat5 cable.
windows machine ip is 192.168.0.1 and linux is 192.168.0.2
ifconfig shows eth0 as 192.168.0.2 and i can ping from linux machine to 192.168.0.1 and can also ping from windows machine to 192.168.0.2
but the problem is i can't ftp into 192.168.0.2 from my windows machine. is there any misconfigurations? in the windows network configuration or in the linux machine?
 
Hi,

Difficult to answer without your linux distro details - assuming redhat...

1) check you have ftp-server installed

rpm -q wu-ftpd

If not, install that first using

rpm -Uvh wu-ftpd-xxxxxxxxx.rpm (full name)


2) enable under xinetd :

as root '/sbin/chkconfig wu-ftpd on'

3) Allow ftp (ports 20/21) thru the firewall if one is active. For redhat 7.0 do 'lokkit' as root from a console window.

If you're using something different to redhat post your linux distro & version for a better answer...

Regards
 
i'm using redhat linux 7.1, the ftp client in windows is ws_ftp.
 
Hi,



In that case it should work out of the box as per the steps given above. The only likely problems are the firewalling. WS_FTP defaults to passive mode ftp which uses a non-privileged port on the client side and port 21 on the server. So, if you use passive ftp you have to allow inbound port 21 and outbound unprivileged ports (or associated traffic) via the redhat firewall.

This firewall is on by default in redhat 7.x so you have to configure it to let ftp through by (as root) entering the 'lokkit' command at a console window and following the screens.



If it doesn't work let us know...



Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top