Donnerstag, 23. November 2017, 04:50 UTC+1

Sie sind nicht angemeldet.

  • Anmelden
  • Registrieren

Lieber Besucher, herzlich willkommen bei: NAS Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Dienstag, 8. Januar 2008, 20:54

[SOLVED] FTP Transfer & Connectivity is slow

Hello to the forum.
I have installed Tinky on my NAS 1000 and i notice that the FTP is not so' fast....and the ftp log not work....any suggestion???


this is the system log

Aug 15 00:19:01 BusyBox v1.00-rc3 (2006.12.01-02:09+0000)
Aug 15 01:19:05 crond 2.3.2 dillon, started, log level 8
Jan 8 20:34:45 BusyBox v1.00-rc3 (2006.12.01-02:09+0000)
Jan 08 20:34:51 ProFTPD 1.3.0a (stable) (built Sat Apr 21 19:30:44 Local time zone must be set--see zic manual page 2007) standalone mode STARTUP
Jan 08 20:34:52 ProFTPD killed (signal 15)
Jan 08 20:34:52 ProFTPD 1.3.0a standalone mode SHUTDOWN
Jan 08 20:34:53 ProFTPD 1.3.0a (stable) (built Sat Apr 21 19:30:44 Local time zone must be set--see zic manual page 2007) standalone mode STARTUP
Jan 8 20:34:54 /etc/exports [11]: No 'sync' or 'async' option specified for export "*:/mnt/IDE1/movie". Assuming default behaviour ('sync'). NOTE: this default has changed from previous versions
Jan 8 20:35:03 crond 2.3.2 dillon, started, log level 8
Jan 8 20:35:05 Power management is enabled !!!
Jan 8 20:35:05 BusyBox v1.00-rc3 (2006.12.01-02:09+0000)
Jan 8 20:35:05 crond 2.3.2 dillon, started, log level 8
Jan 8 20:39:16 PAM _pam_init_handlers: no default config /etc/pam.d/other
Jan 8 20:39:43 BusyBox v1.00-rc3 (2006.12.01-02:09+0000)
Jan 08 20:47:18 FTP session opened.
Jan 08 20:47:19 ANON anonymous: Login successful.
Jan 08 20:47:19 wtmp /var/log/wtmp: No such file or directory
Jan 08 19:47:19 Preparing to chroot to directory '/mnt/IDE1/guest-share'
Jan 08 19:48:01 notice: user guest-share: aborting transfer: Data connection closed.
Jan 08 19:48:01 notice: user guest-share: aborting transfer: Data connection closed.
Jan 08 19:48:02 wtmp /var/log/wtmp: No such file or directory
Jan 08 19:48:02 FTP session closed.
Jan 08 20:48:02 error opening scoreboard: bad/corrupted file
Jan 08 20:48:02 notice: unable to add scoreboard entry: Invalid argument
Jan 08 20:48:02 error rewinding scoreboard: Invalid argument
Jan 08 20:48:02 FTP session opened.
Jan 08 20:48:02 ANON anonymous: Login successful.
Jan 08 20:48:02 wtmp /var/log/wtmp: No such file or directory
Jan 08 19:48:02 Preparing to chroot to directory '/mnt/IDE1/guest-share'
Jan 08 19:48:02 error rewinding scoreboard: Invalid argument
Jan 08 19:48:45 wtmp /var/log/wtmp: No such file or directory
Jan 08 19:48:45 FTP session closed.
Jan 08 20:49:25 error opening scoreboard: bad/corrupted file
Jan 08 20:49:25 notice: unable to add scoreboard entry: Invalid argument
Jan 08 20:49:25 error rewinding scoreboard: Invalid argument
Jan 08 20:49:25 FTP session opened.
Jan 08 20:49:25 ANON anonymous: Login successful.
Jan 08 20:49:25 wtmp /var/log/wtmp: No such file or directory
Jan 08 19:49:25 Preparing to chroot to directory '/mnt/IDE1/guest-share'
Jan 08 19:49:25 error rewinding scoreboard: Invalid argument
Jan 8 20:52:15 PAM _pam_init_handlers: no default config /etc/pam.d/other


Thanks for this good job!!!!!

snoopy

NAS2000-Team

Beiträge: 467

Wohnort: Zu Hause

2

Dienstag, 15. Januar 2008, 09:27

RE: Info FTP

Might be cause of killed ProFTP process. Bu I can not see why.
--------------------------------------------------------------------------
Der Mensch ist das wichtigste und kostbarste Peripheriegerät einer Computeranlage.

myStuff: NAS2001+4220(1000Gb-ext3)+Dlink524+KabelD. (120 Mbit)

3

Mittwoch, 16. Januar 2008, 23:46

thanks for the answer....the same thing appens with original raidsonic firmware.....
....i hope in better new version.....

snoopy

NAS2000-Team

Beiträge: 467

Wohnort: Zu Hause

4

Samstag, 5. April 2008, 10:49

[solved?]

Hi, adding the line:


UseSendfile off

to your proftpd.cof file should solve the prob & provide the full speed to you and your friends.

Greetz. Snoopy
--------------------------------------------------------------------------
Der Mensch ist das wichtigste und kostbarste Peripheriegerät einer Computeranlage.

myStuff: NAS2001+4220(1000Gb-ext3)+Dlink524+KabelD. (120 Mbit)

5

Donnerstag, 17. April 2008, 09:10

...i am yery neewbie.....where is the file e in which way can i modify??....using notepad or ultraedit.....can i replace in the NAS???


Thank tou...i try it as soon as possible.....

Bye

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »videobelu« (17. April 2008, 20:07)


snoopy

NAS2000-Team

Beiträge: 467

Wohnort: Zu Hause

6

Donnerstag, 17. April 2008, 23:09

How 2 do it

Hi,

OK. I was a newbie times ago... just like you ;)

The following is needed 2 solve the problem:

1.) Download the do_it application (written by HWguru... thanks again!) form here

2.) open a (samba, ftp or child) connection to your Box and upload the do_it.tar.gz (you just downloaded) in IDE1/public/applications/new_software

3.) restart your box by Hardware Button or web-config (shut down and start)

4.) open the web-configuration (http://YourLocalIPofTheBox)

5.) look into the system-log. If the entry "unable to open delay table" (or something like this) is missing (you probably have seen that yet) the operation was successful and you will have the full speed up & download 2 and from your ICYBOX.

If not, there are several different ways 2 solve the prob. The described above is the very easy way to do so. Test it and if your Box is still at an easy rate post again.

If you are successful do the same, cause we want the feedback to know that it works.

If you want 2 take part in a little survey I am just carrying out, follow this link
There´s a riffle and you can win some little prices. Feel free to share the link with your friends.

May this be useful.

Greetz. Snoopy
--------------------------------------------------------------------------
Der Mensch ist das wichtigste und kostbarste Peripheriegerät einer Computeranlage.

myStuff: NAS2001+4220(1000Gb-ext3)+Dlink524+KabelD. (120 Mbit)

7

Donnerstag, 17. April 2008, 23:12

Thanks very very much....i try the procedure as soon as possible.........

snoopy

NAS2000-Team

Beiträge: 467

Wohnort: Zu Hause

8

Donnerstag, 17. April 2008, 23:18

RE: How 2 do it

I just have seen that your running system ist not the original one but TINKY. Do you know putty or winscp to make a child connection - logging on as "root" ?

If yes, simply open the dir usr/hddapp/etc and open the proftpd.conf with vi (putty) or modify (winscp-right klick) and add the line:

UseSenfile off

restart the BOX.

Thats it.
Snoopy
--------------------------------------------------------------------------
Der Mensch ist das wichtigste und kostbarste Peripheriegerät einer Computeranlage.

myStuff: NAS2001+4220(1000Gb-ext3)+Dlink524+KabelD. (120 Mbit)

9

Donnerstag, 17. April 2008, 23:28

I have do it now

this is the log

Time Message
Jan 19 13:13:55 BusyBox v1.00-rc3 (2006.12.01-02:09+0000)
Jan 19 14:14:00 crond 2.3.2 dillon, started, log level 8
Apr 17 23:24:12 BusyBox v1.00-rc3 (2006.12.01-02:09+0000)
Apr 17 23:24:18 ProFTPD 1.3.0a (stable) (built Sat Apr 21 19:30:44 Local time zone must be set--see zic manual page 2007) standalone mode STARTUP
Apr 17 23:24:19 ProFTPD killed (signal 15)
Apr 17 23:24:19 ProFTPD 1.3.0a standalone mode SHUTDOWN
Apr 17 23:24:19 ProFTPD 1.3.0a (stable) (built Sat Apr 21 19:30:44 Local time zone must be set--see zic manual page 2007) standalone mode STARTUP
Apr 17 23:24:20 /etc/exports [11]: No 'sync' or 'async' option specified for export "*:/mnt/IDE1/movie". Assuming default behaviour ('sync'). NOTE: this default has changed from previous versions
Apr 17 23:24:30 crond 2.3.2 dillon, started, log level 8
Apr 17 23:24:31 Power management is enabled !!!
Apr 17 23:24:32 BusyBox v1.00-rc3 (2006.12.01-02:09+0000)
Apr 17 23:24:32 crond 2.3.2 dillon, started, log level 8
Apr 17 23:25:09 PAM _pam_init_handlers: no default config /etc/pam.d/other


seem ok....now i try to use ftp and ....next day tell you the result

thanks you very much

10

Freitag, 18. April 2008, 10:50

HI ...i try this way...


How 2 do it

--------------------------------------------------------------------------------
Hi,

OK. I was a newbee times ago... just like you

The following is needed 2 solve the problem:

1.) Download the do_it application (written by HWguru... thanks again!) form here

2.) open a (samba, ftp or child) connection to your Box and upload the do_it.tar.gz (you just downloaded) in IDE1/public/applications/new_software

......but after using FTP from remote (very slow!!!) .......the ftp log not works
....the only way is reboot......

snoopy

NAS2000-Team

Beiträge: 467

Wohnort: Zu Hause

11

Freitag, 18. April 2008, 12:28

As I understand your post in this way... your ftp is still at an easy rate (very slow) you need to check up the proftpd.conf running on NAS.

This file is located in usr/hddapp/etc. To reach this folder you need to login as ROOT.

Do you have putty or winscp or some other tool installed on your PC to connect with your box and login as ROOT? If not do so. I recommend PUTTY (you can download from the www) cause we use it too.

The default password is "raidsonic".

Open the proftpd.conf with "VI" using putty (or "edit" by using WINSCP). Look for the entry "UseSendfile off".

Give me a feedback when you did so.

Greetings. Snoopy
--------------------------------------------------------------------------
Der Mensch ist das wichtigste und kostbarste Peripheriegerät einer Computeranlage.

myStuff: NAS2001+4220(1000Gb-ext3)+Dlink524+KabelD. (120 Mbit)

12

Freitag, 18. April 2008, 13:02

Thanks a lot for your help.....
I have WINSCP...i have modified the file (the passw for root is nas2000)
....now i am in remote .....away from NAS....i coonect the NAS
using DYNDNS.....after a few experiment with ftp.....the ftplog disappear and now also the web interface not works....only way is reboot...but i am not there.....is possible to do with winscp???


thanks

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »videobelu« (18. April 2008, 13:58)


13

Freitag, 18. April 2008, 14:08

OK now the speed seems good......i try more experiment.....and after tell you
the results.....thanks alot for now

I would try if ftplog works or not.......

snoopy

NAS2000-Team

Beiträge: 467

Wohnort: Zu Hause

14

Freitag, 18. April 2008, 15:20

Ah, I see! You can not reboot yor NAS - cause you are away. Well, if you use WINscp you have an icon to start a command window. Its (like) putty and it comes with WINSCP.

Log on the box

Edit the proftp.conf - add the line UseSendfile off (If not already done ;) )

then: stop the proftpd server (I just dont know if its the same on NAS2001 - I am using a NAS1000 so Check the path before!) with the following command:

/usr/hddapp/etc/rc.d/S91proftpd.sh stop

Right after that start the server

/usr/hddapp/etc/rc.d/S91proftpd.sh start

This should work and you do not need to restart the whole BOX.

Greetings. Snoopy
--------------------------------------------------------------------------
Der Mensch ist das wichtigste und kostbarste Peripheriegerät einer Computeranlage.

myStuff: NAS2001+4220(1000Gb-ext3)+Dlink524+KabelD. (120 Mbit)

15

Freitag, 18. April 2008, 16:24

I do it.....also mine is a NAS 1000....i send you mi proftp.conf so you may
send me other sugestion....thanks al lot
»videobelu« hat folgende Datei angehängt:
  • proftpd.zip (1,17 kB - 19 mal heruntergeladen - zuletzt: 8. August 2010, 18:35)

16

Freitag, 18. April 2008, 17:23

The speed seems ok...but the FTPlog on web page is always lost...!!!??

this is my system log

Apr 18 17:17:35 FTP session opened.
Apr 18 17:17:41 ANON anonymous: Login successful.
Apr 18 17:17:41 wtmp /var/log/wtmp: No such file or directory
Apr 18 15:17:41 Preparing to chroot to directory '/mnt/IDE1/guest-share'
Apr 18 17:18:29 authenticated mount request from 192.168.1.100:656 for /mnt/IDE1/movie (/mnt/IDE1/movie)
Apr 18 15:19:39 wtmp /var/log/wtmp: No such file or directory
Apr 18 15:19:39 FTP session closed.
Apr 18 17:20:09 PAM _pam_init_handlers: no default config /etc/pam.d/other


any ideas????

Thanks

snoopy

NAS2000-Team

Beiträge: 467

Wohnort: Zu Hause

17

Freitag, 18. April 2008, 18:51

Hi videobelu,

I found 3 problems, depending on your connectivity:

first of all you schould comment out (remove the "#")

#PassivePorts 60000 60100

second comment out

#UseReverseDNS off

and third: comment out

#IdentLookups off

OK. The speed problem is solved - as you said and the "UseSendfile off" is set correctly.

Well. The 3 hints above schould solve the problem of connectivity to your ICYBOX.

I will now close this topic, cause now we drift into an other topic and this fits not the Header you choosed- opening this threat.

if you have further questions, please send me an email, PN or open a new topic with fitting Header so other Users can find a posted solution by Heading-Search.

Greetz. Snoopy
--------------------------------------------------------------------------
Der Mensch ist das wichtigste und kostbarste Peripheriegerät einer Computeranlage.

myStuff: NAS2001+4220(1000Gb-ext3)+Dlink524+KabelD. (120 Mbit)