Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I'm new to linux and I'm trying to configure a Slackware 9.1 box as an FTP server.
The problem is that I can't get a login sequence from a foreign machine. I can connect, but then I get nothing. When I type 'ftp localhost', I can log in just fine.
I'm configured right as far as I know...
In /etc/rc.d/rc.inet2:
code:# Start the inetd server:
if [ -x /usr/sbin/inetd ]; then
echo "Starting Internet super-server daemon: /usr/sbin/inetd"
/usr/sbin/inetd
else
echo "WARNING: /usr/sbin/inetd not found."
fi
Check and make sure that ProFTPD is actually listening on port 21, do:
"netstat -tpan | grep :21"
and make sure that inetd is listening on port 21. If this is the case, you might try specifying the full path to the ProFTPD bnary in inetd.conf (I'm not sure where all it looks for binaries). I don't use ProFTPD but make sure it's configured to allow people to actually log in.
I assume that means inetd is in fact listening on port 21.
Also, I know ProFTPD is accepting connections. I tried 'ftp localhost' and was able to login.
Are you by any chance trying to access it from behind a NAT firewall (or any type of firewall for that matter). NAT firewalls can cause problems with active (but not passive) FTP connections. In any case, you'll need to make sure your firewall is not blocking access to port 21 on the machine -- that seems the most likely problem given the symptoms you've described.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.