===============================
User ipkg-cl to install vsftpd.
1. install ipkg (first post)
2. run these cmds.
# cd /opt/tmp
# wget
http://ipkg.nslu2-linux.org/feeds/op...2-1_mipsel.ipk
# ipkg-cl install vsftpd_2.2.2-1_mipsel.ipk
# rm vsftpd_2.2.2-1_mipsel.ipk
3. edit vsftpd.conf
# cd /opt/etc
# mv vsftpd.conf vsftpd.conf.ori
# touch vsftpd.conf
# vi vsftpd.conf
(press i for insert, then copy and paste following lines)
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
vsftpd_log_file=/opt/var/log/vsftpd.log
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=Welcome to My PBO.
ls_recurse_enable=YES
listen=YES
ftp_username=nobody
(then press ESC and type :wq! to exit vi editor)
added: make the log directory
# mkdir -p /opt/var/log
4. start vsftpd
# /opt/bin/vsftpd /opt/etc/vsftpd.conf &
5. auto start vsftpd at boot
add this line to the end of /usr/local/etc/rcS
/opt/bin/vsftpd /opt/etc/vsftpd.conf &
6. login
from DOS:
c:\> ftp venus
user: anonymous
password:
anything@anything.com
or use any ftp client you like. (FireFTP is a nice Firefox extension)
Note:
1. you need to have the internal hard disk installed for all this.
2. above is installed vsftpd as a standalone ftp server with anonymous enabled, you might modify vsftpd.conf to enable login.
3. i wrote this out of my memory, could be typo there, let me know if you have any trouble following.