| vsftpd Installation and Setup |
|
|
|
| Written by macsat | |
| Friday, 25 November 2005 | |
|
This is a step for step guide for installing and configuring the vsftpd ftp server on your ASUS WL device. If you are the lucky owner of any of the above devices, you have come to the right place. After following the steps in this guide, your ASUS WL device will have all its normal functionality, Guide Index1. Prerequisites - What is needed to get started.2. Installing and configuring needed software packages PrerequisitesAll you need is :Installing and configuring the needed Software PackagesThe needed package will be installed using the ipkg package management system. Since vsftpd is a (x)inetd demon, we need to install xinetd : ipkg install xinetd < enter > Now install the vsftpd package : ipkg install vsftpd < enter > At the of /opt/etc/vsftpd.conf add the following line: secure_chroot_dir=/opt/usr/share/empty create the dir mkdir -p /opt/usr/share/empty < enter > xinet.d will by default start a couple of services, that are not relevant on the wl-500g rm /opt/etc/xinetd.d/telnetd < enter > rm /opt/etc/xinetd.d/ftp-sensor < enter > Now create the vsftpd xinetd script : nano /opt/etc/xinetd.d/vsftp < enter > copy-paste the following content to the file. REMEMBER to change the username to the user that you use to login to your admin web pages on your router (admin is the default name) # description: The vsftpd FTP server serves FTP connections. # it uses normal, unencrypted usernames and passwords for auth service ftp { disable = no socket_type = stream user = admin server = /opt/sbin/vsftpd server_args = /opt/etc/vsftpd.conf wait = no nice = 10 only_from = 0.0.0.0/0 } To be able to start your vsftpd server, you should kill your stupid-ftpd server, if that is running : killall stupid-ftpd < enter > Now you can start your xinetd demon, and in that way also your vsftpd server by doing : /opt/etc/init.d/S10xinetd < enter > The vsftpd server is now started, and should restart upon reboot of your router :-) One of my readers have brought to my attention, that after following the guide, the ftp server kept rejecting him to login. He then reconnected his harddrive, and after that it worked. Maby worth a try if you are having problems getting it to work. Thanks to William de Wit for this input ! I hope you found this guide useful. |
|
| Last Updated ( Tuesday, 10 January 2006 ) |
| < Prev | Next > |
|---|







