Linux - NetworkingThis 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.
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 know I've solved this one a million times, but I can't seem to find the right answer on any weblink. I guess I'm going to have to write the answer down this time.
I've installed a new linux slackware computer. I want to ftp to this computer using proftpd. I've enabled proftpd in inetd.conf. /etc/proftpd.conf specifies:
ServerType inetd
DefaultServer on
Port 21
Umask 022
MaxInstances 30
User bison
Group bison
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
<Directory /*>
AllowOverwrite on
</Directory>
I don't want anonymous ftp and the ftp user is listed in /etc/ftpusers. Does the ServerName matter in proftpd.conf? I've just got it set to an arbitrary string.
I've rebooted.
I can connect to port 21 remotely via telnet but if I try using ftp, I never get a login promt. It waits a while, then I get
421 Service not available, remote server has closed connection
I can connect to port 21 remotely via telnet but if I try using ftp, I never get a login promt. It waits a while, then I get
421 Service not available, remote server has closed connection
Please note that it's the inetd daemon that listens on port 21, so actually this is who responds to your telnet. In a normal ftp connection, it should pass control to the ftpd server.
Could you post the inetd.conf line where you call proftpd?
Also you can comment out that line, restart inetd, configure proftpd as standalone, start it and see if you can connect
Duh! I figured it out. It was a router issue. I'll have to say IMOH the Apple airport extreme is not all that easy to set up. The port forwarding dialog showed that I had ssh, http and ftp all forwarded. ssh and httpd worked fine, so I didn't think it could be a router issue. The problem is, the port forward dialog shows the forwarded ports (actually, descriptions, not the actual port numbers 22, 80, 21, respectively), but it does NOT show to which IP these are forwarded. You have to click on an Edit button which takes you to a subordinate dialog. This thought finally occured to me and I drove to the office in the middle of the night to check it out. Sure enough, the ftp port was not forwarded to the linux host, but the others were! I forwarded ftp to the correct host and voila!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.