Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FTP protocol problem
2016-12-27, 19:40
Post: #7
RE: FTP protocol problem
(2016-12-27 19:31)NiKiZe Wrote:  
(2016-12-27 19:08)iosif_matei Wrote:  FTP 0x27794 received status 200
FTP 0x27794 sending SIZE /sda/ipxe/modules/liveiso/tinycore/tinycore.iso
FTP 0x27794 received status 550
FTP 0x27794 sending PASV
FTP 0x27794 received status 227
FTP 0x27794 sending RETR /sda/ipxe/modules/liveiso/tinycore/tinycore.iso
FTP 0x27794 received status 150
100%

After all this debug info is displayed i need to wait 5 min and tinycore boot .

I would have expected you to see a FTP close as well before seeing the boot.
Could you try the same thing with HTTP?

Looking on those FTP commands you have SIZE with a 550 response, no size means that ipxe can't pre-allocate a buffer to fit the file so it will need to remap the local memory for each packet received, this might very well be the issue causing the delay.

I would have tried with http or a different FTP server implementation that supports the size command to compare the speed.

I did try boot with another router that have OpenWRT installed and I noticed that instead of """status 550"" the openwrt ftp replyed with ""status 213 "" and the file size . Maybe something is wrong in the vsftpd.conf file .
Here is the content of vsftpd.conf :

anonymous_enable=NO
nopriv_user=root
write_enable=YES
local_enable=YES
chroot_local_user=YES
local_umask=000
dirmessage_enable=NO
xferlog_enable=NO
syslog_enable=NO
connect_from_port_20=YES
use_localtime=YES
listen=YES
pasv_enable=YES
ssl_enable=NO
tcp_wrappers=NO
max_clients=9
ftp_username=anonymous
ftpd_banner=Welcome to ASUS RT-N18U FTP service.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
FTP protocol problem - iosif_matei - 2016-12-24, 14:16
RE: FTP protocol problem - NiKiZe - 2016-12-25, 19:47
RE: FTP protocol problem - NiKiZe - 2016-12-27, 15:24
RE: FTP protocol problem - NiKiZe - 2016-12-27, 19:31
RE: FTP protocol problem - iosif_matei - 2016-12-27 19:40
RE: FTP protocol problem - NiKiZe - 2016-12-27, 20:08
RE: FTP protocol problem - NiKiZe - 2016-12-27, 23:00
RE: FTP protocol problem - NiKiZe - 2016-12-27, 23:22
RE: FTP protocol problem - NiKiZe - 2016-12-29, 12:29



User(s) browsing this thread: 3 Guest(s)