What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

RT-AC68U FTP issues

ahasnaini

New Around Here
FTP server on AC68U is acting a bit weird.

1) Connecting for the first time always gives a timeout, but the second time it always connect.
Here is the log
Status: Connection established, waiting for welcome message...
Response: 220 Welcome to ASUS RT-AC68U FTP service.
Command: USER admin
Response: 331 Please specify the password.
Command: PASS ********
Response: 230 Login successful.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: EPRT
Response: EPSV
Response: MDTM
Response: PASV
Response: ICNV
Response: REST STREAM
Response: SIZE
Response: TVFS
Response: UTF8
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Error: Connection timed out
Error: Failed to retrieve directory listing

2) File transfer fails after a second or two
logs
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (31,48,190,241,121,142).
Command: RETR abc.mkv
Response: 0 Opening BINARY mode data connection for /tmp/mnt/ddrive/ddrive/M/B/abc.mkv (1464878889 bytes).
Error: File transfer failed after transferring 2369736 bytes in 2 seconds
Status: Starting download of /ddrive/ddrive/M/B/abc.mkv
Command: PASV
Response: 426 Failure writing network stream.
Command: PORT 192,168,2,105,212,117

I am running the lastest merlin beta 2
 
You're having a problem with passive mode. This usually indicates that your firewall hasn't been configured properly.

Also, I can see that you are connecting to your external (WAN) IP address. Is this intentional? Are you connecting from outside your LAN?

What happens if you connect locally? Your client appears to be on 192.168.2.105?
 
Last edited:
Enabling ports did make it work, is there a way to specify a range for ftp ports that will be used so I can enable them only
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top