![]() |
HowTo.SetupFtpd HistoryHide minor edits - Show changes to markup December 29, 2009, at 07:14 AM
by -- Stop spurious wikilink
Changed lines 12-13 from:
to:
December 29, 2009, at 06:18 AM
by -- Revise and clarify introduction. Refactor. Change wikilinks from Unslung.* to Optware.*
Changed lines 1-6 from:
to:
IntroductionThe File Transfer Protocol (FTP) is a very basic file service, and it's natural that an NSLU2 should support it. There are many different modules which can provide FTP services on your NSLU2. The standard Linksys software includes a FTP module known as bftpd. As you add modules to your NSLU2, you will probably want to stop using this and use some other FTP service. FTP optionsThe Optware packages include many which support FTP.
See each of these module descriptions for how to install and configure them. How to turn off the built-in bftpd FTP serverNo matter which FTP option you choose, it will take the place of the bftpd (or bsftpd) built into the Linksys software. So, you should disable bftpd. This is most easily done by going to the NSL2? web interface. Under Administration / System, uncheck the box next to "Enable FTP Server". Then press the "Save" button. You can also check the file Troubleshooting
Historical notesHow to set up an inetutils FTP serverNotice: The inetutils Please disable the builtin bftpd server, and use Optware packages proftpd or vsftpd instead. November 25, 2007, at 07:38 PM
by -- edited ipkg inetutils to ipkg install
Changed lines 19-20 from:
to:
November 10, 2007, at 09:30 PM
by --
Changed lines 7-8 from:
(In standard circumstances: disable the builtin bsftpd / bftpd server first, easiest via the web frontend under Administration / System. /etc/inetd.conf should only have one line for ftp. Else, /etc/rc.d/rc.xinetd gives you "Unable to bind socket: address already in use. unable to listen to socket"! Note that ipkg install lsof, lsof | grep "lsof | grep LISTEN" is of help as fuser is only available for slugos with newer libraries.) to:
(In standard circumstances: disable the builtin bsftpd / bftpd server first, easiest via the web frontend under Administration / System. /etc/inetd.conf should only have one line for ftp. Else, /etc/rc.d/rc.xinetd gives you "Unable to bind socket: address already in use. unable to listen to socket"! Note that ipkg install lsof, "lsof | grep LISTEN" is of help as fuser is only available for slugos with newer libraries.) November 10, 2007, at 09:29 PM
by -- you probably should put that hint on vsftpd page too, which is password protected
Added lines 7-8:
(In standard circumstances: disable the builtin bsftpd / bftpd server first, easiest via the web frontend under Administration / System. /etc/inetd.conf should only have one line for ftp. Else, /etc/rc.d/rc.xinetd gives you "Unable to bind socket: address already in use. unable to listen to socket"! Note that ipkg install lsof, lsof | grep "lsof | grep LISTEN" is of help as fuser is only available for slugos with newer libraries.) June 11, 2005, at 10:02 PM
by --
Changed lines 5-6 from:
to:
June 11, 2005, at 10:02 PM
by --
Changed lines 5-6 from:
to:
Changed lines 15-16 from:
to:
Changed line 49 from:
Files that you upload do not have the correct permissions. This means they are not browsable via SAMBA on your windows box. to:
Files that you upload do not have the correct permissions. This means they are not browsable via Samba on your Windows box. Changed lines 58-59 from:
Installing ftpd on unslung 3.18-beta to:
Installing ftpd on Unslung 3.18-beta Deleted line 60:
June 11, 2005, at 05:39 PM
by --
Changed lines 3-6 from:
The inetutils Unless you have good reason to choose it over proftpd or vsftpd, stay away from it. to:
April 20, 2005, at 12:18 AM
by --
Changed lines 58-59 from:
A german tutorial can be found at http://www.ruhrpottserver.de/index.php/FTP-Server_einrichten to:
A German tutorial can be found at http://www.ruhrpottserver.de/index.php/FTP-Server_einrichten April 19, 2005, at 06:12 PM
by --
Changed lines 3-4 from:
The inetutils to:
March 29, 2005, at 06:15 AM
by --
Changed lines 55-56 from:
A german tutorial can be found at URL(http://www.ruhrpottserver.de/index.php/FTP-Server_einrichten) to:
A german tutorial can be found at http://www.ruhrpottserver.de/index.php/FTP-Server_einrichten March 29, 2005, at 06:14 AM
by --
Added line 52:
Added lines 54-55:
Installing ftpd on unslung 3.18-beta A german tutorial can be found at URL(http://www.ruhrpottserver.de/index.php/FTP-Server_einrichten) March 24, 2005, at 11:31 PM
by --
Added lines 5-6:
March 24, 2005, at 11:30 PM
by --
Added lines 1-4:
NoticeThe inetutils January 01, 2005, at 11:35 AM
by --
Changed line 44 from:
to:
January 01, 2005, at 11:35 AM
by --
Changed line 42 from:
to:
January 01, 2005, at 11:34 AM
by --
Changed line 42 from:
to:
Changed line 44 from:
to:
December 31, 2004, at 09:59 PM
by --
Added lines 15-26:
Note: There may be a few inconsistencies relating to the above steps. With my Unslung NSLU2 I had to modify the following: 3. ipkg install inetutils 4. cp /opt/libexec/ftpd /bin/ftpd Before performing any of the steps, it may be necessary to first telnet into the box and type "ipkg update" in order to update the package repository. December 15, 2004, at 12:37 AM
by --
Changed line 17 from:
Anonymous users will only have read only access. They may browse but not upload or download. to:
Anonymous users will only have read only access. They may browse but not upload or download. (If you follow the chmod 777 directions below, anonymous users will be able to do more. Only give out the security you want them to have!) December 15, 2004, at 12:33 AM
by --
Added lines 24-35:
Files that you upload do not have the correct permissions. This means they are not browsable via SAMBA on your windows box. to fix these :
December 05, 2004, at 04:53 AM
by --
Changed line 1 from:
Here are the instructions for setting up an ftp server on your unslung nslu2. to:
Here are the instructions for setting up an FTP server on your Unslung NSLU2. Changed line 3 from:
1) Get a running unslung nslu2 that you can log into. to:
Changed line 5 from:
2) telnet/ssh to the box to:
Changed line 7 from:
3) ipkg inetutils to:
Changed line 9 from:
4) cd /opt/libexec to:
Changed line 11 from:
5) cp armv5b-softfloat-linux-ftpd /bin/ftpd to:
Changed line 13 from:
6) cd /bin to:
Changed line 15 from:
7) chmod 777 ftpd to:
At this point you have a running ftpd server. If you FTP to your box, you will have full access to the entire NSLU2. Your external hard drive will be /share/hdd/data/public Changed line 17 from:
8) ftpd -D to:
Anonymous users will only have read only access. They may browse but not upload or download. Added line 19:
Users configured on your NSLU2 will be able to browse and upload/download to any directory they have been given access to. Changed lines 21-27 from:
At this point you have a running ftpd server. If you ftp to your box, you will have full access to the entire nslu2. Your external hard drive will be /share/hdd/data/public The anonymous user can log in and browse (all directories) but will not be able to upload or download. Users configured on your nslu2 will be able to log in and download and upload to whatever directories they have access to. This server will NOT be run automatically, if you reset your nslu2 the server will be turned off. to:
This server will NOT be run automatically, if you reset your NSLU2 you must restart the FTP daemon by running Deleted line 23:
December 03, 2004, at 08:39 PM
by --
Changed lines 1-29 from:
Describe SetupFtpd here. to:
Here are the instructions for setting up an ftp server on your unslung nslu2. 1) Get a running unslung nslu2 that you can log into. 2) telnet/ssh to the box 3) ipkg inetutils 4) cd /opt/libexec 5) cp armv5b-softfloat-linux-ftpd /bin/ftpd 6) cd /bin 7) chmod 777 ftpd 8) ftpd -D At this point you have a running ftpd server. If you ftp to your box, you will have full access to the entire nslu2. Your external hard drive will be /share/hdd/data/public The anonymous user can log in and browse (all directories) but will not be able to upload or download. Users configured on your nslu2 will be able to log in and download and upload to whatever directories they have access to. This server will NOT be run automatically, if you reset your nslu2 the server will be turned off. This method of running ftpd (ftpd -D) will run its own inet daemon, even through one is already running on the box.
view ·
edit ·
print ·
history ·
Last edited by Jim DeLaHunt.
Based on work by Jim DeLaHunt, nathankirkhamrocketmailcom, case, tman, bobtm, barrym, fossy, BattleTank, Troglodyte, and jrcoyne. Originally by jrcoyne. Page last modified on December 29, 2009, at 07:14 AM
|