LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-05-2005, 01:27 PM   #1
SolarBear
Member
 
Registered: Oct 2003
Location: Québec, Canada
Distribution: Gentoo 2005.0(desktop), Debian 3.0 r2 (server)
Posts: 105

Rep: Reputation: 15
FTPd help


Hi !

Right now, I'm looking for serious help on setting up my FTPd on my Debian box. I need something akin to "FTP daemons for dummies" because I've installed quite a few, followed a few tutorials I'd googled and up now, nada. I managed, once, to have a functional FTP server that allowed anonymous access. Period.

I've got config files from pretty much every ftpd around (wsftpd, vsftpd, pure-ftpd, etc.) but I'd never been able to set one up correctly.

So if you have suggestions on which daemon to choose as well as some good resources I could use, I'd be grateful.

Thanks a bunch !
 
Old 02-05-2005, 02:38 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Well, in my experience proftpd is the easiest to set up. You are absolutely right, I have found docs for all the ftpds very confusing.

My advice: try proftpd with one of the example configs that best suits your purpose then work on that to get it exactly right. If you have a specific question on configuration just ask...
 
Old 02-05-2005, 03:02 PM   #3
SolarBear
Member
 
Registered: Oct 2003
Location: Québec, Canada
Distribution: Gentoo 2005.0(desktop), Debian 3.0 r2 (server)
Posts: 105

Original Poster
Rep: Reputation: 15
Okay, first question :

trying with the sample virtual host config file, I put the following line :

<VirtualHost ftp.solarbear.org>

figuring it would listen on ftp.solarbear.org (heh).

Still...

Code:
solarbear:/etc# proftpd
 - getaddrinfo 'ftp.solarbear.org' error: Name or service not known
 - getaddrinfo 'ftp.solarbear.org' error: Name or service not known
 - warning: unable to determine IP address of 'ftp.solarbear.org'
localhost.localdomain - getaddrinfo 'ftp.solarbear.org' error: Name or service not known
localhost.localdomain - warning: unable to determine IP address of 'ftp.solarbear.org'
No luck. What am I doing wrong here ?
 
Old 02-05-2005, 03:07 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Do you have 'ftp.solarbear.org' properly setup in your DNS/host files? If not just drop the 'ftp.'
 
Old 02-05-2005, 04:14 PM   #5
goozlq
Member
 
Registered: Oct 2004
Location: Holland, Zaanstad
Distribution: Debian Sarge 3.1 / K 2.6 / KDE 3.3.2 / Pentium 3 512MB 20G / Amilo L7300 / P2 128MB 260GB
Posts: 31

Rep: Reputation: 15
Is the FTP server really running?
-Check this with top in the command line.

What may help is to install Webmin and to try to configure ProFTP with the web-interface.

At last:
Look at the .conf file of the FTP program. There can be some restrictions of the allowed hosts. Look for the part that has 127.0.0.0 in it.
Change that part or add your local network address like: 192.168.0.0

It worked for me some time ago.


PS. Maybe you can not login as root, which is a safe standard setting. Try another user, eventually in the group "root".
 
Old 02-07-2005, 02:22 AM   #6
SolarBear
Member
 
Registered: Oct 2003
Location: Québec, Canada
Distribution: Gentoo 2005.0(desktop), Debian 3.0 r2 (server)
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bulliver
Do you have 'ftp.solarbear.org' properly setup in your DNS/host files? If not just drop the 'ftp.'
Yeah, I'll need to add that to my DNS files... thanks for the heads up.

Quote:
Originally posted by goozlq
Is the FTP server really running?
-Check this with top in the command line.
It is running indeed ; it even mentions "accepting connections".

Quote:
What may help is to install Webmin and to try to configure ProFTP with the web-interface.
great idea !.... except webmin on my workstation can't detect webmin on the network for some reason (see my other thread).

Quote:
At last:
Look at the .conf file of the FTP program. There can be some restrictions of the allowed hosts. Look for the part that has 127.0.0.0 in it.
Change that part or add your local network address like: 192.168.0.0
No mention of allowed or restricted hosts in my config file.

I find it strange that something as complex as a webserver worked straight out of the box while a simple FTP one bugs me like hell.
 
  


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
FTPD default permissions (wu-ftpd) bd1308 Linux - Software 1 10-22-2005 06:01 AM
Disabling Kerberos ftpd for wu-ftpd mortisd Linux - Software 0 08-31-2004 05:37 AM
wu-ftpd jakublgz Linux - Networking 3 04-12-2002 02:33 PM
wu-ftpd hommih Linux - Networking 0 02-06-2002 07:06 PM
P-FTPD or W-FTPD bripage Linux - Networking 1 01-31-2002 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:14 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