Page 1 of 1
How to install an FTP Server in Porteus 3.1, thanks.
Posted: 13 Jun 2015, 20:14
by joejac
Hello,
1. First I would like to know your opinion about the best FTP
Server for Linux, with GUI if possible please
2. Then of course, how to install it in Porteus, a link to a tutorial is appreciated.
3. Please I also need to
shut off the wireless of my laptop, but unfortunately,
Function F9 that turns on/off the wireless in Windows 7, do not work in Porteus, this is
very important to me, I am very sensible to microwaves, sorry.
Best regards
joejac
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 13 Jun 2015, 20:34
by donald
3.
The answer depends on which DE you're using.
In xfce rightclick the network icon (in the panel) and uncheck "enable wireless"
There is a similar option in kde (click the icon) iirc.
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 13 Jun 2015, 21:23
by joejac
Thanks Donald,
I did it, but the light of WiFi is still on. "Enable Wi-Fi" is unchecked (off in Porteus NetworkManager Applet 0.9.8.8 ) "Enable Networking" has to have the check mark, I am using cable connection. I have Porteus LXQt.
By the way the laptop comes also with Bluetooth, I do not know how to disable this either, this can be forcing the transmitter light on. I have a couple of hours and my head is getting pretty hot and bad
Any more ideas?
Thanks and regards
joejac
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 13 Jun 2015, 21:58
by donald
Hmmm..when I uncheck wireless the usb-wifi Led goes off..
however, you could open a terminal, su to root, and type ifconfig -a.
Have a look at how your wifi is named.Should be wlan0 or ra0 etc.
(depends on the chipset and driver in use)
when you got the name, type (e.g.) ifconfig wlan0 down to switch it off.
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 14 Jun 2015, 03:53
by joejac
Hello Donald,
I turned down
eth1 and
lo, etho is cable, the Wi-Fi light is still on. Even if I open the file as root I can not save it, I guess not enough permissions. And I do not see the file rc.bluetooth in /etc/rc.d/ is not there. There is an rc.wireless file and rc.wireless.conf I tried to open rc.wireless.conf and I got "Failed to open file '/etc/rc.d/rc.wireless.conf': Permission denied" and rc.wireless has too much information for me, sorry
Code: Select all
root@porteus:/home/guest# ifconfig eth1 down
root@porteus:/home/guest# ifconfig lo down
Do you know who can help me with questions 1 and 2 above?
Thank you and regards
joejac
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 14 Jun 2015, 04:35
by donald
oops
do not turn down lo, this is the Loopback interface
turn down only the wifi.
yes, you are right, there is no rc.bluetooth..I will delete this paragraph
in my post to avoid confusion...thanks.
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 14 Jun 2015, 04:48
by joejac
donald wrote:oops
do not turn down lo, this is the Loopback interface
turn down only the wifi...
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 14 Jun 2015, 09:55
by fanthom
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 14 Jun 2015, 16:45
by joejac
fanthom wrote:
reference:
My deepest thanks fanthom! I issued as root:
rfkill block all and the Wi-Fi led went off
I have my head very bad
but I will recover soon.
Again Thanks a lot.
This have solved question No. 3.
Do you have an idea about the other questions?:
joejac wrote:1. First I would like to know your opinion about the best FTP
Server for Linux, with GUI if possible please
2. Then of course, how to install it in Porteus, a link to a tutorial is appreciate
Best regards
joejac
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 17 Jun 2015, 17:33
by cttan
Hi joejac,
You can download proftpd. But it is not GUI based.
Code: Select all
# usm -g proftpd
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) proftpd-1.3.4c-x86_64-1.txz
2) proftpd-1.3.4e-x86_64-1_slack14.1.txz
#? ^C
1. Modify the config files to accept anonymous login
My /etc/proftpd.conf
Code: Select all
# This is a basic ProFTPD configuration file.
# It establishes a single server and a single anonymous login.
# It assumes that you have a user/group "nobody" and "ftp"
# for normal/anonymous operation.
ServerName "ProFTPD Default Installation"
ServerType standalone
#ServerType inetd
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# This next option is required for NIS or NIS+ to work properly:
#PersistentPasswd off
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# A basic anonymous FTP server configuration.
# To enable this, remove the user ftp from /etc/ftpusers.
<Anonymous ~ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 50
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
<Directory pub/*>
<Limit WRITE>
AllowAll
</Limit>
# <Limit STOR>
# AllowAll
# </Limit>
</Directory>
# An upload directory that allows storing files but not retrieving
# or creating directories.
# <Directory incoming/*>
# <Limit READ>
# DenyAll
# </Limit>
#
# <Limit STOR>
# AllowAll
# </Limit>
# </Directory>
</Anonymous>
My /etc/ftpusers
Code: Select all
#
# ftpusers This file describes the names of the users that may
# _*NOT*_ log into the system via the FTP server.
# This usually includes "root", "uucp", "news" and the
# like, because those users have too much power to be
# allowed to do "just" FTP...
#
#
# Version: @(#)/etc/ftpusers 3.00 02/25/2001 volkerdi
#
# Original Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
#
# The entire line gets matched, so no comments or extra characters on
# lines containing a username.
#
# To enable anonymous FTP, remove the "ftp" user:
root
uucp
news
# End of ftpusers.
2. Make FTP public folder
mkdir -p /home/ftp/pub
chown ftp:ftp /home/ftp/pub
ln -s /home/ftp/pub /pub
3. Add FTP user, test and change the password to test1
useradd test -d /pub
echo test:test1 | chpasswd
4. Start the FTP server
proftpd &
5. Test using a FTP client build in Porteus.
gftp test:test1@localhost/pub &
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 17 Jun 2015, 18:05
by francois
Cttan,
You really are in great shape!
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 18 Jun 2015, 23:35
by cttan
Hi francois,
I try my best to float in the Linux world and share what I have learned.
Re: How to install an FTP Server in Porteus 3.1, thanks.
Posted: 20 Jun 2015, 04:12
by joejac
Thanks cttan,
But ftp via command line, no GUI? My head spin
Well I solved by other inefficient means because I was in a hurry to make backups.
Best regards
joejac