Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-20-2005, 01:36 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Rep:
|
FTP Setup Help Needed.
I am new to setting up a server using Linux. I have installed Redhat Linux 7.3. Users are able to telnet to the box, but whenever anyone tries to FTP to the box, they get "connection refused." Can you help me with this?
|
|
|
09-20-2005, 02:21 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
This sounds like you either have not installed or not started any FTP server. Also, why are you using RH 7.3? There are much newer distributions.
|
|
|
09-20-2005, 02:30 PM
|
#3
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
Thanks,
No I have not installed or started an FTP service. Does one come with linux or do I need to obtain one else where? If it comes with linux, how do I install or start it. If is doesn't then I quess my next step is to find one. 7.3 was the version I had on hand do the letter version support ftp?
|
|
|
09-20-2005, 04:09 PM
|
#4
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
All versions support ftp. The ftp server considered "most" secure is generally vsftp. You should find an rpm available for that for your system. With newer distros, you'd be able to use apt or synaptic.
Also, I strongly reccomend replacing telnet with SSH. SSH is encrypted and prevents people from sniffing traffic, including passwords.
|
|
|
09-21-2005, 03:19 AM
|
#5
|
Member
Registered: Sep 2005
Posts: 145
Rep:
|
I think there is no open port for ftp so the client can't connect using the ftp protocol.
|
|
|
09-21-2005, 05:02 AM
|
#6
|
Red Hat India
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260
Rep:
|
Hi pdsst2,
I think you dont have an ftp server setup in your machine. You can use the vsftp package to set up ftp in your linux box. install the package vsftp-varsion.rpm and configure it in /etc/vsftpd/vsftpd.conf. the default settings may be ok. the default database location is /var/ftp/ where you can store your ftp data. http://www.daters.net/howto/vsftpd.txt contains a nice documentation. if problems persists feel free to contact ...
vimal....
|
|
|
09-21-2005, 06:54 AM
|
#7
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
Thanks everyone for your help. This has pointed me in a lot of good directions.I hope some day I can return the favor. Where would I check to see if the ports have been turned up or not?
Regards,
Paul
|
|
|
09-21-2005, 07:36 AM
|
#8
|
Member
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203
Rep:
|
Hello pdsst2,
You can check a list of open ports, on which your system is listening with following command. Run this command as ROOT user (super user). you can change "localhost" with your host name.
nmap -sT -O localhost
Thanks,
Kirtimaan
|
|
|
09-21-2005, 07:40 AM
|
#9
|
Member
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203
Rep:
|
Hello pdsst2,
Sorry, I forgot to add this URL in my last post. Here it is.
http://www.redhat.com/docs/manuals/l...ver-ports.html
on this page you can find more info.
Thanks,
Kirtimaan
|
|
|
09-21-2005, 09:31 AM
|
#10
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
Hello
Kirtimaan,
Thanks, I ran the nmap -sT -O localhost and I don't see FTP as a service running. Is this something I can turn on, or do I need to load an FTP pacage.
Thanks,
Paul
|
|
|
09-21-2005, 11:35 PM
|
#11
|
Member
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203
Rep:
|
Quote:
Hello Kirtimaan, Thanks, I ran the nmap -sT -O localhost and I don't see FTP as a service running. Is this something I can turn on, or do I need to load an FTP pacage. Thanks, Paul
|
Hello pdsst2,
Can you please confirm that "vsftpd" package is installed or not. You can check it by running following command in console as root:
rpm -q vsftpd
if you have vsftpd installed, this command will return Version of package or else it will return that "Package vsftpd is not installed."
CASE 1 :
If you got "not installed" message, you will need to install that first. you can install this with Redhat Package manager or RPM command.
[i]rpm -i path_to_rpm
I would like you to use Pacakge Manager. For more details of Package Management, follow this URL : http://redhat.activeventure.com/73/c...de/ch-rpm.html
CASE 2:
If you got message like "vsftpd 1.0.xx xxxxxxx.ix86" then vsftpd installed, and most likely it is not configured to start at boot time and currently stopped.
you can start this service (while logged on as root) by following command :
service vsftpd start
Additionaly you would like to see this url :
http://www.ms.washington.edu/Docs/Li...tpd-start.html
This page have useful information about vsftpd service.
Thanks,
Kirtimaan.
|
|
|
09-22-2005, 08:18 AM
|
#12
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
Hello
Kirtimaan,
Thanks for you help, vsftpd is not installed, and I am reading your links on how to install it.
Thanks to everyone for their responses. This is a great site.
Regards,
Paul
|
|
|
All times are GMT -5. The time now is 01:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|