Post by danman1043 on Sept 18, 2008 17:44:15 GMT 7
Hi All - I posted this in the general forum, but thought I'd put it here as well due to a lack of response.
I am no stranger to IT but I am new at setting up FTP servers but it should be pretty straight forward.
I set the port up as 21 on the N4100+ and enabled FTP, I forwarded the port on the router etc (but this is irrelevant as I am testing the ftp from my own network).
As standard I have ACL turned off for simplicity. According to the manual, you type "Anonymous" in the user name field of your ftp client.
I have attempted to test my ftp connectivity using Core FTP and Leech FTP.
With both, when attempting to use "Anonymous" (I am aware that a password still needs to be supplied for the clients' sake) I get the error "421 unable to set up secure anonymous FTP"
If I use the account information for a user account I have set up ACL on the NAS for, (whether ACL is enabled or not) I get the following... Core: User *** OK: Cannot connect to home directory, aborting Leech: User *** OK: Authentication failed
Has anyone come across this before? Any ideas? Thanks in advance for any help or light you may be able to shed on the situation. Please let me know if you require any further information.
You can try normal FTP from a windoze box, call up the good old black screen (start/run/cmd/enter), then type ftp <IP addr>, where IP addr is the address of your thecus (without the <>) you should get prompt for user: and pass: use the username and password for a valid user on thecus first (before trying anonymous). If you get the "home dir" error, then use users home directory does not exist. To fix this, log onto thecus as the "root" user, #cd /home, then #mkdir <user>, where user is the name you're trying to use (without the <>). # is the root prompt, you don't need to type this.
Standard FTP port is 21. Your message indicates that You try to setup secure FTP, use plain FTP without TLS or without via SSH in passive mode. Try the filezilla client - leech has in anyway problems with bigger files.
If You use a firewall and a router port 21 is not enough, cause the data connections will use other ports. br Peter
Apologies for not responding. Thank you for your answers. I had actually given up on this...
I know this is a really old thread but thought I would resurrect it.
I had forgotten about FTP not working. But again I need it now.
Even internally I cannot get it to work. Many functions have never worked, for example mounting USB HDD's too. In the service folder admin page, it doesn't show the same as the other folders, i.e, not as a link. Also the photo, video and music folders (when mapped to the NAS not within my share, eg \\192.168.1.2 not \\192.168.1.2\share), these 3 service folder folders are also not available.
I went through factory resets and firmware updates ( allbeit to the same version) and never got anything to work.
Anyway, I digress.
I attempted FTP again today for the first time in many years. If I use anonymous, I get the same as before: "421 unable to set up secure anonymous FTP" but if I use an account, I get: "421 Home directory not available - aborting".
This is in gFTP, Ubuntu 11.04. Also that last message is replicated in firefox if I use my credentials.
I saw somewhere on this forum (for a 5200 though) someone could replicate this by removing the folder /raid/data/ftproot/
I believe this is probably the issue for me given my service folder issues.
Does anyone have any idea how I can create this directory or even check its presence please?
Last Edit: Oct 25, 2011 0:26:32 GMT 7 by danman1043