Installing an FTP server on Linux
To transfer configuration files or OS images using FTP protocol, follow these procedures for installing or configuring an FTP server on various platforms. See the Device Adapter Capabilities report attached on Supported devices for a complete list of vendors supported by the product for FTP file transfers.
If you have an /etc/init.d/vsftpd script installed, ensure vsftpd
(the name of the FTP server on Linux) is already running. If you do not, administer it through xinetd
as follows:
# chkconfig xinetd on
# chkconfig vsftpd on
Warning
You must be running version 1.2 of vsftpd
to avoid FTP transfers that might hang. You also need to set the async_abor_enable flag to true in the vsftpd.conf file to enable the workaround in version 1.2.
On Mandrake Linux, no ftp group exists by default. Without a group named ftp, the vsftpd server does not allow file transfers. You can execute the following command to add the group:
# groupadd ftp
Important
You need to know the setting of the chroot_local_user
property in the vsftpd.conf file. Different versions of vsftpd
have different default values for chroot_local_user
. The setting of chroot_local_user
affects how you configure the FTP User Restricted to Home Directory parameter in the device agent editor. When chroot_local_user
is set to YES, select FTP User Restricted to Home Directory in the device agent; if chroot_local_user
is set to NO, deselect FTP User Restricted to Home Directory.
Comments