PDA

View Full Version : FTP server error



Lightah
03-02-2005, 16:42
I've used search and read the howto but it isn't in there.

I have an external drive connected to the usb of the router.
200 gb maxtor NTFS

The first problem:
with admin / password i can login and see all the files on the harddisk
with any other user i created i get the error
534 home directory not found

The second problem:
if i'm logged in as admin and i transfer (up or down) a file it says:
501 Error in parameters
Transfer failed

what's the thing here?

Lightah
03-02-2005, 17:06
Well apperently i haven't searched good enough because i found something

put all in
ftp_pub

or smt

Lightah
03-02-2005, 17:18
Okay

now I can see the files with the usernames

but still can't do anything with it..

Oleg
03-02-2005, 17:42
Do not use NTFS, it's R/O, so functionality is VERY limited.

Lightah
03-02-2005, 18:08
Well....

Can't NTFS just read????

just for downloading from wan... (me uploading)

Oleg
03-02-2005, 18:22
Have you tried using different ftp client?
Does it work from LAN?

Lightah
03-02-2005, 18:30
FlashFXP from LAN:
257 "/Movies/" is current directory.
List (cached)
List Complete.
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (192,168,1,1,4,2)
RETR 1.avi
150 Opening BINARY mode data connection for '1.avi' (732633088 bytes).
501 Error in parameters.
Transfer Failed!

Filezilla from lan:
Status: Starting download of /Movies/m.avi
Command: TYPE I
Response: 200 Type set to I.
Command: PORT 192,168,1,4,10,164
Response: 200 PORT command successful.
Command: REST 0
Response: 350 Resume request successful.
Command: RETR m.avi
Response: 150 Opening BINARY mode data connection for 'm.avi' (734147454 bytes).
Response: 501 Error in parameters.

Oleg
03-02-2005, 19:16
do you've anything in the logs?

Lightah
03-02-2005, 19:21
only

Feb 3 20:19:47 FTP server: user Lightah logged in from 192.168.1.5

Oleg
03-02-2005, 19:22
Ok, the most important question - which firmware is in use?

Lightah
03-02-2005, 19:38
firmware version: 1.9.2.7
firmware release: 1.9.2.7-1

Oleg
03-02-2005, 19:44
well, checked sources. this is ntfs related problem, you will need to wait for next release or use stock firmware.

Oleg
03-02-2005, 19:58
check your PM as well. :)

Lightah
03-02-2005, 20:09
That's a stock firmware which can handle the harddisk?

Oleg
03-02-2005, 20:33
any version is capable.

Lightah
03-02-2005, 20:40
blablabla
Jan 1 01:00:03 kernel: NTFS: Unable to set blocksize 512.
blablabla
blablabla
Jan 1 01:00:08 kernel: Initializing USB Mass Storage driver...
Jan 1 01:00:08 kernel: usb.c: registered new driver usb-storage
Jan 1 01:00:08 kernel: USB Mass Storage support registered.
blablabla

connecting usb drive

Feb 3 21:36:29 kernel: hub.c: new USB device 00:04.0-1, assigned address 2
Feb 3 21:36:29 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Feb 3 21:36:29 kernel: Vendor: Maxtor 6 Model: B200P0 Rev: 0 0
Feb 3 21:36:29 kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 3 21:36:29 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Feb 3 21:36:29 kernel: SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
Feb 3 21:36:29 kernel: Partition check:
Feb 3 21:36:29 kernel: p1
Feb 3 21:36:34 kernel: VFS: Can't find ext3 filesystem on dev sd(8,1).
Feb 3 21:36:34 kernel: MSDOS FS: Using codepage 950
Feb 3 21:36:34 kernel: MSDOS FS: IO charset cp950
Feb 3 21:36:34 kernel: FAT: Did not find valid FSINFO signature.
Feb 3 21:36:34 kernel: Found signature1 0x4e0005 signature2 0xd6e80000 sector=1.
Feb 3 21:36:34 kernel: VFS: Can't find a valid FAT filesystem on dev 08:01.
Feb 3 21:36:34 kernel: FAT: freeing iocharset=cp950
Feb 3 21:36:34 kernel: FAT: Did not find valid FSINFO signature.
Feb 3 21:36:34 kernel: Found signature1 0x4e0005 signature2 0xd6e80000 sector=1.
Feb 3 21:36:34 kernel: VFS: Can't find a valid FAT filesystem on dev 08:01.
Feb 3 21:36:35 kernel: NTFS: Warning! NTFS volume version is Win2k+: Mounting read-only
Feb 3 21:36:35 USB storage: ntfs(ro) fs mounted to /tmp/harddisk
Feb 3 21:36:35 FTP server: daemon is started
Feb 3 21:37:36 FTP server: user Lightah logged in from 192.168.1.5


I can download now on this pc (LAN) from the routers ftp :D

is it locked to 512 kB/s? Or is that the router's performance limit

edit: and just tested that wan users can connect too