PDA

Bekijk de volledige versie : 1.9.2.7-10 FTP access problem



absolon
18-05-2008, 18:28
Hi. First of all I'm using Oleg only with web interface. I have problem with last firmware version. I cannot login to FTP accounts (private/public).

When I'm trying to login thru e.g. Windows Commander I got error message:

500 Oops: cannot change directory: /tmp/harddisk/ftp_pub

but df command shown different path (see below)


[root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
/dev/discs/disc0/part1 201269344 32 201269312 0% /tmp/mnt/disc0_1
/dev/discs/disc0/part2 42866976 32 42866944 0% /tmp/mnt/disc0_2


I never had shuch problems before (I used previous version Oleg firmware in past)
If anyone can help please write simple. All I know is how to run telent and login to router. That's all what I know about command line in linux :)

Thank you in advance

UPDATE:

I've figured it out. Strange, I had to manually create whole folders structure.



ftp_pub
ftp_pvt
| - user1
| - user2

In previous version when I created user in web-admin it create folder on harddrive with user name by itself.

wpte
19-05-2008, 11:53
I use also your firmware but I don''t have any problems.
You can change the location of the folders yourself, I have something like this:

Public Directory: /mnt/FTP/pub
Private Directory: /mnt/FTP/pvt
Anonymous Directory: /mnt/FTP/anonymous


note that you need to create these folders yourself!
so just do a mkdir to create one:)
the mountpoints seem to be ok;) just login with the super user account (if enabled) so just use the user name and pass you use to get to the webinterface. you''ll see, it works;)

if you are using the ftp server behind a firewall, dont forget to set the client to "active" instead of "passive".

lordu
22-09-2008, 10:04
500 Oops: cannot change directory: /tmp/harddisk/ftp_pub


So, you have tryed to mount disc_03 into tmp/harddisk, but, for some reasons, you didn't succed

Sugestion:
Remove mountpoint tmp/harddisk from your fstab. Then, your disk0_3 will be mounted into /tmp/mnt
Create directory structure as you like, from Windows Explorer (samba)
Declare this directorys into wl500's web interface, FTP section



Example:
Private dir : /FTP PVT -private
Public : /FTP PVT/FTP PUB -read/write
Anonimus: /FTP PVT/FTP PUB -read only

After, you can fallow raas HeadStart based on -10 firmware

http://www.wl500g.info/showthread.php?p=112117#post112117


Enjoy !