Trouble configuring vsftp
2 Attachment(s)
Using a Raspberry Pi w/ Debian
Read the manual and several "how-to"s and am getting nowhere vsftp is running and making a log file. I can get to the Pi with putty or SAMBA Ultimately want to be able to both(I) ftp in under the "pi" user to access files remotely and (II) have people sending me huge files ftp them in anonymously Have tried (I) the ftp client in Windows 7 Internet explorer 11, (ii) the ftp client in the Windows 7 "map network drive" UI, and (iii) ES file explorer on my Android phone. The android phone tells me there is no server there. Windows 7 gets no password challenge, gives no error indication, but does nothing useful. The vsftpd log file shows some attempt by the Windows machine, nothing for the Android. Config file and log file attached. The Android is trying to use port 21, the config file mentions something about port 20. Which ports do I need to forward in my router to enable remote access? Any help appreciated. Thanks. Jonathan |
Keeps getting worse
2 Attachment(s)
Trying more intelligent things, and now things are worse
shutdown -r "now" does not reboot /etc/init.d/vsftpd restart says the server is restarting, but looking at status immediately afterwards vsftpd is not running. I can see no indication of why vsftpd failed to start - is there another log file somewhere?? Updated .conf and .log files attached Any thoughts? Thanks Jonathan |
Not on a Pi so I can't help with "shutdown" but jfyi using your vsftpd.conf file on my machine yields:
Quote:
Code:
anon_roor=/home/pi/ftp/files/anon_home |
Thanks for the typo - looked at that a dozen times without seeing it. So vsftpd now starts successfully.
But no client connects to ftp (everything connects to SAMBA and putty on the pi, so I think the transport is probably okay), the messages I see from the client suggests the pi is not responding to connection requests. Worse still, now no log file entries are being made (that - at least - was happening a couple of days ago). and the value of connect through port 20 has no impact on the behavior. |
You have anonymous_enable=NO in the config file which disables anonymous logins. What username, password are you using to login into the Pi? Are you tryng to login through the router or your local LAN? Have you tried logging to ftp on the Pi itself?
Here is how FTP works and how port 20 fits in: http://www.jscape.com/blog/bid/80512...FTP-Simplified |
Many thanks for the link to the article - it will eventually be relevant to me, but as a first step, I am just going through the LAN, not out to the public internet and back in.
Trying to log in to the "pi" user - not seeing any challenge in the Windows client(s),and the Android ES file explorer collects UID/PWD before attempting to FTP; The windows clients work on a different ftp server on my LAN; the android thing is not working ... apparently separate issue What is the procedure for "logging to ftp on the Pi itself" Thanks |
If you are actually use a keyboard / monitor or connect via ssh just type in a terminal
Ftp localhost Use a real user and password at the prompts. |
OK, my issue was with the clients
a) the Windows GUI based stuff is ill-adapted to cooperating with the Pi. Turns out that if you refresh the "page" in IE after it fails, you get a password prompt which works b) the Android I think was just timing out too fast ... searching for the server worked (same info as I was typing in, now memorized properly) c) the Windows DOSBox command line ftp works just fine - should have thought to test this earlier So, on to my next configuration challenges ;-) Thanks again |
All times are GMT -5. The time now is 09:36 PM. |