LinuxQuestions.org
Visit Jeremy's Blog.
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 03-26-2002, 07:23 PM   #1
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Rep: Reputation: 30
FTP trouble


I seem to be having trouble setting up a/any ftp client on my nix box. I dont know sh*t about setting this up I need a serious noob walk through this one! please help!
 
Old 03-26-2002, 09:41 PM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
ftp client? or server?

Most distros install some sort of ftp client by default. Have you tried typing ftp,ncftp, or gftp?

look under /slakware/n1 on your slackware cdrom. there is ncftp.tgz
 
Old 03-26-2002, 11:15 PM   #3
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
Im actually trying to uinstall both, but my main influence is ion the server. I just need to know how to set it up, (were to find it, plus install it) and how to use it( set up a way to ftp form anywere, basically and ftp server). If someone could help me with this... That would be awsome!
 
Old 03-26-2002, 11:19 PM   #4
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
I have never done one in linux but if you search for somehting called proftp and you will get many hits on that one. Also you could search for ftp server on this site and find numerous listings.
 
Old 03-26-2002, 11:25 PM   #5
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
Ok... I got the PFTPD package... and untared it. Now all i need to know is how install it. I try to run the "INSTALL" and it says something like "blahblah file not found" then I read in the README file (yes who'da thought!) that I need to some how compile the actual Install file and then run it but i dont know how to do that and the readme file is a bite hazy on teh subject. Im rippen my hair out on this one guys.... I need help... help that a retarted 3 yr old who cant read and doesnt talk could understand. ( now thats NOOB for yah!)

Last edited by bripage; 03-26-2002 at 11:35 PM.
 
Old 03-27-2002, 06:31 AM   #6
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Usually the INSTALL file would be a text file explaining how to install it. But some people like to put the installation instructions in the README file instead.
Anyways the standard way to install is to run the following commands:

./configure
make
su -
# enter root password
make install

After that you can start configuring the server. Proftpd has a file called /etc/proftpd.conf which it uses. There is very extensive documentation at www.proftpd.org explaining that.
 
Old 03-27-2002, 09:30 AM   #7
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
lol... I dont really need to do this.. I juxt remembered that Slackware automatically sets up pftp when installing the OS. So, now all I need to know is how to use it... basic commands would be nice, and any way to setup the server deamon.
 
Old 03-27-2002, 09:56 AM   #8
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
anyoen know how to do that?
 
Old 03-27-2002, 04:40 PM   #9
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
ok... I got the ftp deamon up, I think. I type ftp at the prompt and I get the ftp prompt of : ftp> There I type open local host and I get a "service not available remote server has closed connection" message. What does it mean?
 
Old 03-27-2002, 05:34 PM   #10
tge
LQ Newbie
 
Registered: Mar 2002
Location: Southampton County, VA
Distribution: RH 7.1
Posts: 13

Rep: Reputation: 0
Hello bripage,

Today I just finished setting up ftp, client and server, in RH 7.1.
I used wu-ftpd. My install was via rpm in RedHat.

I would suggest you do some reading. My resources were:
RedHat Admin Handbook - M. J. Kabir, chap 10
Linux Admin - Begin Guide - S. Shah, chap 13
man pages for ftpaccess

I know this is RedHat and you're on Slack, but if you have
some guidelines and the man pages for what Slack uses,
you can figure it out. The RH install included a starter
version of /etc/ftpaccess and I went from there.
Config Rule 1: Make one change at a time and see
what that does.

Open it up at first and then add more restrictive commands
to /etc/ftpaccess to improve security.

You may have to add a user or two and a new group if you
want a reasonably secure config. The man pages for ftpaccess
are big but you only need a handful of commands to get it
working. Lock it down later.

Be aware of file and directory permissions.

Also take a look at scp in the ssh suite.

Tom
 
Old 03-27-2002, 06:27 PM   #11
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
There's really nothing to the client side... you usually have one if not several GUI ftp clients with the system, as well as the command line version (which I believe you've already found ).

The server can be a bit tricky.

If you believe that it's already installed, check to see if you have a daemon running by typing "ps -ef | grep ftp". That will give you a list of all the ftp processes on your system. If you don't find one, don't panic... the ftp server processes are usually started by a program called inetd or xinetd. Run "ps -ef | grep inetd" to make sure yours is running. We'll assume that it is. Now you need to check your inetd/xinetd configuration to make sure it's setup to handle the ftp server. if you are running inetd, there's a file called /etc/inetd.conf which should have a line starting with "ftp" in it. If you are running xinetd, there's a file in /etc/xinetd.d which should hold the configuration. Unfortunately, this file could be named anything. Look for one with the word "ftp" in the name. When you find it, look in that file to make sure "disable = yes" isn't listed. If so, change it to "disable = no".

That should get you going. If that doesn't work, we'll help you further.
 
Old 03-27-2002, 09:28 PM   #12
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
Im not really sure.... In my inetd.conf file I see an uncommented line (no #) saying:

ftp stream tcp nowait root /usr/sbin/tcpd proftpd



what is this? Is this right... or do I need to change it?
 
Old 03-27-2002, 09:46 PM   #13
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
No that is correct.

I just installed it on my laptop, just to see how it runs.
install from cd:
/slakware/n1/proftpd.tgz

installpkg proftpd.tgz

make sure the line you wrote is uncommented in /etc/inetd.conf.

reboot

try to connect as a normal user, not as root
 
Old 03-27-2002, 11:47 PM   #14
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
i still cant tell if I have teh actual deamon running ... and if it is, i dont know how to cinfig it so that I can have people connect to it.
 
Old 03-28-2002, 12:58 AM   #15
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
Try "ftp localhost" and see if it prompts you to login. If so, it's working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
binary ftp trouble anmsg Linux - Networking 2 10-14-2004 11:51 PM
FTP Trouble. boardinglaxplr Debian 2 10-01-2004 09:34 PM
ftp trouble mvanadel Linux - Networking 2 06-30-2004 05:30 PM
Trouble with FTP RaistlnMjr Linux - Newbie 15 10-13-2002 11:30 PM
FTP trouble eweborg Linux - Networking 2 03-04-2002 10:14 PM

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

All times are GMT -5. The time now is 07:05 PM.

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