![]() ![]() # Please see nf.5 for all compiled in defaults. ![]() # loosens things up a bit, to make the ftp daemon more usable. # The default compiled in settings are fairly paranoid. All I want to do is to set up a plain FTP server that the printer can connect to. If I use port 22 I get an "Access denied". If I use port 21 or any other I get an "ECONNREFUSED" error. So I downloaded FileZilla to test the FTP. Whenever I try to scan-to-ftp I get an connection error without further details. The only two things I am not sure about are passive mode and port. The Brother itself has following options: IP, user, password, destination folder, passive mode and port. "jens" is a real local user with permission to modify /Family/Scans. Third, created a file named /etc/vsftpd.chroot_list and added "jens" (the user the printer uses to connect to the FTP server). The Brother is supposed to save the scans in a directory named /Family/Scans. The aim is to set up an FTP server (only for the local network) so I can use the scan-to-ftp feature again. I changed the Qnap NAS to a Debian server. I am used to using a Qnap NAS as a FTP server for this task which worked fine. The only network feature it has is scan-to-ftp. Step 4: Troubleshooting ProFTPD:Īny available error messages will be stored in /var/log/proftpd/proftpd.log by default, you may check this file if your ProFTPD server installation isn’t working, you must also note that sometimes it happens that the ProFTPD server lags and you can’t access the server due to the “ Connection Refused” message, it is not a problem, all what you have to do is to keep restarting the ProFTPD server until it works (in case if there were no other errors).I have a Brother MFC-7460DN. $ sudo service proftpd restartĪnd now you can access it from the FTP server easily, you may also use Filezilla or any other FTP client to access your FTP server as well if you want. You can also define user home directory with useradd command, while creating a new users in Linux, for more information and usage of useradd command, read our article at. $ sudo usermod -m -d /var/www/ myproftpduser To change it’s home folder to /var/www/ run. To create a FTP user say “ myproftpduser” run. Proftpd Directory Listing Step 3: Creating ProFTPD UsersĪs you noticed, you are in the default home directory for the “ proftpd” user, which isn’t useful for us, thats why we are going to create a new user with the /var/www/ folder as the home folder, so we can access it easily. In the User Name filed write “ proftpd” and in the Password filed write the password that you set before for the proftpd user. You can now go to following addresses on the browser, it will be up and running, it will ask you about the user name and the password. $ sudo service proftpd restartĭuring ProFTPD installation, a default “ proftpd” user created automatically, but we’ll need to create a password for it, to do so, run. Now restart the ProFTPD server using this command. SystemLog: The default log file path, you may change it if you want.Īfter making above changes as suggested, you can save the file, press the “ ESC” key and write :x to save and quite.If you want, you can define any custom port here. Port: This line defines the default port for the FTP server, it is 21 by default.AuthOrder: Uncomment the line to enable the using of local passwords.RequireValidShell: Uncomment this line and make it “ On” to enable logging in for users, even for those who doesn’t have a valid shell in /etc/shells to log in.DefaultRoot : Uncomment this line to restrict users with their home folders.UseIPV6: You may switch it to “ Off“, if you don’t use it.ServerName: Make it your default server name.Now change the content of the file as shown it below. Press the “ I” key to start editing the file. Before start using it, we’ll need to edit some files, the /etc/proftpd/nf is the default configuration file for Ubuntu/Debian servers, to start editing it using the vi command, run. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |