How to install an FTP Server in Porteus 3.1, thanks.
How to install an FTP Server in Porteus 3.1, thanks.
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
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
-
- Full of knowledge
- Posts: 2067
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: How to install an FTP Server in Porteus 3.1, thanks.
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.
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.
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
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
-
- Full of knowledge
- Posts: 2067
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: How to install an FTP Server in Porteus 3.1, thanks.
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.
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.
Last edited by donald on 14 Jun 2015, 04:36, edited 1 time in total.
Re: How to install an FTP Server in Porteus 3.1, thanks.
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
Do you know who can help me with questions 1 and 2 above?
Thank you and regards
joejac
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
Thank you and regards
joejac
-
- Full of knowledge
- Posts: 2067
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: How to install an FTP Server in Porteus 3.1, thanks.
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.
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.
donald wrote:oops
do not turn down lo, this is the Loopback interface
turn down only the wifi...
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: How to install an FTP Server in Porteus 3.1, thanks.
Code: Select all
rfkill block all
Code: Select all
man rfkill
Please add [Solved] to your thread title if the solution was found.
Re: How to install an FTP Server in Porteus 3.1, thanks.
My deepest thanks fanthom! I issued as root: rfkill block all and the Wi-Fi led went offfanthom wrote:reference:Code: Select all
rfkill block all
Code: Select all
man rfkill
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?:
Best regardsjoejac 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
joejac
-
- Shogun
- Posts: 333
- Joined: 26 Jan 2011, 16:15
- Distribution: Porteus 3.2 and 4.0 64bit KDE
- Location: Malaysia
Re: How to install an FTP Server in Porteus 3.1, thanks.
Hi joejac,
You can download proftpd. But it is not GUI based.
1. Modify the config files to accept anonymous login
My /etc/proftpd.conf
My /etc/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 &
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
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>
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.
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 &
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: How to install an FTP Server in Porteus 3.1, thanks.
Cttan,
You really are in great shape!
You really are in great shape!
Prendre son temps, profiter de celui qui passe.
-
- Shogun
- Posts: 333
- Joined: 26 Jan 2011, 16:15
- Distribution: Porteus 3.2 and 4.0 64bit KDE
- Location: Malaysia
Re: How to install an FTP Server in Porteus 3.1, thanks.
Hi francois,
I try my best to float in the Linux world and share what I have learned.
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.
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
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