LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FTP through LAN ? (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-through-lan-89468/)

edhan 09-05-2003 01:17 AM

FTP through LAN ?
 
Hi

Is anyone familiar with FTP? I need to ftp some files from another PC to the current PC using RH8.0. Have tried using Cuteftp but unable to login RH.

Do I need to enable something? I have tried setting the FTP in the webmin to accept all address connections. I have also enable the logon name and password. But it still fails!

Any idea?

Regards
Edward Han

joseph 09-05-2003 02:05 AM

you need to install FTP server in RH8, it usually come together with your RH cd.
put your cd RH into ur cdrom and install wu-ftpd then u need restart ur xinetd.

I suggestion for you, why you don't use ssh client and connect to your RH machine, u can use putty and connect to your RH, it is more secure then FTP

sclebo05 09-05-2003 08:33 AM

i think ftp is the way to go, it will be easier to configure and you are on a lan, and security shouldnt be a prob. don't forget after you install your ftp server to turn the service on under your services menu, and also enable incoming ftp through your firewall. post if you need any help, i run RH9 and it is dangerously similar to 9 :)

edhan 09-05-2003 07:03 PM

Hi

Which FTP Server software are you installing for your RH9 ?

Any recommendation for RH8 ?

Thanks!

Regards
Edward Han

twantrd 09-05-2003 08:03 PM

I have not used RH 9.0 but I heard it comes with vsftpd. As for Redhat 7.3 and 8.0 it comes with wu-ftpd. However, if you trust everyone on your LAN then go ahead and setup a FTP server but if you DO NOT trust your LAN then I would go with something more secure like scp.

All you would need to set this up is to allow ssh logins to your machine and install winscp on your windows machine. Winscp is freeware. By doing this, whenever you scp something from your WIN box to your Linux box, all the data packets are encrypted. This is my setup at home.

-twantrd

edhan 09-05-2003 09:10 PM

hi

Sorry for my ignorance, after setting up FTP Server, we will be able to ftp from Internet other than LAN?

BTW, after installing RH8.0 and using Webmin to check on wu-ftpd, it does not seem to exist.

Thanks!

Regards
Edward Han

twantrd 09-05-2003 11:55 PM

1. After setting up your FTP server, yes you will be able to ftp from the internet other than just LAN. However, it depends on the network setup that you have at home. If you have a router, then you will need to add the IP address of that linux machine to your portforwarding rules in your router (default for FTP is port 21). Also depending if you are running iptables/ipchains or another firewall software on your linux machine you will have to open port 21 as well.

2. Have you checked if you have a wu-ftpd file in this path /etc/xinetd.d? You can also check it by typing this:

"rpm -qa wu-ftpd" (w/o the quotes)

If it spits out nothing then you are correct, you don't have wu-ftpd installed. You can install it from the cd's. I forgot the exact path but it's in the RPM folder. After you find the RPM folder, find the rpm that is wu-ftpd. Once you found it, type this:

"rpm -ivh <wu-ftpd-blahblah.rpm>" (w/o quotes)

Hope this helps...post more if you need help.

-twantrd

edhan 09-06-2003 08:08 AM

Hi

Thank you very much for your help. I will try it and let you know if it is successful.

Regards
Edward Han

edhan 09-06-2003 09:39 AM

Hi

Finally, your instructions are great! It's working fine now.

Thanks a million!

Hope you can answer my MySQL question that I am posting as a new thread.

Thanks again!

Regards
Edward Han


All times are GMT -5. The time now is 12:38 PM.