LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-20-2005, 01:36 PM   #1
pdsst2
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Question 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?
 
Old 09-20-2005, 02:21 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 09-20-2005, 02:30 PM   #3
pdsst2
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
Old 09-20-2005, 04:09 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 09-21-2005, 03:19 AM   #5
cigarstub
Member
 
Registered: Sep 2005
Posts: 145

Rep: Reputation: 15
I think there is no open port for ftp so the client can't connect using the ftp protocol.
 
Old 09-21-2005, 05:02 AM   #6
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 36
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....
 
Old 09-21-2005, 06:54 AM   #7
pdsst2
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 09-21-2005, 07:36 AM   #8
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
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
 
Old 09-21-2005, 07:40 AM   #9
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
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
 
Old 09-21-2005, 09:31 AM   #10
pdsst2
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 09-21-2005, 11:35 PM   #11
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
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.
 
Old 09-22-2005, 08:18 AM   #12
pdsst2
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed to setup(mount?) cdrom benwen Linux - Newbie 8 02-03-2005 11:13 AM
ftp localhost -help needed dolvmin Linux - Networking 3 02-11-2004 12:18 PM
Setup help needed 2 RecoilUK Linux - Networking 12 09-05-2001 11:08 AM
Setup help needed RecoilUK Linux - Networking 7 09-01-2001 03:45 PM
ftp help needed sulin Linux - Newbie 2 06-26-2001 09:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration