OpenWrt Forum Archive

Topic: How to configure vsftpd

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have a netgear WGT634U.
I have installed on it kamikaze 7.06 and it work correctly.
Now i have installed on it vsftpd (ftp server) to share an usb storage attacched on the router.
But i'm not able to configure it correcly.
When i try to login to the server it show me the folder /tmp
I want to show the folder /mnt/usb...

How can i do?

Than you

I think you've to add anon_root to /etc/vsftpd.conf. Something like:

anon_root=/mnt/usb...

Then restart the FTP server.

(Last edited by forum2006 on 15 Aug 2007, 19:49)

Thank you forum2006.
Now the ftp show me the correct path.

But i have an other question...

I want to show a path (/mnt/usb/read) when a user login on the server with anonymous.
I want to show this path like read only.
and if the user login on the server with correct user e password, i want that the server show an other path (/mnt/usb/write) and the user can write on it.

Is it possible?

Thank you

It would be good if you take a look at the vsftpd documentation and man page...

i have read, but it is not easy.

Can you halp me?

The discussion might have continued from here.